From 46f116def0c42215f4073741ffdbe42c211ef6a6 Mon Sep 17 00:00:00 2001 From: Asutorufa Date: Tue, 10 Dec 2024 13:12:34 +0000 Subject: [PATCH] deploy: yuhaiin/yuhaiin-react@e91cad8c3e5396d250e9a59e7b5b08e7437cb9ec --- 404.html | 2 +- 404/index.html | 2 +- _next/static/chunks/112-f25b419fcf5c4983.js | 1 + _next/static/chunks/145-9df4052ef502cfd1.js | 1 - _next/static/chunks/190-6a852a88197bd3ec.js | 1 + _next/static/chunks/190-f2a0ef357f96a8d0.js | 1 - _next/static/chunks/306-dbe962c571aef3ab.js | 1 - ...340-5d384bd6bf75ec53.js => 340-7692152ec330eb92.js} | 2 +- _next/static/chunks/347-8f0150f2d8d489b0.js | 1 - _next/static/chunks/375-52ec0affffdac139.js | 1 + _next/static/chunks/376-62ad2f1ee5ef349c.js | 1 - _next/static/chunks/392-4c91a2b8ad700123.js | 1 - _next/static/chunks/681-98f771bce319b29e.js | 1 + _next/static/chunks/698-8793f705150b3e8c.js | 1 - _next/static/chunks/734-c496d915c5550947.js | 1 - _next/static/chunks/863-310b872d1fe82a60.js | 1 + _next/static/chunks/863-f3d5b783a0f7c754.js | 1 - _next/static/chunks/922-502c405a536f7842.js | 1 + _next/static/chunks/923-d163b95e50725223.js | 1 - _next/static/chunks/969-7a9cf562ff46728f.js | 1 + _next/static/chunks/995-cbcf5fbb16c93355.js | 1 - .../app/docs/bypass/block/page-6be7bf111bddb962.js | 1 + .../app/docs/bypass/block/page-983d96e3b97b2b43.js | 1 - .../chunks/app/docs/bypass/page-933ac4351dc7b6bd.js | 1 + .../chunks/app/docs/bypass/page-e6b788eb02e44a0e.js | 1 - .../app/docs/bypass/test/page-84d52857baf2c037.js | 1 - .../app/docs/bypass/test/page-dd14eb347fa06f79.js | 1 + .../app/docs/config/about/page-9e327cef5d150e0e.js | 1 + .../app/docs/config/about/page-e1bcd57fa49d13db.js | 1 - .../app/docs/config/inbounds/page-357ca99e1969c921.js | 1 - .../app/docs/config/inbounds/page-5f8e89c64d0d9e95.js | 1 + .../chunks/app/docs/config/page-30588aca839ea681.js | 1 - .../chunks/app/docs/config/page-fb8b19cec5ea0e60.js | 1 + .../docs/connections/failed/page-6e6fbeb2d3f1d635.js | 1 - .../docs/connections/failed/page-e4efc6d1fca7f08c.js | 1 + .../app/docs/connections/page-019e7d2048640179.js | 1 + .../app/docs/connections/page-5f44073f511200ca.js | 1 - .../chunks/app/docs/group/page-1e657329e64932b4.js | 1 + .../chunks/app/docs/group/page-3a3d5c6a3c456395.js | 1 - .../chunks/app/docs/subscribe/page-4ad9b12bd6635096.js | 1 - .../chunks/app/docs/subscribe/page-c22b7159fbbaa9d0.js | 1 + .../chunks/app/docs/tag/page-422f94f7dd04c501.js | 1 - .../chunks/app/docs/tag/page-f7d0d0334d473695.js | 1 + .../chunks/app/docs/webui/page-270cf575227966d0.js | 1 - .../chunks/app/docs/webui/page-9683aee09706e66c.js | 1 + _next/static/chunks/app/layout-44477b5deafae6cb.js | 1 + _next/static/chunks/app/layout-77724a14572beb8f.js | 1 - _next/static/chunks/app/page-13f84e18ea7bc760.js | 1 - _next/static/chunks/app/page-51d2dc7d6ab14c2c.js | 1 + ...5968a889513f40e8.js => webpack-2dcb55085e4ed709.js} | 2 +- .../_buildManifest.js | 0 .../_ssgManifest.js | 0 docs/bypass/block/index.html | 2 +- docs/bypass/block/index.txt | 10 +++++----- docs/bypass/index.html | 2 +- docs/bypass/index.txt | 10 +++++----- docs/bypass/test/index.html | 2 +- docs/bypass/test/index.txt | 10 +++++----- docs/config/about/index.html | 2 +- docs/config/about/index.txt | 10 +++++----- docs/config/inbounds/index.html | 2 +- docs/config/inbounds/index.txt | 10 +++++----- docs/config/index.html | 2 +- docs/config/index.txt | 10 +++++----- docs/connections/failed/index.html | 2 +- docs/connections/failed/index.txt | 10 +++++----- docs/connections/index.html | 2 +- docs/connections/index.txt | 10 +++++----- docs/group/index.html | 2 +- docs/group/index.txt | 10 +++++----- docs/subscribe/index.html | 2 +- docs/subscribe/index.txt | 10 +++++----- docs/tag/index.html | 2 +- docs/tag/index.txt | 10 +++++----- docs/webui/index.html | 2 +- docs/webui/index.txt | 10 +++++----- index.html | 2 +- index.txt | 10 +++++----- 78 files changed, 103 insertions(+), 107 deletions(-) create mode 100644 _next/static/chunks/112-f25b419fcf5c4983.js delete mode 100644 _next/static/chunks/145-9df4052ef502cfd1.js create mode 100644 _next/static/chunks/190-6a852a88197bd3ec.js delete mode 100644 _next/static/chunks/190-f2a0ef357f96a8d0.js delete mode 100644 _next/static/chunks/306-dbe962c571aef3ab.js rename _next/static/chunks/{340-5d384bd6bf75ec53.js => 340-7692152ec330eb92.js} (88%) delete mode 100644 _next/static/chunks/347-8f0150f2d8d489b0.js create mode 100644 _next/static/chunks/375-52ec0affffdac139.js delete mode 100644 _next/static/chunks/376-62ad2f1ee5ef349c.js delete mode 100644 _next/static/chunks/392-4c91a2b8ad700123.js create mode 100644 _next/static/chunks/681-98f771bce319b29e.js delete mode 100644 _next/static/chunks/698-8793f705150b3e8c.js delete mode 100644 _next/static/chunks/734-c496d915c5550947.js create mode 100644 _next/static/chunks/863-310b872d1fe82a60.js delete mode 100644 _next/static/chunks/863-f3d5b783a0f7c754.js create mode 100644 _next/static/chunks/922-502c405a536f7842.js delete mode 100644 _next/static/chunks/923-d163b95e50725223.js create mode 100644 _next/static/chunks/969-7a9cf562ff46728f.js delete mode 100644 _next/static/chunks/995-cbcf5fbb16c93355.js create mode 100644 _next/static/chunks/app/docs/bypass/block/page-6be7bf111bddb962.js delete mode 100644 _next/static/chunks/app/docs/bypass/block/page-983d96e3b97b2b43.js create mode 100644 _next/static/chunks/app/docs/bypass/page-933ac4351dc7b6bd.js delete mode 100644 _next/static/chunks/app/docs/bypass/page-e6b788eb02e44a0e.js delete mode 100644 _next/static/chunks/app/docs/bypass/test/page-84d52857baf2c037.js create mode 100644 _next/static/chunks/app/docs/bypass/test/page-dd14eb347fa06f79.js create mode 100644 _next/static/chunks/app/docs/config/about/page-9e327cef5d150e0e.js delete mode 100644 _next/static/chunks/app/docs/config/about/page-e1bcd57fa49d13db.js delete mode 100644 _next/static/chunks/app/docs/config/inbounds/page-357ca99e1969c921.js create mode 100644 _next/static/chunks/app/docs/config/inbounds/page-5f8e89c64d0d9e95.js delete mode 100644 _next/static/chunks/app/docs/config/page-30588aca839ea681.js create mode 100644 _next/static/chunks/app/docs/config/page-fb8b19cec5ea0e60.js delete mode 100644 _next/static/chunks/app/docs/connections/failed/page-6e6fbeb2d3f1d635.js create mode 100644 _next/static/chunks/app/docs/connections/failed/page-e4efc6d1fca7f08c.js create mode 100644 _next/static/chunks/app/docs/connections/page-019e7d2048640179.js delete mode 100644 _next/static/chunks/app/docs/connections/page-5f44073f511200ca.js create mode 100644 _next/static/chunks/app/docs/group/page-1e657329e64932b4.js delete mode 100644 _next/static/chunks/app/docs/group/page-3a3d5c6a3c456395.js delete mode 100644 _next/static/chunks/app/docs/subscribe/page-4ad9b12bd6635096.js create mode 100644 _next/static/chunks/app/docs/subscribe/page-c22b7159fbbaa9d0.js delete mode 100644 _next/static/chunks/app/docs/tag/page-422f94f7dd04c501.js create mode 100644 _next/static/chunks/app/docs/tag/page-f7d0d0334d473695.js delete mode 100644 _next/static/chunks/app/docs/webui/page-270cf575227966d0.js create mode 100644 _next/static/chunks/app/docs/webui/page-9683aee09706e66c.js create mode 100644 _next/static/chunks/app/layout-44477b5deafae6cb.js delete mode 100644 _next/static/chunks/app/layout-77724a14572beb8f.js delete mode 100644 _next/static/chunks/app/page-13f84e18ea7bc760.js create mode 100644 _next/static/chunks/app/page-51d2dc7d6ab14c2c.js rename _next/static/chunks/{webpack-5968a889513f40e8.js => webpack-2dcb55085e4ed709.js} (96%) rename _next/static/{CE9E0xKFn1F7O966DkvJx => q72O8UwDnyj2qlt-A6G9N}/_buildManifest.js (100%) rename _next/static/{CE9E0xKFn1F7O966DkvJx => q72O8UwDnyj2qlt-A6G9N}/_ssgManifest.js (100%) diff --git a/404.html b/404.html index 362fd6aa..a93182c6 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 362fd6aa..a93182c6 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/112-f25b419fcf5c4983.js b/_next/static/chunks/112-f25b419fcf5c4983.js new file mode 100644 index 00000000..d33d13d5 --- /dev/null +++ b/_next/static/chunks/112-f25b419fcf5c4983.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[112],{7294:(e,a,s)=>{s.d(a,{R:()=>h,O:()=>d});var l=s(2115),r=s(4995),n=s(6788),t=s(4395),o=s(9297);let c=(0,n.w)("ChF0b29scy90b29scy5wcm90bxINeXVoYWlpbi50b29scyI6CgpJbnRlcmZhY2VzEiwKCmludGVyZmFjZXMYASADKAsyGC55dWhhaWluLnRvb2xzLkludGVyZmFjZSIsCglJbnRlcmZhY2USDAoEbmFtZRgBIAEoCRIRCglhZGRyZXNzZXMYAiADKAkySwoFdG9vbHMSQgoNZ2V0X2ludGVyZmFjZRIWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRoZLnl1aGFpaW4udG9vbHMuSW50ZXJmYWNlc0IvWi1naXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3MvdG9vbHNiBnByb3RvMw",[o.t]),u=(0,t.Z)(c,0);var i=s(8927);let d=(0,l.createContext)([]);function h(){let{data:e}=(0,r.Ay)("/interfaces",(0,i.AD)(u.method.get_interface),{revalidateOnFocus:!1});return e?e.interfaces:[]}},2859:(e,a,s)=>{s.d(a,{$:()=>o});var l=s(5155),r=s(6180),n=s(6121),t=s(3667);let o=e=>{let{label:a,checked:s,onChange:o}=e;return(0,l.jsxs)(r.A.Group,{as:n.A,className:"mb-2",children:[(0,l.jsx)(r.A.Label,{column:!0,sm:2,children:a}),(0,l.jsx)(t.A,{sm:10,className:"d-flex align-items-center",children:(0,l.jsx)(r.A.Check,{className:"d-flex align-items-center",type:"switch",checked:s,onChange:e=>o(e.target.checked)})})]})}},148:(e,a,s)=>{s.d(a,{u:()=>o,y:()=>c});var l=s(5155),r=s(2115),n=s(1757),t=s(491);let o=(0,r.createContext)({Info:e=>{},Error:e=>{}}),c=e=>{let{children:a}=e,[s,c]=(0,r.useState)([]),u=(e,a)=>c(s=>[...s,{text:e,type:a}]);return(0,l.jsxs)(o.Provider,{value:{Info:e=>{console.log(e),u(e,"success")},Error:e=>{console.error(e),u(e,"danger")}},children:[(0,l.jsx)(n.A,{className:"p-3",position:"top-center",containerPosition:"fixed",style:{zIndex:999999},children:s.map((e,a)=>(0,l.jsxs)(t.A,{role:"alert","aria-live":"assertive",show:!0,bg:e.type,onClose:()=>{c(e=>[...e.slice(0,a),...e.slice(a+1)])},"aria-atomic":"true",delay:4e3,autohide:!0,animation:!0,children:[(0,l.jsxs)(t.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)(t.A.Body,{className:"text-center",children:e.text})]},"toast"+a))}),a]})}},1731:(e,a,s)=>{s.d(a,{E:()=>eo,y:()=>et});var l=s(5155),r=s(3577),n=s(9093),t=s(4504),o=s(1936),c=s(2115),u=s(2963),i=s(0),d=s(8143),h=s(3614),v=s(9637),m=s(6180),p=s(4995),x=s(7294),j=s(9169),b=s(8927),g=s(148),C=s(57),y=s(8003),w=s(7204),A=s(1703);let N=e=>{let{value:a,onChange:s}=e,r=(0,c.useContext)(x.O);return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(w.a9,{label:"Network Interface",value:a.networkInterface,onChange:e=>{s({...a,networkInterface:e})},reminds:r.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)})})},f=(0,l.jsx)("div",{className:"text-center my-2",style:{opacity:"0.4"},children:" Drop"});var k=s(2859);let I=e=>(0,l.jsx)(E,{value:e.value,onChange:e.onChange}),E=e=>{let{value:a,onChange:s,showEnabled:r}=e;return(0,l.jsxs)(l.Fragment,{children:[(void 0===r||r)&&(0,l.jsx)(k.$,{label:"TLS Enabled",checked:a.enable,onChange:()=>{s({...a,enable:!a.enable})}}),(0,l.jsx)(k.$,{label:"InsecureSkipVerify",checked:a.insecureSkipVerify,onChange:()=>{s({...a,insecureSkipVerify:!a.insecureSkipVerify})}}),(0,l.jsx)(w.e9,{title:"ServerNames",data:a.serverNames,onChange:e=>{s({...a,serverNames:e})}}),(0,l.jsx)(w.e9,{title:"NextProtos",data:a.nextProtos,onChange:e=>{s({...a,nextProtos:e})}}),(0,l.jsx)(w.n4,{title:"CaCert",textarea:!0,data:a.caCert,onChange:e=>{s({...a,caCert:e})}})]})},S=e=>{var a;let{value:s,onChange:n}=e;return(0,l.jsx)(E,{value:null!==(a=s.tls)&&void 0!==a?a:(0,r.v)(A.Qi,{}),onChange:e=>{n({...s,tls:e})}})},P=e=>{let{value:a,onChange:s}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(w.a9,{label:"User",value:a.user,onChange:e=>{s({...a,user:e})}}),(0,l.jsx)(w.a9,{label:"Password",value:a.password,onChange:e=>{s({...a,password:e})}})]})},F=e=>{let{value:a,onChange:s}=e;return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(w.a9,{label:"Concurrency",value:a.concurrency,onChange:e=>{isNaN(Number(e))||s({...a,concurrency:Number(e)})}})})},H=e=>{let{value:a,onChange:s}=e;return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(w.a9,{label:"Concurrency",value:a.concurrency,onChange:e=>{isNaN(Number(e))||s({...a,concurrency:Number(e)})}})})},O=(0,l.jsx)("div",{className:"text-center my-2",style:{opacity:"0.4"},children:"None"}),R=e=>{var a;let{value:s,onChange:n}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(w.a9,{label:"Host",value:s.host,onChange:e=>{n({...s,host:e})}}),(0,l.jsx)(E,{showEnabled:!1,value:null!==(a=s.tls)&&void 0!==a?a:(0,r.v)(A.Qi,{}),onChange:e=>{n({...s,tls:e})}})]})},W=e=>{let{value:a,onChange:s}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(k.$,{label:"Debug",checked:a.debug,onChange:()=>{s({...a,debug:!a.debug})}}),(0,l.jsx)(w.a9,{label:"PublicKey",value:a.publicKey,onChange:e=>{s({...a,publicKey:e})}}),(0,l.jsx)(w.a9,{label:"ServerName",value:a.serverName,onChange:e=>{s({...a,serverName:e})}}),(0,l.jsx)(w.a9,{label:"ShortId",value:a.shortId,onChange:e=>{s({...a,shortId:e})}})]})},Q=(0,l.jsx)("div",{className:"text-center my-2",style:{opacity:"0.4"},children:"Reject"}),B=e=>{let{value:a,onChange:s}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(w.a9,{label:"Method",value:a.method,onChange:e=>{s({...a,method:e})}}),(0,l.jsx)(w.a9,{label:"Password",value:a.password,onChange:e=>{s({...a,password:e})}})]})},Y=e=>{let{value:a,onChange:s}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(w.a9,{label:"Host",value:a.host,onChange:e=>{s({...a,host:e})}}),(0,l.jsx)(w.a9,{label:"Port",value:a.port,onChange:e=>{s({...a,port:e})}})]})},Z=e=>{let{value:a,onChange:s}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(w.a9,{label:"Server",value:a.server,onChange:e=>{s({...a,server:e})}}),(0,l.jsx)(w.a9,{label:"Port",value:a.port,onChange:e=>{s({...a,port:e})}}),(0,l.jsx)(w.a9,{label:"Method",value:a.method,placeholder:"chacha20-ietf",onChange:e=>{s({...a,method:e})}}),(0,l.jsx)(w.a9,{label:"Protocol",value:a.protocol,placeholder:"auth_aes128_sha1",onChange:e=>{s({...a,protocol:e})}}),(0,l.jsx)(w.a9,{label:"ProtocolParam",value:a.protoparam,onChange:e=>{s({...a,protoparam:e})}}),(0,l.jsx)(w.a9,{label:"Obfs",value:a.obfs,placeholder:"http_post",onChange:e=>{s({...a,obfs:e})}}),(0,l.jsx)(w.a9,{label:"ObfsParam",value:a.obfsparam,placeholder:"#name=v",onChange:e=>{s({...a,obfsparam:e})}})]})};var L=s(6121),D=s(3667);let K=e=>{let{title:a,data:s,onChange:n}=e;return(0,l.jsxs)(m.A.Group,{as:L.A,className:"mb-3 flex-grow-1 overflow-auto",children:[(0,l.jsx)(m.A.Label,{column:!0,sm:2,className:"nowrap",children:a}),s&&s.map((e,a)=>(0,l.jsx)(D.A,{sm:{span:10,offset:0!==a?2:0},children:(0,l.jsx)(y.A,{className:"mb-2",children:(0,l.jsx)(w.mc,{title:"Host",onClose:()=>{s&&n([...s.slice(0,a),...s.slice(a+1)])},children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(w.a9,{label:"Host",value:e.host,onChange:l=>{n([...s.slice(0,a),{...e,host:l},...s.slice(a+1)])}}),(0,l.jsx)(w.a9,{label:"Port",value:e.port,onChange:l=>{isNaN(Number(l))||0>Number(l)||Number(l)>65535||n([...s.slice(0,a),{...e,port:Number(l)},...s.slice(a+1)])}})]})})})},a)),(0,l.jsx)(D.A,{sm:{span:10,offset:(null==s?void 0:s.length)!==0?2:0},children:(0,l.jsx)(y.A,{className:"mb-2 justify-content-md-end",children:(0,l.jsx)(u.A,{variant:"outline-success",onClick:()=>{n([...s,(0,r.v)(A.g3,{})])},children:(0,l.jsx)("i",{className:"bi bi-plus-lg"})})})})]})},G=e=>{let{value:a,onChange:s}=e,r=(0,c.useContext)(x.O);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(w.a9,{label:"Host",value:a.host,onChange:e=>{s({...a,host:e})}}),(0,l.jsx)(w.a9,{label:"Network Interface",value:a.networkInterface,onChange:e=>{s({...a,networkInterface:e})},reminds:r.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,l.jsx)(w.a9,{label:"Port",value:a.port,onChange:e=>{let l=Number(e);isNaN(l)||l>65535||l<0||s({...a,port:l})}}),(0,l.jsx)(K,{title:"AlternateHost",data:a.alternateHost,onChange:e=>{s({...a,alternateHost:e})}})]})},M=e=>{let{value:a,onChange:s}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(w.a9,{label:"Hostname",value:a.hostname,placeholder:"127.0.0.1",onChange:e=>{s({...a,hostname:e})}}),(0,l.jsx)(w.a9,{label:"User",value:a.user,onChange:e=>{s({...a,user:e})}}),(0,l.jsx)(w.a9,{label:"Password",value:a.password,onChange:e=>{s({...a,password:e})}}),(0,l.jsx)(w.a9,{label:"Override Port",value:a.overridePort,onChange:e=>{let l=Number(e);isNaN(l)||l>65535||l<0||s({...a,overridePort:l})}})]})},X=e=>{let{value:a,onChange:s}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(w.a9,{label:"Password",value:a.password,onChange:e=>{s({...a,password:e})}}),(0,l.jsx)(w.a9,{label:"Peer",value:a.peer,onChange:e=>{s({...a,peer:e})}})]})},q=e=>{let{value:a,onChange:s}=e;return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(w.a9,{label:"UUID",value:a.uuid,onChange:e=>{s({...a,uuid:e})}})})},T=e=>{let{value:a,onChange:s}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(w.a9,{label:"AlterId",value:a.alterId,onChange:e=>{s({...a,alterId:e})}}),(0,l.jsx)(w.a9,{label:"Security",value:a.security,placeholder:"chacha20-poly1305",onChange:e=>{s({...a,security:e})}}),(0,l.jsx)(w.a9,{label:"UUID",value:a.uuid,placeholder:"9d5031b6-4ef5-11ee-be56-0242ac120002",onChange:e=>{s({...a,uuid:e})}})]})},_=e=>{let{value:a,onChange:s}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(w.a9,{label:"Host",value:a.host,onChange:e=>{s({...a,host:e})}}),(0,l.jsx)(w.a9,{label:"Path",value:a.path,onChange:e=>{s({...a,path:e})}})]})},V=e=>{let{title:a,data:s,onChange:n}=e;return(0,l.jsxs)(m.A.Group,{as:L.A,className:"mb-3",children:[(0,l.jsx)(m.A.Label,{column:!0,sm:2,className:"nowrap",children:a}),s&&s.map((e,a)=>(0,l.jsx)(D.A,{sm:{span:10,offset:0!==a?2:0},children:(0,l.jsx)(y.A,{className:"mb-2",children:(0,l.jsx)(w.mc,{title:"Peer",onClose:()=>{n([...s.slice(0,a),...s.slice(a+1)])},children:(0,l.jsx)(U,{value:e,onChange:e=>{n([...s.slice(0,a),e,...s.slice(a+1)])}})})})},a)),(0,l.jsx)(D.A,{sm:{span:10,offset:(null==s?void 0:s.length)!==0?2:0},children:(0,l.jsx)(y.A,{className:"mb-2 justify-content-md-end",children:(0,l.jsx)(u.A,{variant:"outline-success",onClick:()=>{n([...s,(0,r.v)(A.GL,{allowedIps:["0.0.0.0/0"],endpoint:"127.0.0.1:51820",publicKey:"SHVqHEGI7k2+OQ/oWMmWY2EQObbRQjRBdDPimh0h1WY="})])},children:(0,l.jsx)("i",{className:"bi bi-plus-lg"})})})})]})},U=e=>{let{value:a,onChange:s}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(w.a9,{label:"Endpoint",value:a.endpoint,onChange:e=>{s({...a,endpoint:e})}}),(0,l.jsx)(w.a9,{label:"PublicKey",value:a.publicKey,onChange:e=>{s({...a,publicKey:e})}}),(0,l.jsx)(w.e9,{title:"AllowedIps",data:a.allowedIps,onChange:e=>{s({...a,allowedIps:e})}})]})},J=e=>{let{value:a,onChange:s}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(w.a9,{label:"SecretKey",value:a.secretKey,placeholder:"SHVqHEGI7k2+OQ/oWMmWY2EQObbRQjRBdDPimh0h1WY=",onChange:e=>{s({...a,secretKey:e})}}),(0,l.jsx)(w.a9,{label:"MTU",value:a.mtu,onChange:e=>{isNaN(Number(e))||s({...a,mtu:Number(e)})}}),(0,l.jsx)(w.a9,{label:"IdleTimeout",value:a.idleTimeout,onChange:e=>{isNaN(Number(e))||s({...a,idleTimeout:Number(e)})}}),(0,l.jsx)(w.a9,{label:"Reserved",value:btoa(String.fromCharCode.apply(null,a.reserved)),onChange:e=>{s({...a,reserved:Uint8Array.from(atob(e),e=>e.charCodeAt(0))})}}),(0,l.jsx)(w.e9,{title:"Endpoint",data:a.endpoint,onChange:e=>{s({...a,endpoint:e})}}),(0,l.jsx)(V,{title:"Peers",data:a.peers,onChange:e=>{s({...a,peers:e})}})]})},z=e=>{let{value:a,onChange:s}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(k.$,{label:"TCP Encrypt",checked:a.tcpEncrypt,onChange:()=>{s({...a,tcpEncrypt:!a.tcpEncrypt})}}),(0,l.jsx)(k.$,{label:"UDP Encrypt",checked:a.udpEncrypt,onChange:()=>{s({...a,udpEncrypt:!a.udpEncrypt})}}),(0,l.jsx)(k.$,{label:"UdpOverStream",checked:a.udpOverStream,onChange:()=>{s({...a,udpOverStream:!a.udpOverStream})}}),(0,l.jsx)(w.a9,{label:"Password",value:a.password,onChange:e=>{s({...a,password:e})}})]})},$=e=>{let{value:a,onChange:s,groups:r}=e,[n,t]=(0,c.useState)({value:"simple"});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(w.a9,{label:"Name",value:a.name,onChange:e=>{s({...a,name:e})}}),(0,l.jsx)(w.a9,{label:"Group",value:a.group,onChange:e=>{s({...a,group:e})},reminds:r?r.map(e=>new w.mI({label:e,value:e})):void 0}),(0,l.jsx)(w.a9,{label:"Hash",value:a.hash,onChange:e=>{s({...a,hash:e})}}),a.protocols.map((e,r)=>{var n;return(0,l.jsx)(w.mc,{title:null!==(n=e.protocol.case)&&void 0!==n?n:"Unknown",onClose:()=>s({...a,protocols:[...a.protocols.slice(0,r),...a.protocols.slice(r+1)]}),moveUpDown:new w.fH(a.protocols,r,e=>{s({...a,protocols:e})}),children:(0,l.jsx)(ee,{value:a.protocols[r],onChange:e=>{s({...a,protocols:[...a.protocols.slice(0,r),e,...a.protocols.slice(r+1)]})}})},r)}),(0,l.jsx)(C.A,{variant:"flush",children:(0,l.jsx)(C.A.Item,{children:(0,l.jsxs)(y.A,{children:[(0,l.jsx)(m.A.Select,{value:n.value,onChange:e=>{t({value:e.target.value})},children:Object.keys(el).map(e=>(0,l.jsx)("option",{value:e,children:e},e))}),(0,l.jsx)(u.A,{variant:"outline-secondary",onClick:()=>{console.log("click adddd"),s({...a,protocols:[...a.protocols,el[n.value]]})},children:"Add"})]})})})]})},ee=e=>{let{value:a,onChange:s}=e,r=e=>s({...a,protocol:{case:a.protocol.case,value:e}}),n=a.protocol;switch(n.case){case"simple":return(0,l.jsx)(G,{value:n.value,onChange:e=>r(e)});case"direct":return(0,l.jsx)(N,{value:n.value,onChange:e=>r(e)});case"drop":return f;case"tls":return(0,l.jsx)(I,{value:n.value,onChange:e=>r(e)});case"websocket":return(0,l.jsx)(_,{value:n.value,onChange:e=>r(e)});case"shadowsocks":return(0,l.jsx)(B,{value:n.value,onChange:e=>r(e)});case"quic":return(0,l.jsx)(R,{value:n.value,onChange:e=>r(e)});case"vless":return(0,l.jsx)(q,{value:n.value,onChange:e=>r(e)});case"vmess":return(0,l.jsx)(T,{value:n.value,onChange:e=>r(e)});case"trojan":return(0,l.jsx)(X,{value:n.value,onChange:e=>r(e)});case"shadowsocksr":return(0,l.jsx)(Z,{value:n.value,onChange:e=>r(e)});case"obfsHttp":return(0,l.jsx)(Y,{value:n.value,onChange:e=>r(e)});case"none":return O;case"socks5":return(0,l.jsx)(M,{value:n.value,onChange:e=>r(e)});case"http":return(0,l.jsx)(P,{value:n.value,onChange:e=>r(e)});case"reject":return Q;case"yuubinsya":return(0,l.jsx)(z,{value:n.value,onChange:e=>r(e)});case"grpc":return(0,l.jsx)(S,{value:n.value,onChange:e=>r(e)});case"http2":return(0,l.jsx)(F,{value:n.value,onChange:e=>r(e)});case"reality":return(0,l.jsx)(W,{value:n.value,onChange:e=>r(e)});case"wireguard":return(0,l.jsx)(J,{value:n.value,onChange:e=>r(e)});case"mux":return(0,l.jsx)(H,{value:n.value,onChange:e=>r(e)});default:return ea}},ea=(0,l.jsx)("div",{className:"text-center my-2",style:{opacity:"0.4"},children:"Not Implement"}),es=(0,r.v)(A.Qi,{enable:!1,caCert:[new TextEncoder().encode("-----CERTIFICATE-----\n MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQD4MVvq8SAOzdeE\n SUfehAij/kdTYKPfuc+5SBTNSykilsGsY1mEu4qS6Abc/8bfRM7e9+4bAkA9rSma\n p9Rza0YWNwdYQD3j3vuFlR6ic6tTYN7estRGGFOoI5MxA8OsYDbWNnO/3jYlErtn\n XUqDK5iABtBYNsSrLEc/Y2iISCm0zIT7Bfn3gzboggbqx5bpWjT5HmMRZmezl6EB\n y6HjCSIgZzP2v3yOfOVcu70vKABD3X1bzaKEn86rXNra0TZkqvB9vPv1PsBrELrO\n JxFRrAZylgeShzXgBXWjZKyj/toZ7FJLDv896sW/LuQarQufIcluisO++Xkz/EwQ\n VuXURFENAgMBAAECggEAIuOnaPfD+qjHiNZXVsmnQExswOUHLFpdv81I9VIBQpZA\n PAhMS3skoAGjg1omXfj5fsEKFPxkRPdMb6vzktUL6XALZYXEXX3ZTD456/rIJQSr\n V9F6Qy9ExVBY7u05SshMtSC69Ugawuvm8cEcyiMtASRUEe6DB5AGJPxHs863JC3M\n Dcb5nNYPGjFCsahkwz4rQq/eQQI0j+8TZlHtPFjTCgqMblk2qR/vwkfTI6Wv/rO6\n YZ+M3xXpYc4j1qcHz5PFxIh3kZMgP/GdqLf+l5O4JaFv2aqxEmCjTHq3rAlxJeiV\n tCT5xYCwYzZtZkZq5jPP6CruNbO+L8iyLYHgLAgmsQKBgQD+Pw5nO2FR7arAMR4I\n K+bK2fFWfBTSkMRJrVqtbjr3LIjRGbGmqaF0HjR/8ZNxmyHBPmG35rfUw32NIAFc\n q9nqXVgeL07CXRadYaMoVys3mukMiQSnuycA5se5uNXk/8bulaudLX0Q605GDWto\n 29W3CnWyuz1qNGRZHYZ0Duyk3QKBgQD5550WA/5Fwco2WosDqNBCetf3GZazwtKU\n 46Dk1QEXeGYrw3p/o42+nNuawqqxbKhH/OJarir8oT4amXMaf60M3tRjj/DYRLx1\n WS9LkuU9bWSRFIpdJxC4BWi9IPCOsfbF0Cui9nD5dXCE6YwoQEXZ8OhE8+y+2fHU\n OULeYZVB8QKBgQDYtnrad3zuzry68aL9qB4jTj4uT7mX+hm2C3O9XLYaNfWw9ku9\n Gd4rEgwB+rKJJYhSJZA5pwmO68s63csLaNhosoQHxp9FgP9jyvO90P9feEWpj6lO\n J3KJjC02G10GwxaYCy+q3Dk8kLW5dHrXeHrkeJ/2Zy9kNaBLbaVLi+UeaQKBgQDo\n +GsRIxfgoBCLK019U9sSnsLGsSw02OLHuo07xvcFklBtbAa/BxIVKNXxKJlIXitj\n MPUz5Dpe2VK0KWmMwono/bKyPnYgp7OpEkNtCLx8z4Z5WdTDkq+bXi+OYS7hWDbd\n onuLqIMZi8ohnjfzLjfwPQ3LejqykStI1TjpZ79lgQKBgQDJAQe8Wnn2+QbWSbda\n NFGyG+hs7SkqqZmEQl3nA5kyAeOSsGtJG9tiLxDE52eMUM1iL6wNPQMDkROp3yRg\n 7muJLMjiVeLFxXUyCXKj11W1VER5i16RsuWW3m5aGxumaXw4TJviJzT/dnwHe+x9\n pWZqcBJfEUP6uTLSp3CmyEPcfA==\n -----CERTIFICATE-----")],insecureSkipVerify:!1,nextProtos:["h2"],serverNames:["www.example.com"]}),el={simple:(0,r.v)(A._1,{protocol:{case:"simple",value:(0,r.v)(A.sT,{host:"",alternateHost:[],port:1080})}}),none:(0,r.v)(A._1,{protocol:{case:"none",value:(0,r.v)(A.YZ,{})}}),websocket:(0,r.v)(A._1,{protocol:{case:"websocket",value:(0,r.v)(A.BP,{host:"www.example.com",path:"/msg"})}}),quic:(0,r.v)(A._1,{protocol:{case:"quic",value:(0,r.v)(A.sn,{tls:es})}}),shadowsocks:(0,r.v)(A._1,{protocol:{case:"shadowsocks",value:(0,r.v)(A.t0,{method:"CHACHA20-IETF-POLY1305",password:"password"})}}),obfshttp:(0,r.v)(A._1,{protocol:{case:"obfsHttp",value:(0,r.v)(A.F7,{host:"www.example.com",port:"443"})}}),shadowsocksr:(0,r.v)(A._1,{protocol:{case:"shadowsocksr",value:(0,r.v)(A.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,r.v)(A._1,{protocol:{case:"vmess",value:(0,r.v)(A.s2,{alterId:"0",security:"chacha20-poly1305",uuid:"9d5031b6-4ef5-11ee-be56-0242ac120002"})}}),trojan:(0,r.v)(A._1,{protocol:{case:"trojan",value:(0,r.v)(A.SD,{password:"password",peer:"peer"})}}),socks5:(0,r.v)(A._1,{protocol:{case:"socks5",value:(0,r.v)(A.AK,{hostname:"127.0.0.1:1080",password:"password",user:"username"})}}),http:(0,r.v)(A._1,{protocol:{case:"http",value:(0,r.v)(A.UM,{password:"password",user:"username"})}}),direct:(0,r.v)(A._1,{protocol:{case:"direct",value:(0,r.v)(A.bw,{})}}),yuubinsya:(0,r.v)(A._1,{protocol:{case:"yuubinsya",value:(0,r.v)(A.lA,{tcpEncrypt:!0,udpEncrypt:!0,password:"password",udpOverStream:!1})}}),tls:(0,r.v)(A._1,{protocol:{case:"tls",value:es}}),wireguard:(0,r.v)(A._1,{protocol:{case:"wireguard",value:(0,r.v)(A.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,r.v)(A._1,{protocol:{case:"mux",value:(0,r.v)(A.gE,{concurrency:8})}}),drop:(0,r.v)(A._1,{protocol:{case:"drop",value:(0,r.v)(A.fO,{})}}),vless:(0,r.v)(A._1,{protocol:{case:"vless",value:(0,r.v)(A.X_,{uuid:"c48619fe-8f02-49e0-b9e9-edf763e17e21"})}}),grpc:(0,r.v)(A._1,{protocol:{case:"grpc",value:(0,r.v)(A.E_,{tls:es})}}),http2:(0,r.v)(A._1,{protocol:{case:"http2",value:(0,r.v)(A.ql,{concurrency:8})}}),reality:(0,r.v)(A._1,{protocol:{case:"reality",value:(0,r.v)(A.K0,{debug:!1,publicKey:"SHVqHEGI7k2+OQ/oWMmWY2EQObbRQjRBdDPimh0h1WY=",serverName:"127.0.0.1",shortId:"9d5031b6-4ef5-11ee-be56-0242ac120002"})}})};var er=s(9969),en=s(2049);let et=e=>{let{hash:a,point:s,editable:t,show:m,onHide:C,onSave:y,groups:w,onDelete:A,isNew:N}=e,f=(0,c.useContext)(g.u),[k,I]=(0,c.useState)({show:!1,data:""}),E=(0,x.R)(),{data:S,error:P,isLoading:F,isValidating:H,mutate:O}=(0,p.Ay)(""===a?void 0:"/node",(0,b.AD)(er.rH.method.get,"POST",(0,r.v)(o.g8,{value:a}),s),{shouldRetryOnError:!1,keepPreviousData:!1,revalidateOnFocus:!1});return(0,c.useEffect)(()=>{O()},[a]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(eo,{show:k.show,data:k.data,plaintext:!0,onHide:()=>I({...k,show:!1})}),(0,l.jsxs)(i.A,{show:!k.show&&m,scrollable:!0,"aria-labelledby":"contained-modal-title-vcenter",size:"xl",onHide:()=>{C()},centered:!0,children:[(0,l.jsx)(i.A.Header,{closeButton:!0,children:(0,l.jsx)(i.A.Title,{id:"contained-modal-title-vcenter",children:a})}),(0,l.jsx)(i.A.Body,{children:(0,l.jsx)("fieldset",{disabled:!t,children:P?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("h4",{className:"text-center my-2",children:[P.code," - ",P.msg]}),(0,l.jsx)("pre",{className:"text-center my-2 text-danger lead",children:P.raw})]}):H||F||!S?(0,l.jsx)(j.A,{}):(0,l.jsx)(x.O,{value:E,children:(0,l.jsx)($,{value:S,groups:w,onChange:e=>{t&&O(e,!1)}})})})}),(0,l.jsxs)(i.A.Footer,{children:[A&&(0,l.jsxs)(d.A,{onSelect:e=>{"ok"===e&&A&&(C(),A())},as:h.A,variant:"outline-danger",title:"Remove",children:[(0,l.jsx)(v.A.Item,{eventKey:"ok",children:"OK"}),(0,l.jsx)(v.A.Item,{eventKey:"cancel",children:"Cancel"})]}),!P&&!H&&!F&&S&&(0,l.jsx)(u.A,{variant:"outline-primary",onClick:()=>{I({show:!0,data:(0,n.J7)(en.Ac,S,{prettySpaces:2})})},children:"JSON"}),(0,l.jsx)(u.A,{variant:"outline-secondary",onClick:()=>{C()},children:"Close"}),(0,l.jsx)(()=>t?(0,l.jsx)(u.A,{variant:"outline-primary",disabled:H||F||P||!t,onClick:()=>{S&&(N&&(S.hash=""),(0,b.kP)(er.rH.method.save,"/node","PATCH",S).then(async e=>{let{error:a}=e;a?f.Error(a.msg):(f.Info("save successful"),y&&y())}))},children:"Save"}):(0,l.jsx)(l.Fragment,{}),{})]})]})]})},eo=e=>{let a=(0,c.useContext)(g.u),[s,r]=(0,c.useState)({data:""});return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)(i.A,{show:e.show,"aria-labelledby":"contained-modal-title-vcenter",size:"xl",onHide:()=>{e.onHide()},centered:!0,children:[!e.plaintext&&(0,l.jsx)(i.A.Header,{closeButton:!0,children:(0,l.jsx)(i.A.Title,{id:"contained-modal-title-vcenter",children:"Import JSON"})}),(0,l.jsx)(i.A.Body,{children:(0,l.jsx)(m.A.Control,{as:"textarea",readOnly:e.plaintext,value:e.data?e.data:s.data,style:{height:"65vh",fontFamily:"monospace"},onChange:e=>{r({data:e.target.value})}})}),(0,l.jsxs)(i.A.Footer,{children:[(0,l.jsx)(u.A,{variant:"outline-secondary",onClick:()=>{e.onHide()},children:"Close"}),(0,l.jsx)(()=>e.onSave?(0,l.jsx)(u.A,{variant:"outline-primary",onClick:()=>{let l=(0,t.mj)(en.Ac,s.data);e.isNew&&(l.hash=""),(0,b.kP)(er.rH.method.save,"/node","PATCH",l).then(async s=>{let{error:l}=s;void 0===l?(a.Info("save successful"),void 0!==e.onSave&&e.onSave()):a.Error(l.msg)})},children:"Save"}):(0,l.jsx)(l.Fragment,{}),{})]})]})})}}}]); \ No newline at end of file diff --git a/_next/static/chunks/145-9df4052ef502cfd1.js b/_next/static/chunks/145-9df4052ef502cfd1.js deleted file mode 100644 index 43562867..00000000 --- a/_next/static/chunks/145-9df4052ef502cfd1.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,{tA:()=>a,rH:()=>n,bT:()=>C,hf:()=>m,B1:()=>E,Tc:()=>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)("Cg9ub2RlL25vZGUucHJvdG8SDHl1aGFpaW4ubm9kZSLpAQoEbm9kZRIhCgN0Y3AYBCABKAsyFC55dWhhaWluLnBvaW50LnBvaW50EiEKA3VkcBgFIAEoCzIULnl1aGFpaW4ucG9pbnQucG9pbnQSLAoFbGlua3MYAiADKAsyHS55dWhhaWluLm5vZGUubm9kZS5MaW5rc0VudHJ5EiYKB21hbmFnZXIYAyABKAsyFS55dWhhaWluLm5vZGUubWFuYWdlchpFCgpMaW5rc0VudHJ5EgsKA2tleRgBIAEoCRImCgV2YWx1ZRgCIAEoCzIXLnl1aGFpaW4uc3Vic2NyaWJlLmxpbms6AjgBInkKBW5vZGVzEkAKB25vZGVzVjIYAyADKAsyIC55dWhhaWluLm5vZGUubm9kZXMuTm9kZXNWMkVudHJ5Ug1ub2RlX2hhc2hfbWFwGi4KDE5vZGVzVjJFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIvsCCgdtYW5hZ2VyEkYKCGdyb3Vwc1YyGAIgAygLMiMueXVoYWlpbi5ub2RlLm1hbmFnZXIuR3JvdXBzVjJFbnRyeVIPZ3JvdXBfbm9kZXNfbWFwEi8KBW5vZGVzGAMgAygLMiAueXVoYWlpbi5ub2RlLm1hbmFnZXIuTm9kZXNFbnRyeRItCgR0YWdzGAQgAygLMh8ueXVoYWlpbi5ub2RlLm1hbmFnZXIuVGFnc0VudHJ5GkQKDUdyb3Vwc1YyRW50cnkSCwoDa2V5GAEgASgJEiIKBXZhbHVlGAIgASgLMhMueXVoYWlpbi5ub2RlLm5vZGVzOgI4ARpCCgpOb2Rlc0VudHJ5EgsKA2tleRgBIAEoCRIjCgV2YWx1ZRgCIAEoCzIULnl1aGFpaW4ucG9pbnQucG9pbnQ6AjgBGj4KCVRhZ3NFbnRyeRILCgNrZXkYASABKAkSIAoFdmFsdWUYAiABKAsyES55dWhhaWluLnRhZy50YWdzOgI4AUIuWixnaXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3Mvbm9kZWIGcHJvdG8z",[G.AB,R.YJ,B.Y$]);var I=l(2197);let o=(0,b.w)("ChRub2RlL2dycGMvbm9kZS5wcm90bxIbeXVoYWlpbi5wcm90b3Mubm9kZS5zZXJ2aWNlIlAKCG5vd19yZXNwEiEKA3RjcBgBIAEoCzIULnl1aGFpaW4ucG9pbnQucG9pbnQSIQoDdWRwGAIgASgLMhQueXVoYWlpbi5wb2ludC5wb2ludCIxCgd1c2VfcmVxEgsKA3RjcBgBIAEoCBILCgN1ZHAYAiABKAgSDAoEaGFzaBgDIAEoCSKdAQoObm9kZXNfcmVzcG9uc2USRwoGZ3JvdXBzGAEgAygLMjcueXVoYWlpbi5wcm90b3Mubm9kZS5zZXJ2aWNlLm5vZGVzX3Jlc3BvbnNlLkdyb3Vwc0VudHJ5GkIKC0dyb3Vwc0VudHJ5EgsKA2tleRgBIAEoCRIiCgV2YWx1ZRgCIAEoCzITLnl1aGFpaW4ubm9kZS5ub2RlczoCOAEiNwoNc2F2ZV9saW5rX3JlcRImCgVsaW5rcxgBIAMoCzIXLnl1aGFpaW4uc3Vic2NyaWJlLmxpbmsiGQoIbGlua19yZXESDQoFbmFtZXMYASADKAkingEKDmdldF9saW5rc19yZXNwEkUKBWxpbmtzGAEgAygLMjYueXVoYWlpbi5wcm90b3Mubm9kZS5zZXJ2aWNlLmdldF9saW5rc19yZXNwLkxpbmtzRW50cnkaRQoKTGlua3NFbnRyeRILCgNrZXkYASABKAkSJgoFdmFsdWUYAiABKAsyFy55dWhhaWluLnN1YnNjcmliZS5saW5rOgI4ASJOCgxzYXZlX3RhZ19yZXESCwoDdGFnGAEgASgJEiMKBHR5cGUYAyABKA4yFS55dWhhaWluLnRhZy50YWdfdHlwZRIMCgRoYXNoGAIgASgJIpMBCg10YWdzX3Jlc3BvbnNlEkIKBHRhZ3MYASADKAsyNC55dWhhaWluLnByb3Rvcy5ub2RlLnNlcnZpY2UudGFnc19yZXNwb25zZS5UYWdzRW50cnkaPgoJVGFnc0VudHJ5EgsKA2tleRgBIAEoCRIgCgV2YWx1ZRgCIAEoCzIRLnl1aGFpaW4udGFnLnRhZ3M6AjgBMswDCgRub2RlEkQKA25vdxIWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRolLnl1aGFpaW4ucHJvdG9zLm5vZGUuc2VydmljZS5ub3dfcmVzcBJBCgN1c2USJC55dWhhaWluLnByb3Rvcy5ub2RlLnNlcnZpY2UudXNlX3JlcRoULnl1aGFpaW4ucG9pbnQucG9pbnQSOQoDZ2V0EhwuZ29vZ2xlLnByb3RvYnVmLlN0cmluZ1ZhbHVlGhQueXVoYWlpbi5wb2ludC5wb2ludBIyCgRzYXZlEhQueXVoYWlpbi5wb2ludC5wb2ludBoULnl1aGFpaW4ucG9pbnQucG9pbnQSPgoGcmVtb3ZlEhwuZ29vZ2xlLnByb3RvYnVmLlN0cmluZ1ZhbHVlGhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5EksKBGxpc3QSFi5nb29nbGUucHJvdG9idWYuRW1wdHkaKy55dWhhaWluLnByb3Rvcy5ub2RlLnNlcnZpY2Uubm9kZXNfcmVzcG9uc2USPwoHbGF0ZW5jeRIZLnl1aGFpaW4ubGF0ZW5jeS5yZXF1ZXN0cxoZLnl1aGFpaW4ubGF0ZW5jeS5yZXNwb25zZTK1AgoJc3Vic2NyaWJlEkoKBHNhdmUSKi55dWhhaWluLnByb3Rvcy5ub2RlLnNlcnZpY2Uuc2F2ZV9saW5rX3JlcRoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRJHCgZyZW1vdmUSJS55dWhhaWluLnByb3Rvcy5ub2RlLnNlcnZpY2UubGlua19yZXEaFi5nb29nbGUucHJvdG9idWYuRW1wdHkSRwoGdXBkYXRlEiUueXVoYWlpbi5wcm90b3Mubm9kZS5zZXJ2aWNlLmxpbmtfcmVxGhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5EkoKA2dldBIWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRorLnl1aGFpaW4ucHJvdG9zLm5vZGUuc2VydmljZS5nZXRfbGlua3NfcmVzcDLcAQoDdGFnEkkKBHNhdmUSKS55dWhhaWluLnByb3Rvcy5ub2RlLnNlcnZpY2Uuc2F2ZV90YWdfcmVxGhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5Ej4KBnJlbW92ZRIcLmdvb2dsZS5wcm90b2J1Zi5TdHJpbmdWYWx1ZRoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRJKCgRsaXN0EhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5GioueXVoYWlpbi5wcm90b3Mubm9kZS5zZXJ2aWNlLnRhZ3NfcmVzcG9uc2VCNlo0Z2l0aHViLmNvbS9Bc3V0b3J1ZmEveXVoYWlpbi9wa2cvcHJvdG9zL25vZGUvc2VydmljZWIGcHJvdG8z",[g.t,W.Ax,u,G.AB,R.YJ,I.cj,B.Y$]),Y=(0,d.Z)(o,1),C=(0,d.Z)(o,3),a=(0,d.Z)(o,4),m=(0,d.Z)(o,6),n=(0,Z.Z)(o,0),E=(0,Z.Z)(o,1),h=(0,Z.Z)(o,2)},2197:(A,c,l)=>{l.d(c,{B$:()=>R,HZ:()=>o,Jc:()=>G,UM:()=>W,_1:()=>u,_t:()=>B,cj:()=>g,oL:()=>I});var b=l(6788),d=l(8123),Z=l(3620);let g=(0,b.w)("Chpub2RlL2xhdGVuY3kvbGF0ZW5jeS5wcm90bxIPeXVoYWlpbi5sYXRlbmN5IhMKBGh0dHASCwoDdXJsGAEgASgJIjcKA2RucxIMCgRob3N0GAEgASgJEiIKDXRhcmdldF9kb21haW4YAiABKAlSC3RhcmdldF9uYW1lIkEKDWRuc19vdmVyX3F1aWMSDAoEaG9zdBgBIAEoCRIiCg10YXJnZXRfZG9tYWluGAIgASgJUgt0YXJnZXRfbmFtZSIxCgJpcBILCgN1cmwYASABKAkSHgoKdXNlcl9hZ2VudBgCIAEoCVIKdXNlcl9hZ2VudCIpCgtpcF9yZXNwb25zZRIMCgRpcHY0GAEgASgJEgwKBGlwdjYYAiABKAkiIQoEc3R1bhIMCgRob3N0GAEgASgJEgsKA3RjcBgCIAEoCCLHAgoNc3R1bl9yZXNwb25zZRIuChJ4b3JfbWFwcGVkX2FkZHJlc3MYASABKAlSEnhvcl9tYXBwZWRfYWRkcmVzcxImCg5tYXBwZWRfYWRkcmVzcxgCIAEoCVIObWFwcGVkX2FkZHJlc3MSJAoNb3RoZXJfYWRkcmVzcxgDIAEoCVINb3RoZXJfYWRkcmVzcxI4ChdyZXNwb25zZV9vcmlnaW5fYWRkcmVzcxgEIAEoCVIXcmVzcG9uc2Vfb3JpZ2luX2FkZHJlc3MSEAoIU29mdHdhcmUYBSABKAkSMwoHTWFwcGluZxgGIAEoDjIZLnl1aGFpaW4ubGF0ZW5jeS5uYXRfdHlwZVIHbWFwcGluZxI3CglGaWx0ZXJpbmcYByABKA4yGS55dWhhaWluLmxhdGVuY3kubmF0X3R5cGVSCWZpbHRlcmluZyL0AQoIcHJvdG9jb2wSJQoEaHR0cBgBIAEoCzIVLnl1aGFpaW4ubGF0ZW5jeS5odHRwSAASIwoDZG5zGAIgASgLMhQueXVoYWlpbi5sYXRlbmN5LmRuc0gAEkYKDWRuc19vdmVyX3F1aWMYAyABKAsyHi55dWhhaWluLmxhdGVuY3kuZG5zX292ZXJfcXVpY0gAUg1kbnNfb3Zlcl9xdWljEiEKAmlwGAQgASgLMhMueXVoYWlpbi5sYXRlbmN5LmlwSAASJQoEc3R1bhgFIAEoCzIVLnl1aGFpaW4ubGF0ZW5jeS5zdHVuSABCCgoIcHJvdG9jb2wiXgoHcmVxdWVzdBIKCgJpZBgDIAEoCRIMCgRoYXNoGAEgASgJEgwKBGlwdjYYBCABKAgSKwoIcHJvdG9jb2wYAiABKAsyGS55dWhhaWluLmxhdGVuY3kucHJvdG9jb2wiNgoIcmVxdWVzdHMSKgoIcmVxdWVzdHMYASADKAsyGC55dWhhaWluLmxhdGVuY3kucmVxdWVzdCKsAQoIcmVzcG9uc2USUwoOaWRfbGF0ZW5jeV9tYXAYASADKAsyKy55dWhhaWluLmxhdGVuY3kucmVzcG9uc2UuSWRMYXRlbmN5TWFwRW50cnlSDmlkX2xhdGVuY3lfbWFwGksKEUlkTGF0ZW5jeU1hcEVudHJ5EgsKA2tleRgBIAEoCRIlCgV2YWx1ZRgCIAEoCzIWLnl1aGFpaW4ubGF0ZW5jeS5yZXBseToCOAEimgEKBXJlcGx5EiwKB2xhdGVuY3kYASABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb25IABIqCgJpcBgCIAEoCzIcLnl1aGFpaW4ubGF0ZW5jeS5pcF9yZXNwb25zZUgAEi4KBHN0dW4YAyABKAsyHi55dWhhaWluLmxhdGVuY3kuc3R1bl9yZXNwb25zZUgAQgcKBXJlcGx5KswBCghuYXRfdHlwZRIPCgtOQVRfVU5LTk9XThAAEhEKDU5BVF9OT19SRVNVTFQQARIgChxOQVRfRW5kcG9pbnRJbmRlcGVuZGVudE5vTkFUEAISGwoXTkFUX0VuZHBvaW50SW5kZXBlbmRlbnQQAxIYChROQVRfQWRkcmVzc0RlcGVuZGVudBAEEh8KG05BVF9BZGRyZXNzQW5kUG9ydERlcGVuZGVudBAFEiIKHk5BVF9TZXJ2ZXJOb3RTdXBwb3J0Q2hhbmdlUG9ydBAGQjZaNGdpdGh1Yi5jb20vQXN1dG9ydWZhL3l1aGFpaW4vcGtnL3Byb3Rvcy9ub2RlL2xhdGVuY3liBnByb3RvMw",[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);var o=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)("Chxub2RlL3Byb3RvY29sL3Byb3RvY29sLnByb3RvEhB5dWhhaWluLnByb3RvY29sIvoHCghwcm90b2NvbBI0CgtzaGFkb3dzb2NrcxgBIAEoCzIdLnl1aGFpaW4ucHJvdG9jb2wuc2hhZG93c29ja3NIABI2CgxzaGFkb3dzb2Nrc3IYAiABKAsyHi55dWhhaWluLnByb3RvY29sLnNoYWRvd3NvY2tzckgAEigKBXZtZXNzGAMgASgLMhcueXVoYWlpbi5wcm90b2NvbC52bWVzc0gAEjAKCXdlYnNvY2tldBgEIAEoCzIbLnl1aGFpaW4ucHJvdG9jb2wud2Vic29ja2V0SAASJgoEcXVpYxgFIAEoCzIWLnl1aGFpaW4ucHJvdG9jb2wucXVpY0gAEjsKCW9iZnNfaHR0cBgGIAEoCzIbLnl1aGFpaW4ucHJvdG9jb2wub2Jmc19odHRwSABSCW9iZnNfaHR0cBIqCgZ0cm9qYW4YByABKAsyGC55dWhhaWluLnByb3RvY29sLnRyb2phbkgAEioKBnNpbXBsZRgIIAEoCzIYLnl1aGFpaW4ucHJvdG9jb2wuc2ltcGxlSAASJgoEbm9uZRgJIAEoCzIWLnl1aGFpaW4ucHJvdG9jb2wubm9uZUgAEioKBnNvY2tzNRgKIAEoCzIYLnl1aGFpaW4ucHJvdG9jb2wuc29ja3M1SAASJgoEaHR0cBgLIAEoCzIWLnl1aGFpaW4ucHJvdG9jb2wuaHR0cEgAEioKBmRpcmVjdBgMIAEoCzIYLnl1aGFpaW4ucHJvdG9jb2wuZGlyZWN0SAASKgoGcmVqZWN0GA0gASgLMhgueXVoYWlpbi5wcm90b2NvbC5yZWplY3RIABIwCgl5dXViaW5zeWEYDiABKAsyGy55dWhhaWluLnByb3RvY29sLnl1dWJpbnN5YUgAEiYKBGdycGMYDyABKAsyFi55dWhhaWluLnByb3RvY29sLmdycGNIABIoCgVodHRwMhgQIAEoCzIXLnl1aGFpaW4ucHJvdG9jb2wuaHR0cDJIABIsCgdyZWFsaXR5GBEgASgLMhkueXVoYWlpbi5wcm90b2NvbC5yZWFsaXR5SAASKwoDdGxzGBIgASgLMhwueXVoYWlpbi5wcm90b2NvbC50bHNfY29uZmlnSAASMAoJd2lyZWd1YXJkGBMgASgLMhsueXVoYWlpbi5wcm90b2NvbC53aXJlZ3VhcmRIABIkCgNtdXgYFCABKAsyFS55dWhhaWluLnByb3RvY29sLm11eEgAEiYKBGRyb3AYFSABKAsyFi55dWhhaWluLnByb3RvY29sLmRyb3BIABIoCgV2bGVzcxgWIAEoCzIXLnl1aGFpaW4ucHJvdG9jb2wudmxlc3NIAEIKCghwcm90b2NvbCJgCgZzb2NrczUSEAoIaG9zdG5hbWUYAyABKAkSDAoEdXNlchgBIAEoCRIQCghwYXNzd29yZBgCIAEoCRIkCg1vdmVycmlkZV9wb3J0GAQgASgNUg1vdmVycmlkZV9wb3J0IiYKBGh0dHASDAoEdXNlchgBIAEoCRIQCghwYXNzd29yZBgCIAEoCSIvCgtzaGFkb3dzb2NrcxIOCgZtZXRob2QYASABKAkSEAoIcGFzc3dvcmQYAiABKAkilQEKDHNoYWRvd3NvY2tzchIOCgZzZXJ2ZXIYASABKAkSDAoEcG9ydBgCIAEoCRIOCgZtZXRob2QYAyABKAkSEAoIcGFzc3dvcmQYBCABKAkSDAoEb2JmcxgFIAEoCRIRCglvYmZzcGFyYW0YBiABKAkSEAoIcHJvdG9jb2wYByABKAkSEgoKcHJvdG9wYXJhbRgIIAEoCSIcCgVodHRwMhITCgtjb25jdXJyZW5jeRgBIAEoBSJCCgV2bWVzcxIQCgR1dWlkGAEgASgJUgJpZBIVCghhbHRlcl9pZBgCIAEoCVIDYWlkEhAKCHNlY3VyaXR5GAMgASgJIhUKBXZsZXNzEgwKBHV1aWQYASABKAkiKAoGdHJvamFuEhAKCHBhc3N3b3JkGAEgASgJEgwKBHBlZXIYAiABKAkinAEKCXl1dWJpbnN5YRIQCghwYXNzd29yZBgBIAEoCRIgCgt0Y3BfZW5jcnlwdBgEIAEoCFILdGNwX2VuY3J5cHQSIAoLdWRwX2VuY3J5cHQYBSABKAhSC3VkcF9lbmNyeXB0EigKD3VkcF9vdmVyX3N0cmVhbRgDIAEoCFIPdWRwX292ZXJfc3RyZWFtSgQIAhADUgllbmNyeXB0ZWQiOgoJd2Vic29ja2V0EgwKBGhvc3QYASABKAkSDAoEcGF0aBgCIAEoCUoECAQQBVILdGxzX2VuYWJsZWQiMQoEZ3JwYxIpCgN0bHMYASABKAsyHC55dWhhaWluLnByb3RvY29sLnRsc19jb25maWciPwoEcXVpYxIMCgRob3N0GAIgASgJEikKA3RscxgBIAEoCzIcLnl1aGFpaW4ucHJvdG9jb2wudGxzX2NvbmZpZyJ2CgdyZWFsaXR5EiAKC3NlcnZlcl9uYW1lGAEgASgJUgtzZXJ2ZXJfbmFtZRIeCgpwdWJsaWNfa2V5GAIgASgJUgpwdWJsaWNfa2V5EhoKCHNob3J0X2lkGAMgASgJUghzaG9ydF9pZBINCgVkZWJ1ZxgEIAEoCCInCglvYmZzX2h0dHASDAoEaG9zdBgBIAEoCRIMCgRwb3J0GAIgASgJIgYKBG5vbmUixgEKBnNpbXBsZRIMCgRob3N0GAEgASgJEgwKBHBvcnQYAiABKAUSPgoOYWx0ZXJuYXRlX2hvc3QYBSADKAsyFi55dWhhaWluLnByb3RvY29sLmhvc3RSDmFsdGVybmF0ZV9ob3N0EiwKEW5ldHdvcmtfaW50ZXJmYWNlGAcgASgJUhFuZXR3b3JrX2ludGVyZmFjZUoECAQQBUoECAYQB0oECAMQBFIDdGxzUgd0aW1lb3V0UhJwYWNrZXRfY29ubl9kaXJlY3QizwEKCnRsc19jb25maWcSDgoGZW5hYmxlGAEgASgIEiEKDHNlcnZlcl9uYW1lcxgGIAMoCVILc2VydmVybmFtZXMSGAoHY2FfY2VydBgDIAMoDFIHY2FfY2VydBIyChRpbnNlY3VyZV9za2lwX3ZlcmlmeRgEIAEoCFIUaW5zZWN1cmVfc2tpcF92ZXJpZnkSIAoLbmV4dF9wcm90b3MYBSADKAlSC25leHRfcHJvdG9zEh4KCmVjaF9jb25maWcYByABKAxSCmVjaF9jb25maWciRQoGZGlyZWN0EiwKEW5ldHdvcmtfaW50ZXJmYWNlGAIgASgJUhFuZXR3b3JrX2ludGVyZmFjZUoECAEQAlIHdGltZW91dCIICgZyZWplY3QiBgoEZHJvcCIiCgRob3N0EgwKBGhvc3QYASABKAkSDAoEcG9ydBgCIAEoBSJ+ChV3aXJlZ3VhcmRfcGVlcl9jb25maWcSEgoKcHVibGljX2tleRgBIAEoCRIWCg5wcmVfc2hhcmVkX2tleRgCIAEoCRIQCghlbmRwb2ludBgDIAEoCRISCgprZWVwX2FsaXZlGAQgASgFEhMKC2FsbG93ZWRfaXBzGAUgAygJIp4BCgl3aXJlZ3VhcmQSEgoKc2VjcmV0X2tleRgBIAEoCRIQCghlbmRwb2ludBgCIAMoCRI2CgVwZWVycxgDIAMoCzInLnl1aGFpaW4ucHJvdG9jb2wud2lyZWd1YXJkX3BlZXJfY29uZmlnEgsKA210dRgEIAEoBRIQCghyZXNlcnZlZBgGIAEoDBIUCgxpZGxlX3RpbWVvdXQYByABKAUiGgoDbXV4EhMKC2NvbmN1cnJlbmN5GAEgASgFQjdaNWdpdGh1Yi5jb20vQXN1dG9ydWZhL3l1aGFpaW4vcGtnL3Byb3Rvcy9ub2RlL3Byb3RvY29sYgZwcm90bzM"),g=(0,d.Z)(Z,0),W=(0,d.Z)(Z,1),G=(0,d.Z)(Z,2),R=(0,d.Z)(Z,3),B=(0,d.Z)(Z,4),u=(0,d.Z)(Z,5),I=(0,d.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/190-6a852a88197bd3ec.js b/_next/static/chunks/190-6a852a88197bd3ec.js new file mode 100644 index 00000000..4a62723f --- /dev/null +++ b/_next/static/chunks/190-6a852a88197bd3ec.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[190],{3614:(e,t,a)=>{a.d(t,{A:()=>i});var r=a(4617),o=a.n(r),l=a(2115),n=a(1653),c=a(5155);let s=l.forwardRef((e,t)=>{let{bsPrefix:a,size:r,vertical:l=!1,className:s,role:i="group",as:d="div",...u}=e,f=(0,n.oU)(a,"btn-group"),p=f;return l&&(p="".concat(f,"-vertical")),(0,c.jsx)(d,{...u,ref:t,role:i,className:o()(s,p,r&&"".concat(f,"-").concat(r))})});s.displayName="ButtonGroup";let i=s},8003:(e,t,a)=>{a.d(t,{A:()=>f});var r=a(4617),o=a.n(r),l=a(2115),n=a(1653),c=a(2389),s=a(2471),i=a(5155);let d=l.forwardRef((e,t)=>{let{className:a,bsPrefix:r,as:l="span",...c}=e;return r=(0,n.oU)(r,"input-group-text"),(0,i.jsx)(l,{ref:t,className:o()(a,r),...c})});d.displayName="InputGroupText";let u=l.forwardRef((e,t)=>{let{bsPrefix:a,size:r,hasValidation:c,className:d,as:u="div",...f}=e;a=(0,n.oU)(a,"input-group");let p=(0,l.useMemo)(()=>({}),[]);return(0,i.jsx)(s.A.Provider,{value:p,children:(0,i.jsx)(u,{ref:t,...f,className:o()(d,a,r&&"".concat(a,"-").concat(r),c&&"has-validation")})})});u.displayName="InputGroup";let f=Object.assign(u,{Text:d,Radio:e=>(0,i.jsx)(d,{children:(0,i.jsx)(c.A,{type:"radio",...e})}),Checkbox:e=>(0,i.jsx)(d,{children:(0,i.jsx)(c.A,{type:"checkbox",...e})})})},57:(e,t,a)=>{a.d(t,{A:()=>b});var r=a(4617),o=a.n(r),l=a(2115);a(1809);var n=a(6647),c=a(9814),s=a(1653),i=a(3853),d=a(3973),u=a(7644),f=a(5155);let p=l.forwardRef((e,t)=>{let{bsPrefix:a,active:r,disabled:l,eventKey:n,className:c,variant:p,action:m,as:b,...v}=e;a=(0,s.oU)(a,"list-group-item");let[y,h]=(0,d.M)({key:(0,u.u)(n,v.href),active:r,...v}),x=(0,i.A)(e=>{if(l){e.preventDefault(),e.stopPropagation();return}y.onClick(e)});l&&void 0===v.tabIndex&&(v.tabIndex=-1,v["aria-disabled"]=!0);let g=b||(m?v.href?"a":"button":"div");return(0,f.jsx)(g,{ref:t,...v,...y,onClick:x,className:o()(c,a,h.isActive&&"active",l&&"disabled",p&&"".concat(a,"-").concat(p),m&&"".concat(a,"-action"))})});p.displayName="ListGroupItem";let m=l.forwardRef((e,t)=>{let a;let{className:r,bsPrefix:l,variant:i,horizontal:d,numbered:u,as:p="div",...m}=(0,n.Zw)(e,{activeKey:"onSelect"}),b=(0,s.oU)(l,"list-group");return d&&(a=!0===d?"horizontal":"horizontal-".concat(d)),(0,f.jsx)(c.A,{ref:t,...m,as:p,className:o()(r,b,i&&"".concat(b,"-").concat(i),a&&"".concat(b,"-").concat(a),u&&"".concat(b,"-numbered"))})});m.displayName="ListGroup";let b=Object.assign(m,{Item:p})},0:(e,t,a)=>{a.d(t,{A:()=>M});var r,o=a(4617),l=a.n(o),n=a(6930),c=a(7678),s=a(5255),i=a(9221);function d(e){if((!r&&0!==r||e)&&c.A){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),r=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return r}var u=a(2115),f=a(3853),p=a(804),m=a(8987),b=a(2959),v=a(9952),y=a(3876),h=a(3281),x=a(1653),g=a(5155);let N=u.forwardRef((e,t)=>{let{className:a,bsPrefix:r,as:o="div",...n}=e;return r=(0,x.oU)(r,"modal-body"),(0,g.jsx)(o,{ref:t,className:l()(a,r),...n})});N.displayName="ModalBody";var A=a(7467);let w=u.forwardRef((e,t)=>{let{bsPrefix:a,className:r,contentClassName:o,centered:n,size:c,fullscreen:s,children:i,scrollable:d,...u}=e;a=(0,x.oU)(a,"modal");let f="".concat(a,"-dialog"),p="string"==typeof s?"".concat(a,"-fullscreen-").concat(s):"".concat(a,"-fullscreen");return(0,g.jsx)("div",{...u,ref:t,className:l()(f,r,c&&"".concat(a,"-").concat(c),n&&"".concat(f,"-centered"),d&&"".concat(f,"-scrollable"),s&&p),children:(0,g.jsx)("div",{className:l()("".concat(a,"-content"),o),children:i})})});w.displayName="ModalDialog";let j=u.forwardRef((e,t)=>{let{className:a,bsPrefix:r,as:o="div",...n}=e;return r=(0,x.oU)(r,"modal-footer"),(0,g.jsx)(o,{ref:t,className:l()(a,r),...n})});j.displayName="ModalFooter";var R=a(2243);let k=u.forwardRef((e,t)=>{let{bsPrefix:a,className:r,closeLabel:o="Close",closeButton:n=!1,...c}=e;return a=(0,x.oU)(a,"modal-header"),(0,g.jsx)(R.A,{ref:t,...c,className:l()(r,a),closeLabel:o,closeButton:n})});k.displayName="ModalHeader";let U=(0,a(7449).A)("h4"),T=u.forwardRef((e,t)=>{let{className:a,bsPrefix:r,as:o=U,...n}=e;return r=(0,x.oU)(r,"modal-title"),(0,g.jsx)(o,{ref:t,className:l()(a,r),...n})});function C(e){return(0,g.jsx)(h.A,{...e,timeout:null})}function E(e){return(0,g.jsx)(h.A,{...e,timeout:null})}T.displayName="ModalTitle";let I=u.forwardRef((e,t)=>{let{bsPrefix:a,className:r,style:o,dialogClassName:h,contentClassName:N,children:j,dialogAs:R=w,"data-bs-theme":k,"aria-labelledby":U,"aria-describedby":T,"aria-label":I,show:M=!1,animation:D=!0,backdrop:O=!0,keyboard:S=!0,onEscapeKeyDown:_,onShow:z,onHide:B,container:F,autoFocus:H=!0,enforceFocus:G=!0,restoreFocus:P=!0,restoreFocusOptions:L,onEntered:W,onExit:K,onExiting:J,onEnter:Z,onEntering:q,onExited:Q,backdropClassName:V,manager:X,...Y}=e,[$,ee]=(0,u.useState)({}),[et,ea]=(0,u.useState)(!1),er=(0,u.useRef)(!1),eo=(0,u.useRef)(!1),el=(0,u.useRef)(null),[en,ec]=(0,u.useState)(null),es=(0,p.A)(t,ec),ei=(0,f.A)(B),ed=(0,x.Wz)();a=(0,x.oU)(a,"modal");let eu=(0,u.useMemo)(()=>({onHide:ei}),[ei]);function ef(){return X||(0,y.R)({isRTL:ed})}function ep(e){if(!c.A)return;let t=ef().getScrollbarWidth()>0,a=e.scrollHeight>(0,s.A)(e).documentElement.clientHeight;ee({paddingRight:t&&!a?d():void 0,paddingLeft:!t&&a?d():void 0})}let em=(0,f.A)(()=>{en&&ep(en.dialog)});(0,m.A)(()=>{(0,i.A)(window,"resize",em),null==el.current||el.current()});let eb=()=>{er.current=!0},ev=e=>{er.current&&en&&e.target===en.dialog&&(eo.current=!0),er.current=!1},ey=()=>{ea(!0),el.current=(0,b.A)(en.dialog,()=>{ea(!1)})},eh=e=>{e.target===e.currentTarget&&ey()},ex=e=>{if("static"===O){eh(e);return}if(eo.current||e.target!==e.currentTarget){eo.current=!1;return}null==B||B()},eg=(0,u.useCallback)(e=>(0,g.jsx)("div",{...e,className:l()("".concat(a,"-backdrop"),V,!D&&"show")}),[D,V,a]),eN={...o,...$};return eN.display="block",(0,g.jsx)(A.A.Provider,{value:eu,children:(0,g.jsx)(v.A,{show:M,ref:es,backdrop:O,container:F,keyboard:!0,autoFocus:H,enforceFocus:G,restoreFocus:P,restoreFocusOptions:L,onEscapeKeyDown:e=>{S?null==_||_(e):(e.preventDefault(),"static"===O&&ey())},onShow:z,onHide:B,onEnter:(e,t)=>{e&&ep(e),null==Z||Z(e,t)},onEntering:(e,t)=>{null==q||q(e,t),(0,n.Ay)(window,"resize",em)},onEntered:W,onExit:e=>{null==el.current||el.current(),null==K||K(e)},onExiting:J,onExited:e=>{e&&(e.style.display=""),null==Q||Q(e),(0,i.A)(window,"resize",em)},manager:ef(),transition:D?C:void 0,backdropTransition:D?E:void 0,renderBackdrop:eg,renderDialog:e=>(0,g.jsx)("div",{role:"dialog",...e,style:eN,className:l()(r,a,et&&"".concat(a,"-static"),!D&&"show"),onClick:O?ex:void 0,onMouseUp:ev,"data-bs-theme":k,"aria-label":I,"aria-labelledby":U,"aria-describedby":T,children:(0,g.jsx)(R,{...Y,onMouseDown:eb,className:h,contentClassName:N,children:j})})})})});I.displayName="Modal";let M=Object.assign(I,{Body:N,Header:k,Title:T,Footer:j,Dialog:w,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150})},6121:(e,t,a)=>{a.d(t,{A:()=>i});var r=a(4617),o=a.n(r),l=a(2115),n=a(1653),c=a(5155);let s=l.forwardRef((e,t)=>{let{bsPrefix:a,className:r,as:l="div",...s}=e,i=(0,n.oU)(a,"row"),d=(0,n.gy)(),u=(0,n.Jm)(),f="".concat(i,"-cols"),p=[];return d.forEach(e=>{let t;let a=s[e];delete s[e],null!=a&&"object"==typeof a?{cols:t}=a:t=a,null!=t&&p.push("".concat(f).concat(e!==u?"-".concat(e):"","-").concat(t))}),(0,c.jsx)(l,{ref:t,...s,className:o()(r,i,...p)})});s.displayName="Row";let i=s}}]); \ No newline at end of file diff --git a/_next/static/chunks/190-f2a0ef357f96a8d0.js b/_next/static/chunks/190-f2a0ef357f96a8d0.js deleted file mode 100644 index 7d324450..00000000 --- a/_next/static/chunks/190-f2a0ef357f96a8d0.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/306-dbe962c571aef3ab.js b/_next/static/chunks/306-dbe962c571aef3ab.js deleted file mode 100644 index d508256c..00000000 --- a/_next/static/chunks/306-dbe962c571aef3ab.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:()=>u,Oz:()=>t,VN:()=>p,X3:()=>i,_s:()=>x,dp:()=>m,h$:()=>v,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)},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())},v=e=>{b("latency_ip_url",e)},x=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:()=>r,gR:()=>i,kP:()=>c});var n=l(744),t=l(950),s=l(7558),o=l(6989);function r(e,a,l,r){return c=>r?(0,t.o)(e.output,r):fetch("".concat(n.kP).concat(c),{method:a,body:l?(0,s.R)(e.input,l):void 0}).then(async a=>{if(!a.ok)throw{code:a.status,msg:a.statusText,raw:a.text()};return(0,o.Er)(e.output,new Uint8Array(await a.arrayBuffer()))})}async function c(e,a,l,t){let r=await fetch("".concat(n.kP).concat(a),{method:l,body:t?(0,s.R)(e.input,t):void 0});return r.ok?{data:(0,o.Er)(e.output,new Uint8Array(await r.arrayBuffer()))}:{error:{code:r.status,msg:await r.text()}}}function i(e,a,l){return(t,s)=>{let r,{next:c}=s,i=new URL(""!==n.kP?n.kP:window.location.toString());i.pathname=t,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,o.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(u,1e3))}))};return u(),()=>{d=!0,void 0!==r&&(console.log("close: ".concat(t)),r.close(),r=void 0)}}}},7204:(e,a,l)=>{l.d(a,{a9:()=>x,e9:()=>b,fH:()=>w,jU:()=>p,kk:()=>A,mI:()=>v,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),u=l(2963),m=l(2981),h=l(3614),g=l(2115);class v{constructor(e){this.label=e.label,this.value=e.value,this.label_children=e.label_children}}let x=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)(u.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)(u.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)(u.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)(u.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)(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===(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)(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/340-5d384bd6bf75ec53.js b/_next/static/chunks/340-7692152ec330eb92.js similarity index 88% rename from _next/static/chunks/340-5d384bd6bf75ec53.js rename to _next/static/chunks/340-7692152ec330eb92.js index 13d40b76..cd1e7637 100644 --- a/_next/static/chunks/340-5d384bd6bf75ec53.js +++ b/_next/static/chunks/340-7692152ec330eb92.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[340],{8519:(e,t,n)=>{n.d(t,{G6:()=>d,uQ:()=>c,z3:()=>f});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){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,s,i]=f(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;g(t,e);let o=(null!==(r=e.$unknown)&&void 0!==r?r:[]).filter(e=>e.no!==t.number),[s,i]=f(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 g(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:()=>f});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 f(e,t,n){var r;return JSON.stringify(g((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 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: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=g((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 v(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 p(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 p(e,t);case"message":return g(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(p(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(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,o]of e)r[t]=p(n,o);break;case"message":for(let[n,o]of e)r[n]=g(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 p(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 v(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 v(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)}},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 +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[340],{8519:(e,t,n)=>{n.d(t,{G6:()=>d,uQ:()=>c,z3:()=>f});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){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,s,i]=f(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;g(t,e);let o=(null!==(r=e.$unknown)&&void 0!==r?r:[]).filter(e=>e.no!==t.number),[s,i]=f(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 g(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:()=>f});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 f(e,t,n){var r;return JSON.stringify(g((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 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: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=g((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 v(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 p(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 p(e,t);case"message":return g(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(p(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(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,o]of e)r[t]=p(n,o);break;case"message":for(let[n,o]of e)r[n]=g(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 p(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 v(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 v(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(f(e.typeUrl));if(n&&""!==e.typeUrl&&("string"==typeof n?n:n.typeName)===f(e.typeUrl))return(0,l.Er)(n,e.value)}function f(e){let t=e.lastIndexOf("/"),n=t>=0?e.substring(t+1):e;if(!n.length)throw Error(`invalid type url: ${e}`);return n}},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/347-8f0150f2d8d489b0.js b/_next/static/chunks/347-8f0150f2d8d489b0.js deleted file mode 100644 index 825f87f4..00000000 --- a/_next/static/chunks/347-8f0150f2d8d489b0.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[347],{9814:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});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"),b=l.forwardRef((e,t)=>{let n,c,{as:b="div",onSelect:h,activeKey:g,role:x,onKeyDown:y}=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)(),C=(0,l.useRef)(!1),E=(0,l.useContext)(s.A),w=(0,l.useContext)(u.A);w&&(x=x||"tablist",g=w.activeKey,n=w.getControlledId,c=w.getControllerId);let I=(0,l.useRef)(null),O=e=>{let t=I.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]},N=(e,t)=>{null!=e&&(null==h||h(e,t),null==E||E(e,t))};(0,l.useEffect)(()=>{if(I.current&&C.current){let e=I.current.querySelector(`[${m}][aria-selected=true]`);null==e||e.focus()}C.current=!1});let R=(0,o.A)(t,I);return(0,f.jsx)(s.A.Provider,{value:N,children:(0,f.jsx)(i.A.Provider,{value:{role:x,activeKey:(0,s.u)(g),getControlledId:n||v,getControllerId:c||v},children:(0,f.jsx)(b,Object.assign({},A,{onKeyDown:e=>{let t;if(null==y||y(e),w){switch(e.key){case"ArrowLeft":case"ArrowUp":t=O(-1);break;case"ArrowRight":case"ArrowDown":t=O(1);break;default:return}t&&(e.preventDefault(),N(t.dataset[(0,d.y)("EventKey")]||null,e),C.current=!0,j())}},ref:R,role:x}))})})});b.displayName="Nav";let h=Object.assign(b,{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,b={role:d};if(p){d||"tablist"!==p.role||(b.role="tab");let t=p.getControllerId(null!=e?e:null),r=p.getControlledId(null!=e?e:null);b[(0,s.sE)("event-key")]=e,b.id=t||i,((m=null==n&&null!=e?p.activeKey===e:n)||!(null!=v&&v.unmountOnExit)&&!(null!=v&&v.mountOnEnter))&&(b["aria-controls"]=r)}return"tab"===b.role&&(b["aria-selected"]=m,m||(b.tabIndex=-1),c&&(b.tabIndex=-1,b["aria-disabled"]=!0)),b.onClick=(0,l.A)(n=>{c||(null==t||t(n),null!=e&&f&&!n.isPropagationStopped()&&f(e,n))}),[b,{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 b},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 b=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:b=!1,navbar:h,navbarScroll:g,className:x,activeKey:y,...A}=(0,o.Zw)(e,{activeKey:"onSelect"}),j=(0,s.oU)(p,"nav"),C=!1,E=(0,a.useContext)(u.A),w=(0,a.useContext)(d.A);return E?(n=E.bsPrefix,C=null==h||h):w&&({cardHeaderBsPrefix:r}=w),(0,c.jsx)(i.A,{as:f,ref:t,activeKey:y,className:l()(x,{[j]:!C,["".concat(n,"-nav")]:C,["".concat(n,"-nav-scroll")]:C&&g,["".concat(r,"-").concat(v)]:!!r,["".concat(j,"-").concat(v)]:!!v,["".concat(j,"-fill")]:m,["".concat(j,"-justified")]:b}),...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,b]=(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",b.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:()=>R});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 b(e){let{active:t,eventKey:n,mountOnEnter:r,transition:l,unmountOnExit:o,role:i="tabpanel",onEnter:d,onEntering:c,onEntered:v,onExit:b,onExiting:h,onExited:g}=e,x=m(e,f),y=(0,a.useContext)(s.A);if(!y)return[Object.assign({},x,{role:i}),{eventKey:n,isActive:t,mountOnEnter:r,transition:l,unmountOnExit:o,onEnter:d,onEntering:c,onEntered:v,onExit:b,onExiting:h,onExited:g}];let{activeKey:A,getControlledId:j,getControllerId:C}=y,E=m(y,p),w=(0,u.u)(n);return[Object.assign({},x,{role:i,id:j(n),"aria-labelledby":C(n)}),{eventKey:n,isActive:null==t&&null!=w?(0,u.u)(A)===w:t,transition:l||E.transition,mountOnEnter:null!=r?r:E.mountOnEnter,unmountOnExit:null!=o?o:E.unmountOnExit,onEnter:d,onEntering:c,onEntered:v,onExit:b,onExiting:h,onExited:g}]}let h=a.forwardRef((e,t)=>{let{as:n="div"}=e,[r,{isActive:l,onEnter:a,onEntering:o,onEntered:i,onExit:f,onExiting:p,onExited:h,mountOnEnter:g,unmountOnExit:x,transition:y=d.A}]=b(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)(y,{in:l,onEnter:a,onEntering:o,onEntered:i,onExit:f,onExiting:p,onExited:h,mountOnEnter:g,unmountOnExit:x,children:(0,c.jsx)(n,Object.assign({},r,{ref:t,hidden:!l,"aria-hidden":!l}))})})})});h.displayName="TabPanel";let g=e=>{let{id:t,generateChildId:n,onSelect:r,activeKey:l,defaultActiveKey:d,transition:f,mountOnEnter:p,unmountOnExit:v,children:m}=e,[b,h]=(0,o.iC)(l,d,r),g=(0,i.Cc)(t),x=(0,a.useMemo)(()=>n||((e,t)=>g?`${g}-${t}-${e}`:null),[g,n]),y=(0,a.useMemo)(()=>({onSelect:h,activeKey:b,transition:f,mountOnEnter:p||!1,unmountOnExit:v||!1,getControlledId:e=>x(e,"tabpane"),getControllerId:e=>x(e,"tab")}),[h,b,f,p,v,x]);return(0,c.jsx)(s.A.Provider,{value:y,children:(0,c.jsx)(u.A.Provider,{value:h||null,children:m})})};g.Panel=h;var x=n(3281);function y(e){return"boolean"==typeof e?e?x.A:d.A:e}let A=e=>{let{transition:t,...n}=e;return(0,c.jsx)(g,{...n,transition:y(t)})};A.displayName="TabContainer";var j=n(4617),C=n.n(j),E=n(1653);let w=a.forwardRef((e,t)=>{let{className:n,bsPrefix:r,as:l="div",...a}=e;return r=(0,E.oU)(r,"tab-content"),(0,c.jsx)(l,{ref:t,className:C()(n,r),...a})});w.displayName="TabContent";let I=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:h,onExited:g,mountOnEnter:A,unmountOnExit:j,transition:w=x.A}]=b({...l,transition:y(r)}),I=(0,E.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:h,onExited:g,mountOnEnter:A,unmountOnExit:j,children:(0,c.jsx)(o,{...i,ref:t,className:C()(a,I,d&&"active")})})})})});I.displayName="TabPane";let O={eventKey:l().oneOfType([l().string,l().number]),title:l().node.isRequired,disabled:l().bool,tabClassName:l().string,tabAttrs:l().object},N=()=>{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")};N.propTypes=O;let R=Object.assign(N,{Container:A,Content:w,Pane:I})},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:b,...h}=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:b,autoComplete:"off",checked:!!d,disabled:!!v,onChange:f||u,id:m}),(0,s.jsx)(i.A,{...h,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"}),b=()=>null==f?[]:[].concat(f),h=(e,t)=>{if(!p)return;let n=b(),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=b(),{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=>h(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})},9678:(e,t,n)=>{"use strict";n.d(t,{i:()=>a,w:()=>o});var r=n(6788),l=n(8123);let a=(0,r.w)("Ch9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvEg9nb29nbGUucHJvdG9idWYiKwoJVGltZXN0YW1wEg8KB3NlY29uZHMYASABKAMSDQoFbmFub3MYAiABKAVChQEKE2NvbS5nb29nbGUucHJvdG9idWZCDlRpbWVzdGFtcFByb3RvUAFaMmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3RpbWVzdGFtcHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),o=(0,l.Z)(a,0)},1936:(e,t,n)=>{"use strict";n.d(t,{Ax:()=>a,g8:()=>o});var r=n(6788),l=n(8123);let a=(0,r.w)("Ch5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIcCgtEb3VibGVWYWx1ZRINCgV2YWx1ZRgBIAEoASIbCgpGbG9hdFZhbHVlEg0KBXZhbHVlGAEgASgCIhsKCkludDY0VmFsdWUSDQoFdmFsdWUYASABKAMiHAoLVUludDY0VmFsdWUSDQoFdmFsdWUYASABKAQiGwoKSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoBSIcCgtVSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoDSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUSDQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDEKDAQoTY29tLmdvb2dsZS5wcm90b2J1ZkINV3JhcHBlcnNQcm90b1ABWjFnb29nbGUuZ29sYW5nLm9yZy9wcm90b2J1Zi90eXBlcy9rbm93bi93cmFwcGVyc3Bi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),o=(0,l.Z)(a,7)}}]); \ No newline at end of file diff --git a/_next/static/chunks/375-52ec0affffdac139.js b/_next/static/chunks/375-52ec0affffdac139.js new file mode 100644 index 00000000..e210db7c --- /dev/null +++ b/_next/static/chunks/375-52ec0affffdac139.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[375],{9693:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});let n=r(306),i=r(5155),a=n._(r(2115)),o=n._(r(6107)),l={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function u(e){let{res:t,err:r}=e;return{statusCode:t&&t.statusCode?t.statusCode:r?r.statusCode:404}}let s={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,r=this.props.title||l[e]||"An unexpected error has occurred";return(0,i.jsxs)("div",{style:s.error,children:[(0,i.jsx)(o.default,{children:(0,i.jsx)("title",{children:e?e+": "+r:"Application error: a client-side exception has occurred"})}),(0,i.jsxs)("div",{style:s.desc,children:[(0,i.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,i.jsx)("h1",{className:"next-error-h1",style:s.h1,children:e}):null,(0,i.jsx)("div",{style:s.wrap,children:(0,i.jsxs)("h2",{style:s.h2,children:[this.props.title||e?r:(0,i.jsx)(i.Fragment,{children:"Application error: a client-side exception has occurred (see the browser console for more information)"}),"."]})})]})]})}}d.displayName="ErrorPage",d.getInitialProps=u,d.origGetInitialProps=u,("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 b},defaultHead:function(){return f}});let i=r(306),a=r(9955),o=r(5155),l=a._(r(2115)),u=i._(r(1172)),s=r(3003),d=r(1147),c=r(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===l.default.Fragment?e.concat(l.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 h=["name","httpEquiv","charSet","itemProp"];function g(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 i=>{let a=!0,o=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){o=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?a=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?a=!1:t.add(i.type);break;case"meta":for(let e=0,t=h.length;e{let i=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,l.default.cloneElement(e,t)}return l.default.cloneElement(e,{key:i})})}let b=function(e){let{children:t}=e,r=(0,l.useContext)(s.AmpStateContext),n=(0,l.useContext)(d.HeadManagerContext);return(0,o.jsx)(u.default,{reduceComponentsToState:g,headManager:n,inAmpMode:(0,c.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 l}});let n=r(2115),i="undefined"==typeof window,a=i?()=>{}:n.useLayoutEffect,o=i?()=>{}:n.useEffect;function l(e){let{headManager:t,reduceComponentsToState:r}=e;function l(){if(t&&t.mountedInstances){let i=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(i,e))}}if(i){var u;null==t||null==(u=t.mountedInstances)||u.add(e.children),l()}return a(()=>{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)}}),a(()=>(t&&(t._pendingUpdate=l),()=>{t&&(t._pendingUpdate=l)})),o(()=>(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)},4216:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(4617),i=r.n(n),a=r(2115),o=r(1653),l=r(5155);let u=a.forwardRef((e,t)=>{let{bsPrefix:r,variant:n,animation:a="border",size:u,as:s="div",className:d,...c}=e;r=(0,o.oU)(r,"spinner");let f="".concat(r,"-").concat(a);return(0,l.jsx)(s,{ref:t,...c,className:i()(d,f,u&&"".concat(f,"-").concat(u),n&&"text-".concat(n))})});u.displayName="Spinner";let s=u},3027:(e,t,r)=>{"use strict";var n=r(2115),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=n.useState,o=n.useEffect,l=n.useLayoutEffect,u=n.useDebugValue;function s(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!i(e,r)}catch(e){return!0}}var d="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=a({inst:{value:r,getSnapshot:t}}),i=n[0].inst,d=n[1];return l(function(){i.value=r,i.getSnapshot=t,s(i)&&d({inst:i})},[e,r,t]),o(function(){return s(i)&&d({inst:i}),e(function(){s(i)&&d({inst:i})})},[e]),u(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:d},4236:(e,t,r)=>{"use strict";e.exports=r(3027)},1862:(e,t,r)=>{"use strict";r.d(t,{BE:()=>Z,Es:()=>C,Ht:()=>Q,Tn:()=>u,X3:()=>R,ZH:()=>a,aw:()=>G,b0:()=>l,bZ:()=>h,bu:()=>P,dO:()=>T,lK:()=>V,lg:()=>I,mF:()=>M,mf:()=>j,qm:()=>K,qv:()=>o,r9:()=>E,rL:()=>s,sb:()=>H});var n=r(2115);let i=()=>{},a=i(),o=Object,l=e=>e===a,u=e=>"function"==typeof e,s=(e,t)=>({...e,...t}),d=e=>u(e.then),c=new WeakMap,f=0,p=e=>{let t,r;let n=typeof e,i=e&&e.constructor,a=i==Date;if(o(e)!==e||a||i==RegExp)t=a?e.toJSON():"symbol"==n?e.toString():"string"==n?JSON.stringify(e):""+e;else{if(t=c.get(e))return t;if(t=++f+"~",c.set(e,t),i==Array){for(r=0,t="@";rm&&typeof window.requestAnimationFrame!=y,E=(e,t)=>{let r=h.get(e);return[()=>!l(t)&&e.get(t)||g,n=>{if(!l(t)){let i=e.get(t);t in b||(b[t]=i),r[5](t,s(i,n),i||g)}},r[6],()=>!l(t)&&t in b?b[t]:!l(t)&&e.get(t)||g]},w=!0,[O,x]=m&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[i,i],S={initFocus:e=>(v&&document.addEventListener("visibilitychange",e),O("focus",e),()=>{v&&document.removeEventListener("visibilitychange",e),x("focus",e)}),initReconnect:e=>{let t=()=>{w=!0,e()},r=()=>{w=!1};return O("online",t),O("offline",r),()=>{x("online",t),x("offline",r)}}},T=!n.useId,R=!m||"Deno"in window,j=e=>_()?window.requestAnimationFrame(e):setTimeout(e,1),C=R?n.useEffect:n.useLayoutEffect,k="undefined"!=typeof navigator&&navigator.connection,A=!R&&k&&(["slow-2g","2g"].includes(k.effectiveType)||k.saveData),V=e=>{if(u(e))try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?p(e):"",t]},L=0,I=()=>++L;var P={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:0,MUTATE_EVENT:2,RECONNECT_EVENT:1};async function M(...e){let[t,r,n,i]=e,o=s({populateCache:!0,throwOnError:!0},"boolean"==typeof i?{revalidate:i}:i||{}),c=o.populateCache,f=o.rollbackOnError,p=o.optimisticData,g=e=>"function"==typeof f?f(e):!1!==f,b=o.throwOnError;if(u(r)){let e=[];for(let n of t.keys())!/^\$(inf|sub)\$/.test(n)&&r(t.get(n)._k)&&e.push(n);return Promise.all(e.map(y))}return y(r);async function y(r){let i;let[s]=V(r);if(!s)return;let[f,y]=E(t,s),[m,v,_,w]=h.get(t),O=()=>{let e=m[s];return(u(o.revalidate)?o.revalidate(f().data,r):!1!==o.revalidate)&&(delete _[s],delete w[s],e&&e[0])?e[0](2).then(()=>f().data):f().data};if(e.length<3)return O();let x=n,S=I();v[s]=[S,0];let T=!l(p),R=f(),j=R.data,C=R._c,k=l(C)?j:C;if(T&&y({data:p=u(p)?p(k,j):p,_c:k}),u(x))try{x=x(k)}catch(e){i=e}if(x&&d(x)){if(x=await x.catch(e=>{i=e}),S!==v[s][0]){if(i)throw i;return x}i&&T&&g(i)&&(c=!0,y({data:k,_c:a}))}if(c&&!i&&(u(c)?y({data:c(x,k),error:a,_c:a}):y({data:x,error:a,_c:a})),v[s][1]=I(),Promise.resolve(O()).then(()=>{y({_c:a})}),i){if(b)throw i;return}return x}}let N=(e,t)=>{for(let r in e)e[r][0]&&e[r][0](t)},D=(e,t)=>{if(!h.has(e)){let r=s(S,t),n={},o=M.bind(a,e),l=i,u={},d=(e,t)=>{let r=u[e]||[];return u[e]=r,r.push(t),()=>r.splice(r.indexOf(t),1)},c=(t,r,n)=>{e.set(t,r);let i=u[t];if(i)for(let e of i)e(r,n)},f=()=>{if(!h.has(e)&&(h.set(e,[n,{},{},{},o,c,d]),!R)){let t=r.initFocus(setTimeout.bind(a,N.bind(a,n,0))),i=r.initReconnect(setTimeout.bind(a,N.bind(a,n,1)));l=()=>{t&&t(),i&&i(),h.delete(e)}}};return f(),[e,o,f,l]}return[e,h.get(e)[4]]},[U,F]=D(new Map),H=s({onLoadingSlow:i,onSuccess:i,onError:i,onErrorRetry:(e,t,r,n,i)=>{let a=r.errorRetryCount,o=i.retryCount,u=~~((Math.random()+.5)*(1<<(o<8?o:8)))*r.errorRetryInterval;(l(a)||!(o>a))&&setTimeout(n,u,i)},onDiscarded:i,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:A?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:A?5e3:3e3,compare:(e,t)=>p(e)==p(t),isPaused:()=>!1,cache:U,mutate:F,fallback:{}},{isOnline:()=>w,isVisible:()=>{let e=v&&document.visibilityState;return l(e)||"hidden"!==e}}),q=(e,t)=>{let r=s(e,t);if(t){let{use:n,fallback:i}=e,{use:a,fallback:o}=t;n&&a&&(r.use=n.concat(a)),i&&o&&(r.fallback=s(i,o))}return r},W=(0,n.createContext)({}),Z=e=>{let{value:t}=e,r=(0,n.useContext)(W),i=u(t),o=(0,n.useMemo)(()=>i?t(r):t,[i,r,t]),l=(0,n.useMemo)(()=>i?o:q(r,o),[i,r,o]),d=o&&o.provider,c=(0,n.useRef)(a);d&&!c.current&&(c.current=D(d(l.cache||U),o));let f=c.current;return f&&(l.cache=f[0],l.mutate=f[1]),C(()=>{if(f)return f[2]&&f[2](),f[3]},[]),(0,n.createElement)(W.Provider,s(e,{value:l}))},$=m&&window.__SWR_DEVTOOLS_USE__,B=$?window.__SWR_DEVTOOLS_USE__:[],X=e=>u(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],z=()=>s(H,(0,n.useContext)(W)),J=B.concat(e=>(t,r,n)=>{let i=r&&((...e)=>{let[n]=V(t),[,,,i]=h.get(U);if(n.startsWith("$inf$"))return r(...e);let a=i[n];return l(a)?r(...e):(delete i[n],a)});return e(t,i,n)}),K=e=>function(...t){let r=z(),[n,i,a]=X(t),o=q(r,a),l=e,{use:u}=o,s=(u||[]).concat(J);for(let e=s.length;e--;)l=s[e](l);return l(n,i||o.fetcher||null,o)},G=(e,t,r)=>{let n=t[e]||(t[e]=[]);return n.push(r),()=>{let e=n.indexOf(r);e>=0&&(n[e]=n[n.length-1],n.pop())}},Q=(e,t)=>(...r)=>{let[n,i,a]=X(r),o=(a.use||[]).concat(t);return e(n,i,{...a,use:o})};$&&(window.__SWR_DEVTOOLS_REACT__=n)},4995:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>u});var n=r(2115),i=r(4236),a=r(1862);let o=n.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}),l={dedupe:!0};a.qv.defineProperty(a.BE,"defaultValue",{value:a.sb});let u=(0,a.qm)((e,t,r)=>{let{cache:u,compare:s,suspense:d,fallbackData:c,revalidateOnMount:f,revalidateIfStale:p,refreshInterval:h,refreshWhenHidden:g,refreshWhenOffline:b,keepPreviousData:y}=r,[m,v,_,E]=a.bZ.get(u),[w,O]=(0,a.lK)(e),x=(0,n.useRef)(!1),S=(0,n.useRef)(!1),T=(0,n.useRef)(w),R=(0,n.useRef)(t),j=(0,n.useRef)(r),C=()=>j.current,k=()=>C().isVisible()&&C().isOnline(),[A,V,L,I]=(0,a.r9)(u,w),P=(0,n.useRef)({}).current,M=(0,a.b0)(c)?r.fallback[w]:c,N=(e,t)=>{for(let r in P)if("data"===r){if(!s(e[r],t[r])&&(!(0,a.b0)(e[r])||!s(B,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},D=(0,n.useMemo)(()=>{let e=!!w&&!!t&&((0,a.b0)(f)?!C().isPaused()&&!d&&(!!(0,a.b0)(p)||p):f),r=t=>{let r=(0,a.rL)(t);return(delete r._k,e)?{isValidating:!0,isLoading:!0,...r}:r},n=A(),i=I(),o=r(n),l=n===i?o:r(i),u=o;return[()=>{let e=r(A());return N(e,u)?(u.data=e.data,u.isLoading=e.isLoading,u.isValidating=e.isValidating,u.error=e.error,u):(u=e,e)},()=>l]},[u,w]),U=(0,i.useSyncExternalStore)((0,n.useCallback)(e=>L(w,(t,r)=>{N(r,t)||e()}),[u,w]),D[0],D[1]),F=!x.current,H=m[w]&&m[w].length>0,q=U.data,W=(0,a.b0)(q)?M:q,Z=U.error,$=(0,n.useRef)(W),B=y?(0,a.b0)(q)?$.current:q:W,X=(!H||!!(0,a.b0)(Z))&&(F&&!(0,a.b0)(f)?f:!C().isPaused()&&(d?!(0,a.b0)(W)&&p:(0,a.b0)(W)||p)),z=!!(w&&t&&F&&X),J=(0,a.b0)(U.isValidating)?z:U.isValidating,K=(0,a.b0)(U.isLoading)?z:U.isLoading,G=(0,n.useCallback)(async e=>{let t,n;let i=R.current;if(!w||!i||S.current||C().isPaused())return!1;let o=!0,l=e||{},u=!_[w]||!l.dedupe,d=()=>a.dO?!S.current&&w===T.current&&x.current:w===T.current,c={isValidating:!1,isLoading:!1},f=()=>{V(c)},p=()=>{let e=_[w];e&&e[1]===n&&delete _[w]},h={isValidating:!0};(0,a.b0)(A().data)&&(h.isLoading=!0);try{if(u&&(V(h),r.loadingTimeout&&(0,a.b0)(A().data)&&setTimeout(()=>{o&&d()&&C().onLoadingSlow(w,r)},r.loadingTimeout),_[w]=[i(O),(0,a.lg)()]),[t,n]=_[w],t=await t,u&&setTimeout(p,r.dedupingInterval),!_[w]||_[w][1]!==n)return u&&d()&&C().onDiscarded(w),!1;c.error=a.ZH;let e=v[w];if(!(0,a.b0)(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return f(),u&&d()&&C().onDiscarded(w),!1;let l=A().data;c.data=s(l,t)?l:t,u&&d()&&C().onSuccess(t,w,r)}catch(r){p();let e=C(),{shouldRetryOnError:t}=e;!e.isPaused()&&(c.error=r,u&&d()&&(e.onError(r,w,e),(!0===t||(0,a.Tn)(t)&&t(r))&&(!C().revalidateOnFocus||!C().revalidateOnReconnect||k())&&e.onErrorRetry(r,w,e,e=>{let t=m[w];t&&t[0]&&t[0](a.bu.ERROR_REVALIDATE_EVENT,e)},{retryCount:(l.retryCount||0)+1,dedupe:!0})))}return o=!1,f(),!0},[w,u]),Q=(0,n.useCallback)((...e)=>(0,a.mF)(u,T.current,...e),[]);if((0,a.Es)(()=>{R.current=t,j.current=r,(0,a.b0)(q)||($.current=q)}),(0,a.Es)(()=>{if(!w)return;let e=G.bind(a.ZH,l),t=0,r=(0,a.aw)(w,m,(r,n={})=>{if(r==a.bu.FOCUS_EVENT){let r=Date.now();C().revalidateOnFocus&&r>t&&k()&&(t=r+C().focusThrottleInterval,e())}else if(r==a.bu.RECONNECT_EVENT)C().revalidateOnReconnect&&k()&&e();else if(r==a.bu.MUTATE_EVENT)return G();else if(r==a.bu.ERROR_REVALIDATE_EVENT)return G(n)});return S.current=!1,T.current=w,x.current=!0,V({_k:O}),X&&((0,a.b0)(W)||a.X3?e():(0,a.mf)(e)),()=>{S.current=!0,r()}},[w]),(0,a.Es)(()=>{let e;function t(){let t=(0,a.Tn)(h)?h(A().data):h;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!A().error&&(g||C().isVisible())&&(b||C().isOnline())?G(l).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[h,g,b,w]),(0,n.useDebugValue)(B),d&&(0,a.b0)(W)&&w){if(!a.dO&&a.X3)throw Error("Fallback data is required when using suspense in SSR.");R.current=t,j.current=r,S.current=!1;let e=E[w];if((0,a.b0)(e)||o(Q(e)),(0,a.b0)(Z)){let e=G(l);(0,a.b0)(B)||(e.status="fulfilled",e.value=!0),o(e)}else throw Z}return{mutate:Q,get data(){return P.data=!0,B},get error(){return P.error=!0,Z},get isValidating(){return P.isValidating=!0,J},get isLoading(){return P.isLoading=!0,K}}})}}]); \ No newline at end of file diff --git a/_next/static/chunks/376-62ad2f1ee5ef349c.js b/_next/static/chunks/376-62ad2f1ee5ef349c.js deleted file mode 100644 index 4c5b9415..00000000 --- a/_next/static/chunks/376-62ad2f1ee5ef349c.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[376],{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),l=r._(n(2115)),d=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 l.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)(d.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 p}});let o=n(306),l=n(9955),d=n(5155),i=l._(n(2115)),s=o._(n(1172)),a=n(3003),c=n(1147),u=n(675);function p(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 f(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 b(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 l=!0,d=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){d=!0;let t=o.key.slice(o.key.indexOf("$")+1);e.has(t)?l=!1:e.add(t)}switch(o.type){case"title":case"base":t.has(o.type)?l=!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,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,d.jsx)(s.default,{reduceComponentsToState:b,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,l=o?()=>{}:r.useLayoutEffect,d=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 l(()=>{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)}}),l(()=>(t&&(t._pendingUpdate=i),()=>{t&&(t._pendingUpdate=i)})),d(()=>(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),l=n(2115),d=n(1653),i=n(5155);let s=l.forwardRef((e,t)=>{let{bsPrefix:n,size:r,vertical:l=!1,className:s,role:a="group",as:c="div",...u}=e,p=(0,d.oU)(n,"btn-group"),f=p;return l&&(f="".concat(p,"-vertical")),(0,i.jsx)(c,{...u,ref:t,role:a,className:o()(s,f,r&&"".concat(p,"-").concat(r))})});s.displayName="ButtonGroup";let a=s},8143:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(2115),o=n(1996),l=n.n(o),d=n(9637),i=n(5570),s=n(3381);let a=l().oneOf(["start","end"]),c=l().oneOfType([a,l().shape({sm:a}),l().shape({md:a}),l().shape({lg:a}),l().shape({xl:a}),l().shape({xxl:a}),l().object]);var u=n(5155);let p={id:l().string,href:l().string,onClick:l().func,title:l().node.isRequired,disabled:l().bool,align:c,menuRole:l().string,renderMenuOnMount:l().bool,rootCloseEvent:l().string,menuVariant:l().oneOf(["dark"]),flip:l().bool,bsPrefix:l().string,variant:l().string,size:l().string},f=r.forwardRef((e,t)=>{let{title:n,children:r,bsPrefix:o,rootCloseEvent:l,variant:a,size:c,menuRole:p,renderMenuOnMount:f,disabled:h,href:b,id:g,menuVariant:m,flip:y,...v}=e;return(0,u.jsxs)(d.A,{ref:t,...v,children:[(0,u.jsx)(i.A,{id:g,href:b,size:c,variant:a,disabled:h,childBsPrefix:o,children:n}),(0,u.jsx)(s.A,{role:p,renderOnMount:f,rootCloseEvent:l,variant:m,flip:y,children:r})]})});f.displayName="DropdownButton",f.propTypes=p;let h=f},6121:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(4617),o=n.n(r),l=n(2115),d=n(1653),i=n(5155);let s=l.forwardRef((e,t)=>{let{bsPrefix:n,className:r,as:l="div",...s}=e,a=(0,d.oU)(n,"row"),c=(0,d.gy)(),u=(0,d.Jm)(),p="".concat(a,"-cols"),f=[];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&&f.push("".concat(p).concat(e!==u?"-".concat(e):"","-").concat(t))}),(0,i.jsx)(l,{ref:t,...s,className:o()(r,a,...f)})});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),l=n(2115),d=n(1653),i=n(5155);let s=l.forwardRef((e,t)=>{let{bsPrefix:n,variant:r,animation:l="border",size:s,as:a="div",className:c,...u}=e;n=(0,d.oU)(n,"spinner");let p="".concat(n,"-").concat(l);return(0,i.jsx)(a,{ref:t,...u,className:o()(c,p,s&&"".concat(p,"-").concat(s),r&&"text-".concat(r))})});s.displayName="Spinner";let a=s},3620:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});let r=(0,n(6788).w)("Ch5nb29nbGUvcHJvdG9idWYvZHVyYXRpb24ucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIqCghEdXJhdGlvbhIPCgdzZWNvbmRzGAEgASgDEg0KBW5hbm9zGAIgASgFQoMBChNjb20uZ29vZ2xlLnByb3RvYnVmQg1EdXJhdGlvblByb3RvUAFaMWdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2R1cmF0aW9ucGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw")},1936:(e,t,n)=>{"use strict";n.d(t,{Ax:()=>l,g8:()=>d});var r=n(6788),o=n(8123);let l=(0,r.w)("Ch5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIcCgtEb3VibGVWYWx1ZRINCgV2YWx1ZRgBIAEoASIbCgpGbG9hdFZhbHVlEg0KBXZhbHVlGAEgASgCIhsKCkludDY0VmFsdWUSDQoFdmFsdWUYASABKAMiHAoLVUludDY0VmFsdWUSDQoFdmFsdWUYASABKAQiGwoKSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoBSIcCgtVSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoDSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUSDQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDEKDAQoTY29tLmdvb2dsZS5wcm90b2J1ZkINV3JhcHBlcnNQcm90b1ABWjFnb29nbGUuZ29sYW5nLm9yZy9wcm90b2J1Zi90eXBlcy9rbm93bi93cmFwcGVyc3Bi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),d=(0,o.Z)(l,7)}}]); \ No newline at end of file diff --git a/_next/static/chunks/392-4c91a2b8ad700123.js b/_next/static/chunks/392-4c91a2b8ad700123.js deleted file mode 100644 index e437da40..00000000 --- a/_next/static/chunks/392-4c91a2b8ad700123.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[392],{9693:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let r=n(306),o=n(5155),l=r._(n(2115)),a=r._(n(6107)),s={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function d(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 i extends l.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:c.error,children:[(0,o.jsx)(a.default,{children:(0,o.jsx)("title",{children:e?e+": "+n:"Application error: a client-side exception has occurred"})}),(0,o.jsxs)("div",{style:c.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:c.h1,children:e}):null,(0,o.jsx)("div",{style:c.wrap,children:(0,o.jsxs)("h2",{style:c.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)"}),"."]})})]})]})}}i.displayName="ErrorPage",i.getInitialProps=d,i.origGetInitialProps=d,("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),l=n(9955),a=n(5155),s=l._(n(2115)),d=o._(n(1172)),c=n(3003),i=n(1147),u=n(675);function p(e){void 0===e&&(e=!1);let t=[(0,a.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,a.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 b(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 l=!0,a=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){a=!0;let t=o.key.slice(o.key.indexOf("$")+1);e.has(t)?l=!1:e.add(t)}switch(o.type){case"title":case"base":t.has(o.type)?l=!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)(c.AmpStateContext),r=(0,s.useContext)(i.HeadManagerContext);return(0,a.jsx)(d.default,{reduceComponentsToState:b,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,l=o?()=>{}:r.useLayoutEffect,a=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 d;null==t||null==(d=t.mountedInstances)||d.add(e.children),s()}return l(()=>{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)}}),l(()=>(t&&(t._pendingUpdate=s),()=>{t&&(t._pendingUpdate=s)})),a(()=>(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),o=n.n(r),l=n(2115),a=n(1653),s=n(5155);let d=l.forwardRef((e,t)=>{let{bsPrefix:n,size:r,vertical:l=!1,className:d,role:c="group",as:i="div",...u}=e,p=(0,a.oU)(n,"btn-group"),f=p;return l&&(f="".concat(p,"-vertical")),(0,s.jsx)(i,{...u,ref:t,role:c,className:o()(d,f,r&&"".concat(p,"-").concat(r))})});d.displayName="ButtonGroup";let c=d},8003:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(4617),o=n.n(r),l=n(2115),a=n(1653),s=n(2389),d=n(2471),c=n(5155);let i=l.forwardRef((e,t)=>{let{className:n,bsPrefix:r,as:l="span",...s}=e;return r=(0,a.oU)(r,"input-group-text"),(0,c.jsx)(l,{ref:t,className:o()(n,r),...s})});i.displayName="InputGroupText";let u=l.forwardRef((e,t)=>{let{bsPrefix:n,size:r,hasValidation:s,className:i,as:u="div",...p}=e;n=(0,a.oU)(n,"input-group");let f=(0,l.useMemo)(()=>({}),[]);return(0,c.jsx)(d.A.Provider,{value:f,children:(0,c.jsx)(u,{ref:t,...p,className:o()(i,n,r&&"".concat(n,"-").concat(r),s&&"has-validation")})})});u.displayName="InputGroup";let p=Object.assign(u,{Text:i,Radio:e=>(0,c.jsx)(i,{children:(0,c.jsx)(s.A,{type:"radio",...e})}),Checkbox:e=>(0,c.jsx)(i,{children:(0,c.jsx)(s.A,{type:"checkbox",...e})})})},6121:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(4617),o=n.n(r),l=n(2115),a=n(1653),s=n(5155);let d=l.forwardRef((e,t)=>{let{bsPrefix:n,className:r,as:l="div",...d}=e,c=(0,a.oU)(n,"row"),i=(0,a.gy)(),u=(0,a.Jm)(),p="".concat(c,"-cols"),f=[];return i.forEach(e=>{let t;let n=d[e];delete d[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)(l,{ref:t,...d,className:o()(r,c,...f)})});d.displayName="Row";let c=d},4216:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(4617),o=n.n(r),l=n(2115),a=n(1653),s=n(5155);let d=l.forwardRef((e,t)=>{let{bsPrefix:n,variant:r,animation:l="border",size:d,as:c="div",className:i,...u}=e;n=(0,a.oU)(n,"spinner");let p="".concat(n,"-").concat(l);return(0,s.jsx)(c,{ref:t,...u,className:o()(i,p,d&&"".concat(p,"-").concat(d),r&&"text-".concat(r))})});d.displayName="Spinner";let c=d},3339:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(4617),o=n.n(r),l=n(2115),a=n(1653),s=n(5155);let d=l.forwardRef((e,t)=>{let{as:n="div",bsPrefix:r,className:l,direction:d,gap:c,...i}=e;r=(0,a.oU)(r,"horizontal"===d?"hstack":"vstack");let u=(0,a.gy)(),p=(0,a.Jm)();return(0,s.jsx)(n,{...i,ref:t,className:o()(l,r,...function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.Jy,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.ff,r=[];return Object.entries(e).forEach(e=>{let[o,l]=e;null!=l&&("object"==typeof l?t.forEach(e=>{let t=l[e];null!=t&&r.push("".concat(o).concat(e!==n?"-".concat(e):"","-").concat(t))}):r.push("".concat(o,"-").concat(l)))}),r}({gap:c},u,p))})});d.displayName="Stack";let c=d},9537:(e,t,n)=>{"use strict";function r(e,t,...n){if(0==n.length)return e.enums[t];let o=n.pop();return n.reduce((e,t)=>e.nestedMessages[t],e.messages[t]).nestedEnums[o]}n.d(t,{R:()=>r})},9678:(e,t,n)=>{"use strict";n.d(t,{i:()=>l,w:()=>a});var r=n(6788),o=n(8123);let l=(0,r.w)("Ch9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvEg9nb29nbGUucHJvdG9idWYiKwoJVGltZXN0YW1wEg8KB3NlY29uZHMYASABKAMSDQoFbmFub3MYAiABKAVChQEKE2NvbS5nb29nbGUucHJvdG9idWZCDlRpbWVzdGFtcFByb3RvUAFaMmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3RpbWVzdGFtcHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),a=(0,o.Z)(l,0)},1936:(e,t,n)=>{"use strict";n.d(t,{Ax:()=>l,g8:()=>a});var r=n(6788),o=n(8123);let l=(0,r.w)("Ch5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIcCgtEb3VibGVWYWx1ZRINCgV2YWx1ZRgBIAEoASIbCgpGbG9hdFZhbHVlEg0KBXZhbHVlGAEgASgCIhsKCkludDY0VmFsdWUSDQoFdmFsdWUYASABKAMiHAoLVUludDY0VmFsdWUSDQoFdmFsdWUYASABKAQiGwoKSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoBSIcCgtVSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoDSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUSDQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDEKDAQoTY29tLmdvb2dsZS5wcm90b2J1ZkINV3JhcHBlcnNQcm90b1ABWjFnb29nbGUuZ29sYW5nLm9yZy9wcm90b2J1Zi90eXBlcy9rbm93bi93cmFwcGVyc3Bi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),a=(0,o.Z)(l,7)}}]); \ No newline at end of file diff --git a/_next/static/chunks/681-98f771bce319b29e.js b/_next/static/chunks/681-98f771bce319b29e.js new file mode 100644 index 00000000..293d45b4 --- /dev/null +++ b/_next/static/chunks/681-98f771bce319b29e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[681],{9814:(e,n,t)=>{t.d(n,{A:()=>x});var r=t(2819),l=t(2115),a=t(5418),o=t(1194),i=t(2257),s=t(7644),u=t(8419),d=t(4672),c=t(3973),f=t(5155);let v=["as","onSelect","activeKey","role","onKeyDown"],b=()=>{},m=(0,d.sE)("event-key"),A=l.forwardRef((e,n)=>{let t,c,{as:A="div",onSelect:x,activeKey:g,role:p,onKeyDown:y}=e,h=function(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}(e,v),E=(0,a.A)(),C=(0,l.useRef)(!1),j=(0,l.useContext)(s.A),w=(0,l.useContext)(u.A);w&&(p=p||"tablist",g=w.activeKey,t=w.getControlledId,c=w.getControllerId);let R=(0,l.useRef)(null),N=e=>{let n=R.current;if(!n)return null;let t=(0,r.A)(n,`[${m}]:not([aria-disabled=true])`),l=n.querySelector("[aria-selected=true]");if(!l||l!==document.activeElement)return null;let a=t.indexOf(l);if(-1===a)return null;let o=a+e;return o>=t.length&&(o=0),o<0&&(o=t.length-1),t[o]},I=(e,n)=>{null!=e&&(null==x||x(e,n),null==j||j(e,n))};(0,l.useEffect)(()=>{if(R.current&&C.current){let e=R.current.querySelector(`[${m}][aria-selected=true]`);null==e||e.focus()}C.current=!1});let O=(0,o.A)(n,R);return(0,f.jsx)(s.A.Provider,{value:I,children:(0,f.jsx)(i.A.Provider,{value:{role:p,activeKey:(0,s.u)(g),getControlledId:t||b,getControllerId:c||b},children:(0,f.jsx)(A,Object.assign({},h,{onKeyDown:e=>{let n;if(null==y||y(e),w){switch(e.key){case"ArrowLeft":case"ArrowUp":n=N(-1);break;case"ArrowRight":case"ArrowDown":n=N(1);break;default:return}n&&(e.preventDefault(),I(n.dataset[(0,d.y)("EventKey")]||null,e),C.current=!0,E())}},ref:O,role:p}))})})});A.displayName="Nav";let x=Object.assign(A,{Item:c.A})},3973:(e,n,t)=>{t.d(n,{A:()=>b,M:()=>f});var r=t(2115),l=t(8447),a=t(2257),o=t(7644),i=t(2773),s=t(4672),u=t(8419),d=t(5155);let c=["as","active","eventKey"];function f({key:e,onClick:n,active:t,id:i,role:d,disabled:c}){let f=(0,r.useContext)(o.A),v=(0,r.useContext)(a.A),b=(0,r.useContext)(u.A),m=t,A={role:d};if(v){d||"tablist"!==v.role||(A.role="tab");let n=v.getControllerId(null!=e?e:null),r=v.getControlledId(null!=e?e:null);A[(0,s.sE)("event-key")]=e,A.id=n||i,((m=null==t&&null!=e?v.activeKey===e:t)||!(null!=b&&b.unmountOnExit)&&!(null!=b&&b.mountOnEnter))&&(A["aria-controls"]=r)}return"tab"===A.role&&(A["aria-selected"]=m,m||(A.tabIndex=-1),c&&(A.tabIndex=-1,A["aria-disabled"]=!0)),A.onClick=(0,l.A)(t=>{c||(null==n||n(t),null!=e&&f&&!t.isPropagationStopped()&&f(e,t))}),[A,{isActive:m}]}let v=r.forwardRef((e,n)=>{let{as:t=i.Ay,active:r,eventKey:l}=e,a=function(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}(e,c),[u,v]=f(Object.assign({key:(0,o.u)(l,a.href),active:r},a));return u[(0,s.sE)("active")]=v.isActive,(0,d.jsx)(t,Object.assign({},a,u,{ref:n}))});v.displayName="NavItem";let b=v},7498:(e,n,t)=>{t.d(n,{A:()=>o});var r=t(8447),l=t(1194),a=t(2115);let o=function({children:e,in:n,onExited:t,mountOnEnter:o,unmountOnExit:i}){let s=(0,a.useRef)(null),u=(0,a.useRef)(n),d=(0,r.A)(t);(0,a.useEffect)(()=>{n?u.current=!0:d(s.current)},[n,d]);let c=(0,l.A)(s,e.ref),f=(0,a.cloneElement)(e,{ref:c});return n?f:i||!u.current&&o?null:f}},8419:(e,n,t)=>{t.d(n,{A:()=>r});let r=t(2115).createContext(null)},1194:(e,n,t)=>{t.d(n,{A:()=>a});var r=t(2115);let l=e=>e&&"function"!=typeof e?n=>{e.current=n}:e,a=function(e,n){return(0,r.useMemo)(()=>(function(e,n){let t=l(e),r=l(n);return e=>{t&&t(e),r&&r(e)}})(e,n),[e,n])}},3614:(e,n,t)=>{t.d(n,{A:()=>u});var r=t(4617),l=t.n(r),a=t(2115),o=t(1653),i=t(5155);let s=a.forwardRef((e,n)=>{let{bsPrefix:t,size:r,vertical:a=!1,className:s,role:u="group",as:d="div",...c}=e,f=(0,o.oU)(t,"btn-group"),v=f;return a&&(v="".concat(f,"-vertical")),(0,i.jsx)(d,{...c,ref:n,role:u,className:l()(s,v,r&&"".concat(f,"-").concat(r))})});s.displayName="ButtonGroup";let u=s},8003:(e,n,t)=>{t.d(n,{A:()=>f});var r=t(4617),l=t.n(r),a=t(2115),o=t(1653),i=t(2389),s=t(2471),u=t(5155);let d=a.forwardRef((e,n)=>{let{className:t,bsPrefix:r,as:a="span",...i}=e;return r=(0,o.oU)(r,"input-group-text"),(0,u.jsx)(a,{ref:n,className:l()(t,r),...i})});d.displayName="InputGroupText";let c=a.forwardRef((e,n)=>{let{bsPrefix:t,size:r,hasValidation:i,className:d,as:c="div",...f}=e;t=(0,o.oU)(t,"input-group");let v=(0,a.useMemo)(()=>({}),[]);return(0,u.jsx)(s.A.Provider,{value:v,children:(0,u.jsx)(c,{ref:n,...f,className:l()(d,t,r&&"".concat(t,"-").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,n,t)=>{t.d(n,{A:()=>m});var r=t(4617),l=t.n(r),a=t(2115),o=t(6647),i=t(9814),s=t(1653),u=t(1668),d=t(7251),c=t(5155);let f=a.forwardRef((e,n)=>{let{className:t,bsPrefix:r,as:a="div",...o}=e;return r=(0,s.oU)(r,"nav-item"),(0,c.jsx)(a,{ref:n,className:l()(t,r),...o})});f.displayName="NavItem";var v=t(5748);let b=a.forwardRef((e,n)=>{let t,r;let{as:f="div",bsPrefix:v,variant:b,fill:m=!1,justify:A=!1,navbar:x,navbarScroll:g,className:p,activeKey:y,...h}=(0,o.Zw)(e,{activeKey:"onSelect"}),E=(0,s.oU)(v,"nav"),C=!1,j=(0,a.useContext)(u.A),w=(0,a.useContext)(d.A);return j?(t=j.bsPrefix,C=null==x||x):w&&({cardHeaderBsPrefix:r}=w),(0,c.jsx)(i.A,{as:f,ref:n,activeKey:y,className:l()(p,{[E]:!C,["".concat(t,"-nav")]:C,["".concat(t,"-nav-scroll")]:C&&g,["".concat(r,"-").concat(b)]:!!r,["".concat(E,"-").concat(b)]:!!b,["".concat(E,"-fill")]:m,["".concat(E,"-justified")]:A}),...h})});b.displayName="Nav";let m=Object.assign(b,{Item:f,Link:v.A})},5748:(e,n,t)=>{t.d(n,{A:()=>f});var r=t(4617),l=t.n(r),a=t(2115),o=t(9656),i=t(3973),s=t(7644),u=t(1653),d=t(5155);let c=a.forwardRef((e,n)=>{let{bsPrefix:t,className:r,as:a=o.A,active:c,eventKey:f,disabled:v=!1,...b}=e;t=(0,u.oU)(t,"nav-link");let[m,A]=(0,i.M)({key:(0,s.u)(f,b.href),active:c,disabled:v,...b});return(0,d.jsx)(a,{...b,...m,ref:n,disabled:v,className:l()(r,t,v&&"disabled",A.isActive&&"active")})});c.displayName="NavLink";let f=c},6121:(e,n,t)=>{t.d(n,{A:()=>u});var r=t(4617),l=t.n(r),a=t(2115),o=t(1653),i=t(5155);let s=a.forwardRef((e,n)=>{let{bsPrefix:t,className:r,as:a="div",...s}=e,u=(0,o.oU)(t,"row"),d=(0,o.gy)(),c=(0,o.Jm)(),f="".concat(u,"-cols"),v=[];return d.forEach(e=>{let n;let t=s[e];delete s[e],null!=t&&"object"==typeof t?{cols:n}=t:n=t,null!=n&&v.push("".concat(f).concat(e!==c?"-".concat(e):"","-").concat(n))}),(0,i.jsx)(a,{ref:n,...s,className:l()(r,u,...v)})});s.displayName="Row";let u=s},7471:(e,n,t)=>{t.d(n,{A:()=>O});var r=t(1996),l=t.n(r),a=t(2115),o=t(1079),i=t(1632),s=t(8419),u=t(7644),d=t(7498),c=t(5155);let f=["active","eventKey","mountOnEnter","transition","unmountOnExit","role","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],v=["activeKey","getControlledId","getControllerId"],b=["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 A(e){let{active:n,eventKey:t,mountOnEnter:r,transition:l,unmountOnExit:o,role:i="tabpanel",onEnter:d,onEntering:c,onEntered:b,onExit:A,onExiting:x,onExited:g}=e,p=m(e,f),y=(0,a.useContext)(s.A);if(!y)return[Object.assign({},p,{role:i}),{eventKey:t,isActive:n,mountOnEnter:r,transition:l,unmountOnExit:o,onEnter:d,onEntering:c,onEntered:b,onExit:A,onExiting:x,onExited:g}];let{activeKey:h,getControlledId:E,getControllerId:C}=y,j=m(y,v),w=(0,u.u)(t);return[Object.assign({},p,{role:i,id:E(t),"aria-labelledby":C(t)}),{eventKey:t,isActive:null==n&&null!=w?(0,u.u)(h)===w:n,transition:l||j.transition,mountOnEnter:null!=r?r:j.mountOnEnter,unmountOnExit:null!=o?o:j.unmountOnExit,onEnter:d,onEntering:c,onEntered:b,onExit:A,onExiting:x,onExited:g}]}let x=a.forwardRef((e,n)=>{let{as:t="div"}=e,[r,{isActive:l,onEnter:a,onEntering:o,onEntered:i,onExit:f,onExiting:v,onExited:x,mountOnEnter:g,unmountOnExit:p,transition:y=d.A}]=A(m(e,b));return(0,c.jsx)(s.A.Provider,{value:null,children:(0,c.jsx)(u.A.Provider,{value:null,children:(0,c.jsx)(y,{in:l,onEnter:a,onEntering:o,onEntered:i,onExit:f,onExiting:v,onExited:x,mountOnEnter:g,unmountOnExit:p,children:(0,c.jsx)(t,Object.assign({},r,{ref:n,hidden:!l,"aria-hidden":!l}))})})})});x.displayName="TabPanel";let g=e=>{let{id:n,generateChildId:t,onSelect:r,activeKey:l,defaultActiveKey:d,transition:f,mountOnEnter:v,unmountOnExit:b,children:m}=e,[A,x]=(0,o.iC)(l,d,r),g=(0,i.Cc)(n),p=(0,a.useMemo)(()=>t||((e,n)=>g?`${g}-${n}-${e}`:null),[g,t]),y=(0,a.useMemo)(()=>({onSelect:x,activeKey:A,transition:f,mountOnEnter:v||!1,unmountOnExit:b||!1,getControlledId:e=>p(e,"tabpane"),getControllerId:e=>p(e,"tab")}),[x,A,f,v,b,p]);return(0,c.jsx)(s.A.Provider,{value:y,children:(0,c.jsx)(u.A.Provider,{value:x||null,children:m})})};g.Panel=x;var p=t(3281);function y(e){return"boolean"==typeof e?e?p.A:d.A:e}let h=e=>{let{transition:n,...t}=e;return(0,c.jsx)(g,{...t,transition:y(n)})};h.displayName="TabContainer";var E=t(4617),C=t.n(E),j=t(1653);let w=a.forwardRef((e,n)=>{let{className:t,bsPrefix:r,as:l="div",...a}=e;return r=(0,j.oU)(r,"tab-content"),(0,c.jsx)(l,{ref:n,className:C()(t,r),...a})});w.displayName="TabContent";let R=a.forwardRef((e,n)=>{let{bsPrefix:t,transition:r,...l}=e,[{className:a,as:o="div",...i},{isActive:d,onEnter:f,onEntering:v,onEntered:b,onExit:m,onExiting:x,onExited:g,mountOnEnter:h,unmountOnExit:E,transition:w=p.A}]=A({...l,transition:y(r)}),R=(0,j.oU)(t,"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:v,onEntered:b,onExit:m,onExiting:x,onExited:g,mountOnEnter:h,unmountOnExit:E,children:(0,c.jsx)(o,{...i,ref:n,className:C()(a,R,d&&"active")})})})})});R.displayName="TabPane";let N={eventKey:l().oneOfType([l().string,l().number]),title:l().node.isRequired,disabled:l().bool,tabClassName:l().string,tabAttrs:l().object},I=()=>{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")};I.propTypes=N;let O=Object.assign(I,{Container:h,Content:w,Pane:R})},8627:(e,n,t)=>{t.d(n,{A:()=>c});var r=t(4617),l=t.n(r),a=t(2115),o=t(1653),i=t(2963),s=t(5155);let u=()=>void 0,d=a.forwardRef((e,n)=>{let{bsPrefix:t,name:r,className:a,checked:d,type:c,onChange:f,value:v,disabled:b,id:m,inputRef:A,...x}=e;return t=(0,o.oU)(t,"btn-check"),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("input",{className:t,name:r,type:c,value:v,ref:A,autoComplete:"off",checked:!!d,disabled:!!b,onChange:f||u,id:m}),(0,s.jsx)(i.A,{...x,ref:n,className:l()(a,b&&"disabled"),type:void 0,role:void 0,as:"label",htmlFor:m})]})});d.displayName="ToggleButton";let c=d},5166:(e,n,t)=>{t.d(n,{A:()=>f});var r=t(2115),l=t(7989),a=t.n(l),o=t(6647),i=t(4309),s=t(822),u=t(3614),d=t(8627),c=t(5155);let f=Object.assign(r.forwardRef((e,n)=>{let{children:t,type:l="radio",name:d,value:f,onChange:v,vertical:b=!1,...m}=(0,o.Zw)(e,{value:"onChange"}),A=()=>null==f?[]:[].concat(f),x=(e,n)=>{if(!v)return;let t=A(),r=-1!==t.indexOf(e);if("radio"===l){r||v(e,n);return}r?v(t.filter(n=>n!==e),n):v([...t,e],n)};return"radio"!==l||d||a()(!1),(0,c.jsx)(u.A,{...m,ref:n,vertical:b,children:(0,s.Tj)(t,e=>{let n=A(),{value:t,onChange:a}=e.props;return r.cloneElement(e,{type:l,name:e.name||d,checked:-1!==n.indexOf(t),onChange:(0,i.A)(a,e=>x(t,e))})})})}),{Button:d.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),l=0;l{function r(e,n,...t){if(0==t.length)return e.enums[n];let l=t.pop();return t.reduce((e,n)=>e.nestedMessages[n],e.messages[n]).nestedEnums[l]}t.d(n,{R:()=>r})},9678:(e,n,t)=>{t.d(n,{i:()=>a,w:()=>o});var r=t(6788),l=t(8123);let a=(0,r.w)("Ch9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvEg9nb29nbGUucHJvdG9idWYiKwoJVGltZXN0YW1wEg8KB3NlY29uZHMYASABKAMSDQoFbmFub3MYAiABKAVChQEKE2NvbS5nb29nbGUucHJvdG9idWZCDlRpbWVzdGFtcFByb3RvUAFaMmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3RpbWVzdGFtcHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),o=(0,l.Z)(a,0)},1936:(e,n,t)=>{t.d(n,{Ax:()=>a,g8:()=>o});var r=t(6788),l=t(8123);let a=(0,r.w)("Ch5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIcCgtEb3VibGVWYWx1ZRINCgV2YWx1ZRgBIAEoASIbCgpGbG9hdFZhbHVlEg0KBXZhbHVlGAEgASgCIhsKCkludDY0VmFsdWUSDQoFdmFsdWUYASABKAMiHAoLVUludDY0VmFsdWUSDQoFdmFsdWUYASABKAQiGwoKSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoBSIcCgtVSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoDSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUSDQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDEKDAQoTY29tLmdvb2dsZS5wcm90b2J1ZkINV3JhcHBlcnNQcm90b1ABWjFnb29nbGUuZ29sYW5nLm9yZy9wcm90b2J1Zi90eXBlcy9rbm93bi93cmFwcGVyc3Bi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),o=(0,l.Z)(a,7)}}]); \ No newline at end of file diff --git a/_next/static/chunks/698-8793f705150b3e8c.js b/_next/static/chunks/698-8793f705150b3e8c.js deleted file mode 100644 index 777870fc..00000000 --- a/_next/static/chunks/698-8793f705150b3e8c.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})},"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),g=n(6121),j=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)(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"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)(_,{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)(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"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)(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"http2":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"reality":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"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:g.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)(j.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)(j.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:g.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)(j.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)(j.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.Yl.method.get_interface),{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)}})]})})},Y=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)}})]})})},B=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.Yl.method.get_interface),{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)}})})})},_=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)}})]})})},V=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)}})})},J=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))}})})})},z=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\nPAhMS3skoAGjg1omXfj5fsEKFPxkRPdMb6vzktUL6XALZYXEXX3ZTD456/rIJQSr\nV9F6Qy9ExVBY7u05SshMtSC69Ugawuvm8cEcyiMtASRUEe6DB5AGJPxHs863JC3M\nDcb5nNYPGjFCsahkwz4rQq/eQQI0j+8TZlHtPFjTCgqMblk2qR/vwkfTI6Wv/rO6\nYZ+M3xXpYc4j1qcHz5PFxIh3kZMgP/GdqLf+l5O4JaFv2aqxEmCjTHq3rAlxJeiV\ntCT5xYCwYzZtZkZq5jPP6CruNbO+L8iyLYHgLAgmsQKBgQD+Pw5nO2FR7arAMR4I\nK+bK2fFWfBTSkMRJrVqtbjr3LIjRGbGmqaF0HjR/8ZNxmyHBPmG35rfUw32NIAFc\nq9nqXVgeL07CXRadYaMoVys3mukMiQSnuycA5se5uNXk/8bulaudLX0Q605GDWto\n29W3CnWyuz1qNGRZHYZ0Duyk3QKBgQD5550WA/5Fwco2WosDqNBCetf3GZazwtKU\n46Dk1QEXeGYrw3p/o42+nNuawqqxbKhH/OJarir8oT4amXMaf60M3tRjj/DYRLx1\nWS9LkuU9bWSRFIpdJxC4BWi9IPCOsfbF0Cui9nD5dXCE6YwoQEXZ8OhE8+y+2fHU\nOULeYZVB8QKBgQDYtnrad3zuzry68aL9qB4jTj4uT7mX+hm2C3O9XLYaNfWw9ku9\nGd4rEgwB+rKJJYhSJZA5pwmO68s63csLaNhosoQHxp9FgP9jyvO90P9feEWpj6lO\nJ3KJjC02G10GwxaYCy+q3Dk8kLW5dHrXeHrkeJ/2Zy9kNaBLbaVLi+UeaQKBgQDo\n+GsRIxfgoBCLK019U9sSnsLGsSw02OLHuo07xvcFklBtbAa/BxIVKNXxKJlIXitj\nMPUz5Dpe2VK0KWmMwono/bKyPnYgp7OpEkNtCLx8z4Z5WdTDkq+bXi+OYS7hWDbd\nonuLqIMZi8ohnjfzLjfwPQ3LejqykStI1TjpZ79lgQKBgQDJAQe8Wnn2+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(950),en=n(9093),el=n(4504),ea=n(1936),et=n(9969);function es(e){let o=(0,a.useContext)(v.u),[n,i]=(0,a.useState)({show:!1,data:""}),{data:x,error:C,isLoading:g,isValidating:j,mutate:w}=(0,d.Ay)(""===e.hash?void 0:"/node",(0,h.AD)(et.rH.method.get,"POST",(0,f.v)(ea.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})]}):j||g||!x?(0,l.jsx)(u.A,{}):(0,l.jsx)(U,{point:x,groups:e.groups,onChange:o=>{e.editable&&w((0,eo.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&&!j&&!g&&x&&(0,l.jsx)(t.A,{variant:"outline-primary",onClick:()=>{i({show:!0,data:(0,en.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:j||g||C||!e.editable,onClick:()=>{x&&(e.isNew&&(x.hash=""),(0,h.kP)(et.rH.method.save,"/node","PATCH",x).then(async n=>{let{error:l}=n;l?o.Error(l.msg):(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,el.mj)(m.Ac,n.data);e.isNew&&(l.hash=""),(0,h.kP)(et.rH.method.save,"/node","PATCH",l).then(async n=>{let{error:l}=n;void 0===l?(o.Info("save successful"),void 0!==e.onSave&&e.onSave()):o.Error(l.msg)})},children:"Save"}):(0,l.jsx)(l.Fragment,{}),{})]})]})})}},6496:(e,o,n)=>{n.d(o,{Yl:()=>r});var l=n(6788),a=n(4395),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/734-c496d915c5550947.js b/_next/static/chunks/734-c496d915c5550947.js deleted file mode 100644 index f0828ee4..00000000 --- a/_next/static/chunks/734-c496d915c5550947.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[734],{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),o=n._(r(2115)),l=n._(r(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:r}=e;return{statusCode:t&&t.statusCode?t.statusCode:r?r.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 o.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,r=this.props.title||s[e]||"An unexpected error has occurred";return(0,a.jsxs)("div",{style:d.error,children:[(0,a.jsx)(l.default,{children:(0,a.jsx)("title",{children:e?e+": "+r:"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?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=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,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),o=r(9955),l=r(5155),s=o._(r(2115)),i=a._(r(1172)),d=r(3003),c=r(1147),u=r(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===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)}r(2363);let h=["name","httpEquiv","charSet","itemProp"];function m(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 o=!0,l=!1;if(a.key&&"number"!=typeof a.key&&a.key.indexOf("$")>0){l=!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(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,s.default.cloneElement(e,t)}return s.default.cloneElement(e,{key:a})})}let y=function(e){let{children:t}=e,r=(0,s.useContext)(d.AmpStateContext),n=(0,s.useContext)(c.HeadManagerContext);return(0,l.jsx)(i.default,{reduceComponentsToState:m,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 s}});let n=r(2115),a="undefined"==typeof window,o=a?()=>{}:n.useLayoutEffect,l=a?()=>{}:n.useEffect;function s(e){let{headManager:t,reduceComponentsToState:r}=e;function s(){if(t&&t.mountedInstances){let a=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(a,e))}}if(a){var i;null==t||null==(i=t.mountedInstances)||i.add(e.children),s()}return o(()=>{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)}}),o(()=>(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,r)=>{e.exports=r(9693)},3614:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(4617),a=r.n(n),o=r(2115),l=r(1653),s=r(5155);let i=o.forwardRef((e,t)=>{let{bsPrefix:r,size:n,vertical:o=!1,className:i,role:d="group",as:c="div",...u}=e,f=(0,l.oU)(r,"btn-group"),p=f;return o&&(p="".concat(f,"-vertical")),(0,s.jsx)(c,{...u,ref:t,role:d,className:a()(i,p,n&&"".concat(f,"-").concat(n))})});i.displayName="ButtonGroup";let d=i},8003:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var n=r(4617),a=r.n(n),o=r(2115),l=r(1653),s=r(2389),i=r(2471),d=r(5155);let c=o.forwardRef((e,t)=>{let{className:r,bsPrefix:n,as:o="span",...s}=e;return n=(0,l.oU)(n,"input-group-text"),(0,d.jsx)(o,{ref:t,className:a()(r,n),...s})});c.displayName="InputGroupText";let u=o.forwardRef((e,t)=>{let{bsPrefix:r,size:n,hasValidation:s,className:c,as:u="div",...f}=e;r=(0,l.oU)(r,"input-group");let p=(0,o.useMemo)(()=>({}),[]);return(0,d.jsx)(i.A.Provider,{value:p,children:(0,d.jsx)(u,{ref:t,...f,className:a()(c,r,n&&"".concat(r,"-").concat(n),s&&"has-validation")})})});u.displayName="InputGroup";let f=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})})})},57:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var n=r(4617),a=r.n(n),o=r(2115);r(1809);var l=r(6647),s=r(9814),i=r(1653),d=r(3853),c=r(3973),u=r(7644),f=r(5155);let p=o.forwardRef((e,t)=>{let{bsPrefix:r,active:n,disabled:o,eventKey:l,className:s,variant:p,action:h,as:m,...y}=e;r=(0,i.oU)(r,"list-group-item");let[g,b]=(0,c.M)({key:(0,u.u)(l,y.href),active:n,...y}),x=(0,d.A)(e=>{if(o){e.preventDefault(),e.stopPropagation();return}g.onClick(e)});o&&void 0===y.tabIndex&&(y.tabIndex=-1,y["aria-disabled"]=!0);let v=m||(h?y.href?"a":"button":"div");return(0,f.jsx)(v,{ref:t,...y,...g,onClick:x,className:a()(s,r,b.isActive&&"active",o&&"disabled",p&&"".concat(r,"-").concat(p),h&&"".concat(r,"-action"))})});p.displayName="ListGroupItem";let h=o.forwardRef((e,t)=>{let r;let{className:n,bsPrefix:o,variant:d,horizontal:c,numbered:u,as:p="div",...h}=(0,l.Zw)(e,{activeKey:"onSelect"}),m=(0,i.oU)(o,"list-group");return c&&(r=!0===c?"horizontal":"horizontal-".concat(c)),(0,f.jsx)(s.A,{ref:t,...h,as:p,className:a()(n,m,d&&"".concat(m,"-").concat(d),r&&"".concat(m,"-").concat(r),u&&"".concat(m,"-numbered"))})});h.displayName="ListGroup";let m=Object.assign(h,{Item:p})},0:(e,t,r)=>{"use strict";r.d(t,{A:()=>S});var n,a=r(4617),o=r.n(a),l=r(6930),s=r(7678),i=r(5255),d=r(9221);function c(e){if((!n&&0!==n||e)&&s.A){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),n=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return n}var u=r(2115),f=r(3853),p=r(804),h=r(8987),m=r(2959),y=r(9952),g=r(3876),b=r(3281),x=r(1653),v=r(5155);let j=u.forwardRef((e,t)=>{let{className:r,bsPrefix:n,as:a="div",...l}=e;return n=(0,x.oU)(n,"modal-body"),(0,v.jsx)(a,{ref:t,className:o()(r,n),...l})});j.displayName="ModalBody";var A=r(7467);let w=u.forwardRef((e,t)=>{let{bsPrefix:r,className:n,contentClassName:a,centered:l,size:s,fullscreen:i,children:d,scrollable:c,...u}=e;r=(0,x.oU)(r,"modal");let f="".concat(r,"-dialog"),p="string"==typeof i?"".concat(r,"-fullscreen-").concat(i):"".concat(r,"-fullscreen");return(0,v.jsx)("div",{...u,ref:t,className:o()(f,n,s&&"".concat(r,"-").concat(s),l&&"".concat(f,"-centered"),c&&"".concat(f,"-scrollable"),i&&p),children:(0,v.jsx)("div",{className:o()("".concat(r,"-content"),a),children:d})})});w.displayName="ModalDialog";let _=u.forwardRef((e,t)=>{let{className:r,bsPrefix:n,as:a="div",...l}=e;return n=(0,x.oU)(n,"modal-footer"),(0,v.jsx)(a,{ref:t,className:o()(r,n),...l})});_.displayName="ModalFooter";var N=r(2243);let k=u.forwardRef((e,t)=>{let{bsPrefix:r,className:n,closeLabel:a="Close",closeButton:l=!1,...s}=e;return r=(0,x.oU)(r,"modal-header"),(0,v.jsx)(N.A,{ref:t,...s,className:o()(n,r),closeLabel:a,closeButton:l})});k.displayName="ModalHeader";let C=(0,r(7449).A)("h4"),I=u.forwardRef((e,t)=>{let{className:r,bsPrefix:n,as:a=C,...l}=e;return n=(0,x.oU)(n,"modal-title"),(0,v.jsx)(a,{ref:t,className:o()(r,n),...l})});function M(e){return(0,v.jsx)(b.A,{...e,timeout:null})}function O(e){return(0,v.jsx)(b.A,{...e,timeout:null})}I.displayName="ModalTitle";let R=u.forwardRef((e,t)=>{let{bsPrefix:r,className:n,style:a,dialogClassName:b,contentClassName:j,children:_,dialogAs:N=w,"data-bs-theme":k,"aria-labelledby":C,"aria-describedby":I,"aria-label":R,show:S=!1,animation:U=!0,backdrop:E=!0,keyboard:P=!0,onEscapeKeyDown:T,onShow:H,onHide:D,container:F,autoFocus:z=!0,enforceFocus:B=!0,restoreFocus:W=!0,restoreFocusOptions:G,onEntered:L,onExit:K,onExiting:q,onEnter:Z,onEntering:$,onExited:J,backdropClassName:X,manager:Q,...V}=e,[Y,ee]=(0,u.useState)({}),[et,er]=(0,u.useState)(!1),en=(0,u.useRef)(!1),ea=(0,u.useRef)(!1),eo=(0,u.useRef)(null),[el,es]=(0,u.useState)(null),ei=(0,p.A)(t,es),ed=(0,f.A)(D),ec=(0,x.Wz)();r=(0,x.oU)(r,"modal");let eu=(0,u.useMemo)(()=>({onHide:ed}),[ed]);function ef(){return Q||(0,g.R)({isRTL:ec})}function ep(e){if(!s.A)return;let t=ef().getScrollbarWidth()>0,r=e.scrollHeight>(0,i.A)(e).documentElement.clientHeight;ee({paddingRight:t&&!r?c():void 0,paddingLeft:!t&&r?c():void 0})}let eh=(0,f.A)(()=>{el&&ep(el.dialog)});(0,h.A)(()=>{(0,d.A)(window,"resize",eh),null==eo.current||eo.current()});let em=()=>{en.current=!0},ey=e=>{en.current&&el&&e.target===el.dialog&&(ea.current=!0),en.current=!1},eg=()=>{er(!0),eo.current=(0,m.A)(el.dialog,()=>{er(!1)})},eb=e=>{e.target===e.currentTarget&&eg()},ex=e=>{if("static"===E){eb(e);return}if(ea.current||e.target!==e.currentTarget){ea.current=!1;return}null==D||D()},ev=(0,u.useCallback)(e=>(0,v.jsx)("div",{...e,className:o()("".concat(r,"-backdrop"),X,!U&&"show")}),[U,X,r]),ej={...a,...Y};return ej.display="block",(0,v.jsx)(A.A.Provider,{value:eu,children:(0,v.jsx)(y.A,{show:S,ref:ei,backdrop:E,container:F,keyboard:!0,autoFocus:z,enforceFocus:B,restoreFocus:W,restoreFocusOptions:G,onEscapeKeyDown:e=>{P?null==T||T(e):(e.preventDefault(),"static"===E&&eg())},onShow:H,onHide:D,onEnter:(e,t)=>{e&&ep(e),null==Z||Z(e,t)},onEntering:(e,t)=>{null==$||$(e,t),(0,l.Ay)(window,"resize",eh)},onEntered:L,onExit:e=>{null==eo.current||eo.current(),null==K||K(e)},onExiting:q,onExited:e=>{e&&(e.style.display=""),null==J||J(e),(0,d.A)(window,"resize",eh)},manager:ef(),transition:U?M:void 0,backdropTransition:U?O:void 0,renderBackdrop:ev,renderDialog:e=>(0,v.jsx)("div",{role:"dialog",...e,style:ej,className:o()(n,r,et&&"".concat(r,"-static"),!U&&"show"),onClick:E?ex:void 0,onMouseUp:ey,"data-bs-theme":k,"aria-label":R,"aria-labelledby":C,"aria-describedby":I,children:(0,v.jsx)(N,{...V,onMouseDown:em,className:b,contentClassName:j,children:_})})})})});R.displayName="Modal";let S=Object.assign(R,{Body:j,Header:k,Title:I,Footer:_,Dialog:w,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150})},6121:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(4617),a=r.n(n),o=r(2115),l=r(1653),s=r(5155);let i=o.forwardRef((e,t)=>{let{bsPrefix:r,className:n,as:o="div",...i}=e,d=(0,l.oU)(r,"row"),c=(0,l.gy)(),u=(0,l.Jm)(),f="".concat(d,"-cols"),p=[];return c.forEach(e=>{let t;let r=i[e];delete i[e],null!=r&&"object"==typeof r?{cols:t}=r:t=r,null!=t&&p.push("".concat(f).concat(e!==u?"-".concat(e):"","-").concat(t))}),(0,s.jsx)(o,{ref:t,...i,className:a()(n,d,...p)})});i.displayName="Row";let d=i},4216:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(4617),a=r.n(n),o=r(2115),l=r(1653),s=r(5155);let i=o.forwardRef((e,t)=>{let{bsPrefix:r,variant:n,animation:o="border",size:i,as:d="div",className:c,...u}=e;r=(0,l.oU)(r,"spinner");let f="".concat(r,"-").concat(o);return(0,s.jsx)(d,{ref:t,...u,className:a()(c,f,i&&"".concat(f,"-").concat(i),n&&"text-".concat(n))})});i.displayName="Spinner";let d=i}}]); \ No newline at end of file diff --git a/_next/static/chunks/863-310b872d1fe82a60.js b/_next/static/chunks/863-310b872d1fe82a60.js new file mode 100644 index 00000000..2bbbbe1e --- /dev/null +++ b/_next/static/chunks/863-310b872d1fe82a60.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[863],{4805:(A,Z,l)=>{l.d(Z,{Mq:()=>Y,Nm:()=>d,Qn:()=>G,Uu:()=>X,eT:()=>m,f5:()=>I,ie:()=>W,pI:()=>V,qc:()=>g});var b=l(6788),c=l(8123);let g=(0,b.w)("Chpjb25maWcvYnlwYXNzL2J5cGFzcy5wcm90bxIOeXVoYWlpbi5ieXBhc3Mi9QIKBmNvbmZpZxIhCgN0Y3AYAyABKA4yFC55dWhhaWluLmJ5cGFzcy5tb2RlEiEKA3VkcBgEIAEoDjIULnl1aGFpaW4uYnlwYXNzLm1vZGUSJAoLYnlwYXNzX2ZpbGUYAiABKAlCAhgBUgtieXBhc3NfZmlsZRJPCg51ZHBfcHJveHlfZnFkbhgGIAEoDjInLnl1aGFpaW4uYnlwYXNzLnVkcF9wcm94eV9mcWRuX3N0cmF0ZWd5Ug51ZHBfcHJveHlfZnFkbhJDCg5jdXN0b21fcnVsZV92MxgHIAMoCzIbLnl1aGFpaW4uYnlwYXNzLm1vZGVfY29uZmlnUg5jdXN0b21fcnVsZV92MxI/CgxyZW1vdGVfcnVsZXMYCCADKAsyGy55dWhhaWluLmJ5cGFzcy5yZW1vdGVfcnVsZVIMcmVtb3RlX3J1bGVzEigKD3Jlc29sdmVfbG9jYWxseRgJIAEoCFIPcmVzb2x2ZV9sb2NhbGx5IpQDCgttb2RlX2NvbmZpZxIiCgRtb2RlGAEgASgOMhQueXVoYWlpbi5ieXBhc3MubW9kZRILCgN0YWcYAiABKAkSEAoIaG9zdG5hbWUYAyADKAkSTAoQcmVzb2x2ZV9zdHJhdGVneRgEIAEoDjIgLnl1aGFpaW4uYnlwYXNzLnJlc29sdmVfc3RyYXRlZ3lSEHJlc29sdmVfc3RyYXRlZ3kSYQoXdWRwX3Byb3h5X2ZxZG5fc3RyYXRlZ3kYBiABKA4yJy55dWhhaWluLmJ5cGFzcy51ZHBfcHJveHlfZnFkbl9zdHJhdGVneVIXdWRwX3Byb3h5X2ZxZG5fc3RyYXRlZ3kSSQoKZXJyb3JfbXNncxgHIAMoCzIqLnl1aGFpaW4uYnlwYXNzLm1vZGVfY29uZmlnLkVycm9yTXNnc0VudHJ5UgllcnJvcl9tc2caMAoORXJyb3JNc2dzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4AUoECAUQBlIOdWRwX3Byb3h5X2ZxZG4i+QEKC3JlbW90ZV9ydWxlEg8KB2VuYWJsZWQYASABKAgSDAoEbmFtZRgCIAEoCRIwCgRmaWxlGAMgASgLMiAueXVoYWlpbi5ieXBhc3MucmVtb3RlX3J1bGVfZmlsZUgAEjAKBGh0dHAYBCABKAsyIC55dWhhaWluLmJ5cGFzcy5yZW1vdGVfcnVsZV9odHRwSAASHAoJZXJyb3JfbXNnGAUgASgJUgllcnJvcl9tc2cSPwoMZGVmYXVsdF9tb2RlGAYgASgLMhsueXVoYWlpbi5ieXBhc3MubW9kZV9jb25maWdSDGRlZmF1bHRfbW9kZUIICgZvYmplY3QiIAoQcmVtb3RlX3J1bGVfZmlsZRIMCgRwYXRoGAEgASgJIi8KEHJlbW90ZV9ydWxlX2h0dHASCwoDdXJsGAEgASgJEg4KBm1ldGhvZBgCIAEoCSo0CgRtb2RlEgoKBmJ5cGFzcxAAEgoKBmRpcmVjdBABEgkKBXByb3h5EAISCQoFYmxvY2sQAypfChByZXNvbHZlX3N0cmF0ZWd5EgsKB2RlZmF1bHQQABIPCgtwcmVmZXJfaXB2NBABEg0KCW9ubHlfaXB2NBACEg8KC3ByZWZlcl9pcHY2EAMSDQoJb25seV9pcHY2EAQqXQoXdWRwX3Byb3h5X2ZxZG5fc3RyYXRlZ3kSIwofdWRwX3Byb3h5X2ZxZG5fc3RyYXRlZ3lfZGVmYXVsdBAAEgsKB3Jlc29sdmUQARIQCgxza2lwX3Jlc29sdmUQAkI3WjVnaXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3MvY29uZmlnL2J5cGFzc2IGcHJvdG8z"),G=(0,c.Z)(g,0),m=(0,c.Z)(g,1),d=(0,c.Z)(g,2),X=(0,c.Z)(g,3),W=(0,c.Z)(g,4);var Y=function(A){return A[A.bypass=0]="bypass",A[A.direct=1]="direct",A[A.proxy=2]="proxy",A[A.block=3]="block",A}({}),V=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}({}),I=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,Z,l)=>{l.d(Z,{Oe:()=>W,Pr:()=>X});var b=l(6788),c=l(8123),g=l(4431),G=l(4805),m=l(1463),d=l(7641);let X=(0,b.w)("ChNjb25maWcvY29uZmlnLnByb3RvEg55dWhhaWluLmNvbmZpZyLgAwoHc2V0dGluZxIMCgRpcHY2GAcgASgIEkYKHmlwdjZfbG9jYWxfYWRkcl9wcmVmZXJfdW5pY2FzdBgKIAEoCFIeaXB2Nl9sb2NhbF9hZGRyX3ByZWZlcl91bmljYXN0EiQKDW5ldF9pbnRlcmZhY2UYBiABKAlSDW5ldF9pbnRlcmZhY2USQAoMc3lzdGVtX3Byb3h5GAEgASgLMhwueXVoYWlpbi5jb25maWcuc3lzdGVtX3Byb3h5UgxzeXN0ZW1fcHJveHkSJgoGYnlwYXNzGAIgASgLMhYueXVoYWlpbi5ieXBhc3MuY29uZmlnEiQKA2RucxgEIAEoCzIXLnl1aGFpaW4uZG5zLmRuc19jb25maWcSMAoGc2VydmVyGAUgASgLMiAueXVoYWlpbi5saXN0ZW5lci5pbmJvdW5kX2NvbmZpZxIjCgZsb2djYXQYCCABKAsyEy55dWhhaWluLmxvZy5sb2djYXQSRgoOY29uZmlnX3ZlcnNpb24YCSABKAsyHi55dWhhaWluLmNvbmZpZy5jb25maWdfdmVyc2lvblIOY29uZmlnX3ZlcnNpb24SKgoIcGxhdGZvcm0YCyABKAsyGC55dWhhaWluLmNvbmZpZy5wbGF0Zm9ybSIsCgxzeXN0ZW1fcHJveHkSDAoEaHR0cBgCIAEoCBIOCgZzb2NrczUYAyABKAgitAEKBGluZm8SDwoHdmVyc2lvbhgBIAEoCRIOCgZjb21taXQYAiABKAkSHgoKYnVpbGRfdGltZRgDIAEoCVIKYnVpbGRfdGltZRIeCgpnb192ZXJzaW9uGAQgASgJUgpnb192ZXJzaW9uEgwKBGFyY2gYBSABKAkSEAoIcGxhdGZvcm0YBiABKAkSCgoCb3MYByABKAkSEAoIY29tcGlsZXIYCCABKAkSDQoFYnVpbGQYCSADKAkiIQoOY29uZmlnX3ZlcnNpb24SDwoHdmVyc2lvbhgBIAEoBCIsCghwbGF0Zm9ybRIgCgthbmRyb2lkX2FwcBgBIAEoCFILYW5kcm9pZF9hcHBCMFouZ2l0aHViLmNvbS9Bc3V0b3J1ZmEveXVoYWlpbi9wa2cvcHJvdG9zL2NvbmZpZ2IGcHJvdG8z",[g.gS,G.qc,m.ul,d._6]),W=(0,c.Z)(X,1)},1463:(A,Z,l)=>{l.d(Z,{NW:()=>X,Rx:()=>m,ct:()=>d,m9:()=>W,ul:()=>G});var b=l(6788),c=l(8123),g=l(9537);let G=(0,b.w)("ChRjb25maWcvZG5zL2Rucy5wcm90bxILeXVoYWlpbi5kbnMibAoDZG5zEgwKBGhvc3QYASABKAkSHwoEdHlwZRgFIAEoDjIRLnl1aGFpaW4uZG5zLnR5cGUSDgoGc3VibmV0GAQgASgJEiYKDnRsc19zZXJ2ZXJuYW1lGAIgASgJUg50bHNfc2VydmVybmFtZSKZBAoKZG5zX2NvbmZpZxIOCgZzZXJ2ZXIYBCABKAkSDwoHZmFrZWRucxgFIAEoCBIqChBmYWtlZG5zX2lwX3JhbmdlGAYgASgJUhBmYWtlZG5zX2lwX3JhbmdlEi4KEmZha2VkbnNfaXB2Nl9yYW5nZRgNIAEoCVISZmFrZWRuc19pcHY2X3JhbmdlEiwKEWZha2VkbnNfd2hpdGVsaXN0GAkgAygJUhFmYWtlZG5zX3doaXRlbGlzdBIgCgZyZW1vdGUYASABKAsyEC55dWhhaWluLmRucy5kbnMSHwoFbG9jYWwYAiABKAsyEC55dWhhaWluLmRucy5kbnMSIwoJYm9vdHN0cmFwGAMgASgLMhAueXVoYWlpbi5kbnMuZG5zEjEKBWhvc3RzGAggAygLMiIueXVoYWlpbi5kbnMuZG5zX2NvbmZpZy5Ib3N0c0VudHJ5EjcKCHJlc29sdmVyGAogAygLMiUueXVoYWlpbi5kbnMuZG5zX2NvbmZpZy5SZXNvbHZlckVudHJ5GiwKCkhvc3RzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ARpBCg1SZXNvbHZlckVudHJ5EgsKA2tleRgBIAEoCRIfCgV2YWx1ZRgCIAEoCzIQLnl1aGFpaW4uZG5zLmRuczoCOAFKBAgHEAhSFXJlc29sdmVfcmVtb3RlX2RvbWFpbipKCgR0eXBlEgsKB3Jlc2VydmUQABIHCgN1ZHAQARIHCgN0Y3AQAhIHCgNkb2gQAxIHCgNkb3QQBBIHCgNkb3EQBRIICgRkb2gzEAZCNFoyZ2l0aHViLmNvbS9Bc3V0b3J1ZmEveXVoYWlpbi9wa2cvcHJvdG9zL2NvbmZpZy9kbnNiBnByb3RvMw"),m=(0,c.Z)(G,0),d=(0,c.Z)(G,1);var X=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 W=(0,g.R)(G,0)},6863:(A,Z,l)=>{l.d(Z,{C$:()=>I,XH:()=>u,hF:()=>B,mz:()=>o});var b=l(6788),c=l(8123),g=l(4395),G=l(878),m=l(4805),d=l(7641),X=l(9297),W=l(1936),Y=l(9678);let V=(0,b.w)("Chhjb25maWcvZ3JwYy9jb25maWcucHJvdG8SHXl1aGFpaW4ucHJvdG9zLmNvbmZpZy5zZXJ2aWNlImoKDXRlc3RfcmVzcG9uc2USKQoEbW9kZRgBIAEoCzIbLnl1aGFpaW4uYnlwYXNzLm1vZGVfY29uZmlnEg4KBnJlYXNvbhgCIAEoCRIeCgphZnRlcl9hZGRyGAMgASgJUgphZnRlcl9hZGRyIowBCg1ibG9ja19oaXN0b3J5EhAKCHByb3RvY29sGAEgASgJEgwKBGhvc3QYAiABKAkSKAoEdGltZRgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASDwoHcHJvY2VzcxgEIAEoCRIgCgtibG9ja19jb3VudBgFIAEoBFILYmxvY2tfY291bnQihwEKEmJsb2NrX2hpc3RvcnlfbGlzdBI9CgdvYmplY3RzGAEgAygLMiwueXVoYWlpbi5wcm90b3MuY29uZmlnLnNlcnZpY2UuYmxvY2tfaGlzdG9yeRIyChRkdW1wX3Byb2Nlc3NfZW5hYmxlZBgCIAEoCFIUZHVtcF9wcm9jZXNzX2VuYWJsZWQiIgoRaW5ib3VuZHNfcmVzcG9uc2USDQoFbmFtZXMYASADKAkyuAEKDmNvbmZpZ19zZXJ2aWNlEjcKBGxvYWQSFi5nb29nbGUucHJvdG9idWYuRW1wdHkaFy55dWhhaWluLmNvbmZpZy5zZXR0aW5nEjcKBHNhdmUSFy55dWhhaWluLmNvbmZpZy5zZXR0aW5nGhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5EjQKBGluZm8SFi5nb29nbGUucHJvdG9idWYuRW1wdHkaFC55dWhhaWluLmNvbmZpZy5pbmZvMuICCgZieXBhc3MSNgoEbG9hZBIWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRoWLnl1aGFpaW4uYnlwYXNzLmNvbmZpZxI2CgRzYXZlEhYueXVoYWlpbi5ieXBhc3MuY29uZmlnGhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5EjgKBnJlbG9hZBIWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRJSCgR0ZXN0EhwuZ29vZ2xlLnByb3RvYnVmLlN0cmluZ1ZhbHVlGiwueXVoYWlpbi5wcm90b3MuY29uZmlnLnNlcnZpY2UudGVzdF9yZXNwb25zZRJaCg1ibG9ja19oaXN0b3J5EhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5GjEueXVoYWlpbi5wcm90b3MuY29uZmlnLnNlcnZpY2UuYmxvY2tfaGlzdG9yeV9saXN0MpkCCgdpbmJvdW5kElAKBGxpc3QSFi5nb29nbGUucHJvdG9idWYuRW1wdHkaMC55dWhhaWluLnByb3Rvcy5jb25maWcuc2VydmljZS5pbmJvdW5kc19yZXNwb25zZRI+CgNnZXQSHC5nb29nbGUucHJvdG9idWYuU3RyaW5nVmFsdWUaGS55dWhhaWluLmxpc3RlbmVyLmluYm91bmQSPAoEc2F2ZRIZLnl1aGFpaW4ubGlzdGVuZXIuaW5ib3VuZBoZLnl1aGFpaW4ubGlzdGVuZXIuaW5ib3VuZBI+CgZyZW1vdmUSHC5nb29nbGUucHJvdG9idWYuU3RyaW5nVmFsdWUaFi5nb29nbGUucHJvdG9idWYuRW1wdHlCOFo2Z2l0aHViLmNvbS9Bc3V0b3J1ZmEveXVoYWlpbi9wa2cvcHJvdG9zL2NvbmZpZy9zZXJ2aWNlYgZwcm90bzM",[G.Pr,m.qc,d._6,X.t,W.Ax,Y.i]),I=(0,c.Z)(V,0),B=(0,g.Z)(V,0),u=(0,g.Z)(V,1),o=(0,g.Z)(V,2)},7641:(A,Z,l)=>{l.d(Z,{A0:()=>z,AK:()=>B,BP:()=>y,E_:()=>p,JM:()=>F,JX:()=>u,K0:()=>i,Q9:()=>o,Qi:()=>N,Rc:()=>n,SL:()=>C,UM:()=>I,Zq:()=>m,_6:()=>G,as:()=>Y,bN:()=>X,f6:()=>v,fx:()=>J,gE:()=>W,l:()=>h,l0:()=>K,lA:()=>R,ls:()=>d,ql:()=>S,sn:()=>V,vC:()=>a,xz:()=>E});var b=l(6788),c=l(8123),g=l(9537);let G=(0,b.w)("Ch5jb25maWcvbGlzdGVuZXIvbGlzdGVuZXIucHJvdG8SEHl1aGFpaW4ubGlzdGVuZXIiowIKDmluYm91bmRfY29uZmlnEh4KCmhpamFja19kbnMYAiABKAhSCmhpamFja19kbnMSLAoRaGlqYWNrX2Ruc19mYWtlaXAYAyABKAhSEWhpamFja19kbnNfZmFrZWlwEkAKCGluYm91bmRzGAEgAygLMi4ueXVoYWlpbi5saXN0ZW5lci5pbmJvdW5kX2NvbmZpZy5JbmJvdW5kc0VudHJ5EiYKBXNuaWZmGAQgASgLMhcueXVoYWlpbi5saXN0ZW5lci5zbmlmZhpKCg1JbmJvdW5kc0VudHJ5EgsKA2tleRgBIAEoCRIoCgV2YWx1ZRgCIAEoCzIZLnl1aGFpaW4ubGlzdGVuZXIuaW5ib3VuZDoCOAFKBAgFEAZSB3NlcnZlcnMi4QUKB2luYm91bmQSDAoEbmFtZRgNIAEoCRIPCgdlbmFibGVkGA4gASgIEigKBWVtcHR5GBUgASgLMhcueXVoYWlpbi5saXN0ZW5lci5lbXB0eUgAEioKBnRjcHVkcBgPIAEoCzIYLnl1aGFpaW4ubGlzdGVuZXIudGNwdWRwSAASJgoEcXVpYxgQIAEoCzIWLnl1aGFpaW4ubGlzdGVuZXIucXVpY0gAEi4KCXRyYW5zcG9ydBgCIAMoCzIbLnl1aGFpaW4ubGlzdGVuZXIudHJhbnNwb3J0EiYKBGh0dHAYAyABKAsyFi55dWhhaWluLmxpc3RlbmVyLmh0dHBIARIqCgZzb2NrczUYBCABKAsyGC55dWhhaWluLmxpc3RlbmVyLnNvY2tzNUgBEjAKCXl1dWJpbnN5YRgHIAEoCzIbLnl1aGFpaW4ubGlzdGVuZXIueXV1Ymluc3lhSAESLQoDbWl4GAggASgLMhcueXVoYWlpbi5saXN0ZW5lci5taXhlZEgBUgVtaXhlZBIsCgdzb2NrczRhGAkgASgLMhkueXVoYWlpbi5saXN0ZW5lci5zb2NrczRhSAESKgoGdHByb3h5GBQgASgLMhgueXVoYWlpbi5saXN0ZW5lci50cHJveHlIARIoCgVyZWRpchgSIAEoCzIXLnl1aGFpaW4ubGlzdGVuZXIucmVkaXJIARIkCgN0dW4YEyABKAsyFS55dWhhaWluLmxpc3RlbmVyLnR1bkgBEkQKDHJldmVyc2VfaHR0cBgWIAEoCzIeLnl1aGFpaW4ubGlzdGVuZXIucmV2ZXJzZV9odHRwSAFSDHJldmVyc2VfaHR0cBJBCgtyZXZlcnNlX3RjcBgXIAEoCzIdLnl1aGFpaW4ubGlzdGVuZXIucmV2ZXJzZV90Y3BIAVILcmV2ZXJzZV90Y3BCCQoHbmV0d29ya0IKCghwcm90b2NvbEoECBEQElIESVB2NiLCAgoJdHJhbnNwb3J0EioKBm5vcm1hbBgMIAEoCzIYLnl1aGFpaW4ubGlzdGVuZXIubm9ybWFsSAASJAoDdGxzGAEgASgLMhUueXVoYWlpbi5saXN0ZW5lci50bHNIABIkCgNtdXgYAiABKAsyFS55dWhhaWluLmxpc3RlbmVyLm11eEgAEigKBWh0dHAyGAUgASgLMhcueXVoYWlpbi5saXN0ZW5lci5odHRwMkgAEjAKCXdlYnNvY2tldBgGIAEoCzIbLnl1aGFpaW4ubGlzdGVuZXIud2Vic29ja2V0SAASJgoEZ3JwYxgLIAEoCzIWLnl1aGFpaW4ubGlzdGVuZXIuZ3JwY0gAEiwKB3JlYWxpdHkYCiABKAsyGS55dWhhaWluLmxpc3RlbmVyLnJlYWxpdHlIAEILCgl0cmFuc3BvcnQiBwoFZW1wdHkiBQoDbXV4IkoKBnRjcHVkcBIMCgRob3N0GAEgASgJEjIKB2NvbnRyb2wYAiABKA4yIS55dWhhaWluLmxpc3RlbmVyLnRjcF91ZHBfY29udHJvbCI/CgRxdWljEgwKBGhvc3QYASABKAkSKQoDdGxzGAMgASgLMhwueXVoYWlpbi5saXN0ZW5lci50bHNfY29uZmlnIjYKBGh0dHASEAoIdXNlcm5hbWUYAyABKAkSEAoIcGFzc3dvcmQYBCABKAlKBAgBEAJSBGhvc3QiRQoGc29ja3M1EhAKCHVzZXJuYW1lGAMgASgJEhAKCHBhc3N3b3JkGAQgASgJEgsKA3VkcBgFIAEoCEoECAEQAlIEaG9zdCInCgdzb2NrczRhEhAKCHVzZXJuYW1lGAIgASgJSgQIARACUgRob3N0IjcKBW1peGVkEhAKCHVzZXJuYW1lGAMgASgJEhAKCHBhc3N3b3JkGAQgASgJSgQIARACUgRob3N0IhUKBXJlZGlyEgwKBGhvc3QYASABKAkiYAoGdHByb3h5EgwKBGhvc3QYASABKAkSJAoNZG5zX2hpamFja2luZxgCIAEoCFINZG5zX2hpamFja2luZxIiCgxmb3JjZV9mYWtlaXAYAyABKAhSDGZvcmNlX2Zha2VpcCKVAwoDdHVuEgwKBG5hbWUYASABKAkSCwoDbXR1GAIgASgFEiIKDGZvcmNlX2Zha2VpcBgJIAEoCFIMZm9yY2VfZmFrZWlwEiYKDnNraXBfbXVsdGljYXN0GAYgASgIUg5za2lwX211bHRpY2FzdBI1CgZkcml2ZXIYByABKA4yJS55dWhhaWluLmxpc3RlbmVyLnR1bi5lbmRwb2ludF9kcml2ZXISDgoGcG9ydGFsGAggASgJEhwKCXBvcnRhbF92NhgLIAEoCVIJcG9ydGFsX3Y2EiYKBXJvdXRlGAogASgLMhcueXVoYWlpbi5saXN0ZW5lci5yb3V0ZRIYCgdwb3N0X3VwGAwgAygJUgdwb3N0X3VwEhwKCXBvc3RfZG93bhgNIAMoCVIJcG9zdF9kb3duIj4KD2VuZHBvaW50X2RyaXZlchILCgdmZGJhc2VkEAASCwoHY2hhbm5lbBABEhEKDXN5c3RlbV9ndmlzb3IQAkoECAMQBEoECAQQBVIHZ2F0ZXdheVINZG5zX2hpamFja2luZyIpCgVyb3V0ZRIOCgZyb3V0ZXMYASADKAkSEAoIZXhjbHVkZXMYAiADKAki9QEKCXl1dWJpbnN5YRIQCghwYXNzd29yZBgCIAEoCRIgCgt0Y3BfZW5jcnlwdBgMIAEoCFILdGNwX2VuY3J5cHQSIAoLdWRwX2VuY3J5cHQYDSABKAhSC3VkcF9lbmNyeXB0EgsKA211eBgLIAEoCEoECAEQAkoECAMQBEoECAQQBUoECAUQBkoECAYQB0oECAcQCEoECAgQCUoECAkQCkoECAoQC1IEaG9zdFIVZm9yY2VfZGlzYWJsZV9lbmNyeXB0UgZub3JtYWxSA3Rsc1IEcXVpY1IJd2Vic29ja2V0UgRncnBjUgVodHRwMlIHcmVhbGl0eSIICgZub3JtYWwiFgoJd2Vic29ja2V0SgQIARACUgN0bHMiMAoDdGxzEikKA3RscxgBIAEoCzIcLnl1aGFpaW4ubGlzdGVuZXIudGxzX2NvbmZpZyIRCgRncnBjSgQIARACUgN0bHMiEgoFaHR0cDJKBAgBEAJSA3RscyKGAQoHcmVhbGl0eRIaCghzaG9ydF9pZBgBIAMoCVIIc2hvcnRfaWQSIAoLc2VydmVyX25hbWUYAiADKAlSC3NlcnZlcl9uYW1lEgwKBGRlc3QYAyABKAkSIAoLcHJpdmF0ZV9rZXkYBCABKAlSC3ByaXZhdGVfa2V5Eg0KBWRlYnVnGAUgASgIIrMCCgp0bHNfY29uZmlnEjMKDGNlcnRpZmljYXRlcxgBIAMoCzIdLnl1aGFpaW4ubGlzdGVuZXIuY2VydGlmaWNhdGUSIAoLbmV4dF9wcm90b3MYAyADKAlSC25leHRfcHJvdG9zEnEKF3NlcnZlcl9uYW1lX2NlcnRpZmljYXRlGAQgAygLMjcueXVoYWlpbi5saXN0ZW5lci50bHNfY29uZmlnLlNlcnZlck5hbWVDZXJ0aWZpY2F0ZUVudHJ5UhdzZXJ2ZXJfbmFtZV9jZXJ0aWZpY2F0ZRpbChpTZXJ2ZXJOYW1lQ2VydGlmaWNhdGVFbnRyeRILCgNrZXkYASABKAkSLAoFdmFsdWUYAiABKAsyHS55dWhhaWluLmxpc3RlbmVyLmNlcnRpZmljYXRlOgI4ASJ2CgtjZXJ0aWZpY2F0ZRIMCgRjZXJ0GAEgASgMEgsKA2tleRgCIAEoDBImCg5jZXJ0X2ZpbGVfcGF0aBgDIAEoCVIOY2VydF9maWxlX3BhdGgSJAoNa2V5X2ZpbGVfcGF0aBgEIAEoCVINa2V5X2ZpbGVfcGF0aCIYCgVzbmlmZhIPCgdlbmFibGVkGAEgASgIIhsKDHJldmVyc2VfaHR0cBILCgN1cmwYASABKAkiGwoLcmV2ZXJzZV90Y3ASDAoEaG9zdBgBIAEoCSpMCg90Y3BfdWRwX2NvbnRyb2wSFwoTdGNwX3VkcF9jb250cm9sX2FsbBAAEg8KC2Rpc2FibGVfdGNwEAESDwoLZGlzYWJsZV91ZHAQAkI5WjdnaXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3MvY29uZmlnL2xpc3RlbmVyYgZwcm90bzM"),m=(0,c.Z)(G,1),d=(0,c.Z)(G,2),X=(0,c.Z)(G,3),W=(0,c.Z)(G,4),Y=(0,c.Z)(G,5),V=(0,c.Z)(G,6),I=(0,c.Z)(G,7),B=(0,c.Z)(G,8),u=(0,c.Z)(G,10),o=(0,c.Z)(G,11),C=(0,c.Z)(G,12),a=(0,c.Z)(G,13);var E=function(A){return A[A.fdbased=0]="fdbased",A[A.channel=1]="channel",A[A.system_gvisor=2]="system_gvisor",A}({});let h=(0,c.Z)(G,14),R=(0,c.Z)(G,15),n=(0,c.Z)(G,16),y=(0,c.Z)(G,17),J=(0,c.Z)(G,18),p=(0,c.Z)(G,19),S=(0,c.Z)(G,20),i=(0,c.Z)(G,21),N=(0,c.Z)(G,22),v=(0,c.Z)(G,23),K=(0,c.Z)(G,25),z=(0,c.Z)(G,26),F=(0,g.R)(G,0)},4431:(A,Z,l)=>{l.d(Z,{cP:()=>c,gS:()=>b});let b=(0,l(6788).w)("ChRjb25maWcvbG9nL2xvZy5wcm90bxILeXVoYWlpbi5sb2ciPQoGbG9nY2F0EiUKBWxldmVsGAEgASgOMhYueXVoYWlpbi5sb2cubG9nX2xldmVsEgwKBHNhdmUYAiABKAgqUAoJbG9nX2xldmVsEgsKB3ZlcmJvc2UQABIJCgVkZWJ1ZxABEggKBGluZm8QAhILCgd3YXJuaW5nEAMSCQoFZXJyb3IQBBIJCgVmYXRhbBAFQjRaMmdpdGh1Yi5jb20vQXN1dG9ydWZhL3l1aGFpaW4vcGtnL3Byb3Rvcy9jb25maWcvbG9nYgZwcm90bzM");var c=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/863-f3d5b783a0f7c754.js b/_next/static/chunks/863-f3d5b783a0f7c754.js deleted file mode 100644 index e2fb8051..00000000 --- a/_next/static/chunks/863-f3d5b783a0f7c754.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[863],{4805:(A,Z,l)=>{l.d(Z,{Mq:()=>Y,Nm:()=>d,Qn:()=>G,Uu:()=>X,eT:()=>m,f5:()=>I,ie:()=>W,pI:()=>V,qc:()=>g});var b=l(6788),c=l(8123);let g=(0,b.w)("Chpjb25maWcvYnlwYXNzL2J5cGFzcy5wcm90bxIOeXVoYWlpbi5ieXBhc3Mi9QIKBmNvbmZpZxIhCgN0Y3AYAyABKA4yFC55dWhhaWluLmJ5cGFzcy5tb2RlEiEKA3VkcBgEIAEoDjIULnl1aGFpaW4uYnlwYXNzLm1vZGUSJAoLYnlwYXNzX2ZpbGUYAiABKAlCAhgBUgtieXBhc3NfZmlsZRJPCg51ZHBfcHJveHlfZnFkbhgGIAEoDjInLnl1aGFpaW4uYnlwYXNzLnVkcF9wcm94eV9mcWRuX3N0cmF0ZWd5Ug51ZHBfcHJveHlfZnFkbhJDCg5jdXN0b21fcnVsZV92MxgHIAMoCzIbLnl1aGFpaW4uYnlwYXNzLm1vZGVfY29uZmlnUg5jdXN0b21fcnVsZV92MxI/CgxyZW1vdGVfcnVsZXMYCCADKAsyGy55dWhhaWluLmJ5cGFzcy5yZW1vdGVfcnVsZVIMcmVtb3RlX3J1bGVzEigKD3Jlc29sdmVfbG9jYWxseRgJIAEoCFIPcmVzb2x2ZV9sb2NhbGx5IpQDCgttb2RlX2NvbmZpZxIiCgRtb2RlGAEgASgOMhQueXVoYWlpbi5ieXBhc3MubW9kZRILCgN0YWcYAiABKAkSEAoIaG9zdG5hbWUYAyADKAkSTAoQcmVzb2x2ZV9zdHJhdGVneRgEIAEoDjIgLnl1aGFpaW4uYnlwYXNzLnJlc29sdmVfc3RyYXRlZ3lSEHJlc29sdmVfc3RyYXRlZ3kSYQoXdWRwX3Byb3h5X2ZxZG5fc3RyYXRlZ3kYBiABKA4yJy55dWhhaWluLmJ5cGFzcy51ZHBfcHJveHlfZnFkbl9zdHJhdGVneVIXdWRwX3Byb3h5X2ZxZG5fc3RyYXRlZ3kSSQoKZXJyb3JfbXNncxgHIAMoCzIqLnl1aGFpaW4uYnlwYXNzLm1vZGVfY29uZmlnLkVycm9yTXNnc0VudHJ5UgllcnJvcl9tc2caMAoORXJyb3JNc2dzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4AUoECAUQBlIOdWRwX3Byb3h5X2ZxZG4i+QEKC3JlbW90ZV9ydWxlEg8KB2VuYWJsZWQYASABKAgSDAoEbmFtZRgCIAEoCRIwCgRmaWxlGAMgASgLMiAueXVoYWlpbi5ieXBhc3MucmVtb3RlX3J1bGVfZmlsZUgAEjAKBGh0dHAYBCABKAsyIC55dWhhaWluLmJ5cGFzcy5yZW1vdGVfcnVsZV9odHRwSAASHAoJZXJyb3JfbXNnGAUgASgJUgllcnJvcl9tc2cSPwoMZGVmYXVsdF9tb2RlGAYgASgLMhsueXVoYWlpbi5ieXBhc3MubW9kZV9jb25maWdSDGRlZmF1bHRfbW9kZUIICgZvYmplY3QiIAoQcmVtb3RlX3J1bGVfZmlsZRIMCgRwYXRoGAEgASgJIi8KEHJlbW90ZV9ydWxlX2h0dHASCwoDdXJsGAEgASgJEg4KBm1ldGhvZBgCIAEoCSo0CgRtb2RlEgoKBmJ5cGFzcxAAEgoKBmRpcmVjdBABEgkKBXByb3h5EAISCQoFYmxvY2sQAypfChByZXNvbHZlX3N0cmF0ZWd5EgsKB2RlZmF1bHQQABIPCgtwcmVmZXJfaXB2NBABEg0KCW9ubHlfaXB2NBACEg8KC3ByZWZlcl9pcHY2EAMSDQoJb25seV9pcHY2EAQqXQoXdWRwX3Byb3h5X2ZxZG5fc3RyYXRlZ3kSIwofdWRwX3Byb3h5X2ZxZG5fc3RyYXRlZ3lfZGVmYXVsdBAAEgsKB3Jlc29sdmUQARIQCgxza2lwX3Jlc29sdmUQAkI3WjVnaXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3MvY29uZmlnL2J5cGFzc2IGcHJvdG8z"),G=(0,c.Z)(g,0),m=(0,c.Z)(g,1),d=(0,c.Z)(g,2),X=(0,c.Z)(g,3),W=(0,c.Z)(g,4);var Y=function(A){return A[A.bypass=0]="bypass",A[A.direct=1]="direct",A[A.proxy=2]="proxy",A[A.block=3]="block",A}({}),V=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}({}),I=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,Z,l)=>{l.d(Z,{Oe:()=>Y,Pr:()=>X,QN:()=>W});var b=l(6788),c=l(8123),g=l(4431),G=l(4805),m=l(1463),d=l(7641);let X=(0,b.w)("ChNjb25maWcvY29uZmlnLnByb3RvEg55dWhhaWluLmNvbmZpZyLgAwoHc2V0dGluZxIMCgRpcHY2GAcgASgIEkYKHmlwdjZfbG9jYWxfYWRkcl9wcmVmZXJfdW5pY2FzdBgKIAEoCFIeaXB2Nl9sb2NhbF9hZGRyX3ByZWZlcl91bmljYXN0EiQKDW5ldF9pbnRlcmZhY2UYBiABKAlSDW5ldF9pbnRlcmZhY2USQAoMc3lzdGVtX3Byb3h5GAEgASgLMhwueXVoYWlpbi5jb25maWcuc3lzdGVtX3Byb3h5UgxzeXN0ZW1fcHJveHkSJgoGYnlwYXNzGAIgASgLMhYueXVoYWlpbi5ieXBhc3MuY29uZmlnEiQKA2RucxgEIAEoCzIXLnl1aGFpaW4uZG5zLmRuc19jb25maWcSMAoGc2VydmVyGAUgASgLMiAueXVoYWlpbi5saXN0ZW5lci5pbmJvdW5kX2NvbmZpZxIjCgZsb2djYXQYCCABKAsyEy55dWhhaWluLmxvZy5sb2djYXQSRgoOY29uZmlnX3ZlcnNpb24YCSABKAsyHi55dWhhaWluLmNvbmZpZy5jb25maWdfdmVyc2lvblIOY29uZmlnX3ZlcnNpb24SKgoIcGxhdGZvcm0YCyABKAsyGC55dWhhaWluLmNvbmZpZy5wbGF0Zm9ybSIsCgxzeXN0ZW1fcHJveHkSDAoEaHR0cBgCIAEoCBIOCgZzb2NrczUYAyABKAgitAEKBGluZm8SDwoHdmVyc2lvbhgBIAEoCRIOCgZjb21taXQYAiABKAkSHgoKYnVpbGRfdGltZRgDIAEoCVIKYnVpbGRfdGltZRIeCgpnb192ZXJzaW9uGAQgASgJUgpnb192ZXJzaW9uEgwKBGFyY2gYBSABKAkSEAoIcGxhdGZvcm0YBiABKAkSCgoCb3MYByABKAkSEAoIY29tcGlsZXIYCCABKAkSDQoFYnVpbGQYCSADKAkiIQoOY29uZmlnX3ZlcnNpb24SDwoHdmVyc2lvbhgBIAEoBCIsCghwbGF0Zm9ybRIgCgthbmRyb2lkX2FwcBgBIAEoCFILYW5kcm9pZF9hcHBCMFouZ2l0aHViLmNvbS9Bc3V0b3J1ZmEveXVoYWlpbi9wa2cvcHJvdG9zL2NvbmZpZ2IGcHJvdG8z",[g.gS,G.qc,m.ul,d._6]),W=(0,c.Z)(X,0),Y=(0,c.Z)(X,1)},1463:(A,Z,l)=>{l.d(Z,{NW:()=>d,ct:()=>m,m9:()=>X,ul:()=>G});var b=l(6788),c=l(8123),g=l(9537);let G=(0,b.w)("ChRjb25maWcvZG5zL2Rucy5wcm90bxILeXVoYWlpbi5kbnMibAoDZG5zEgwKBGhvc3QYASABKAkSHwoEdHlwZRgFIAEoDjIRLnl1aGFpaW4uZG5zLnR5cGUSDgoGc3VibmV0GAQgASgJEiYKDnRsc19zZXJ2ZXJuYW1lGAIgASgJUg50bHNfc2VydmVybmFtZSKZBAoKZG5zX2NvbmZpZxIOCgZzZXJ2ZXIYBCABKAkSDwoHZmFrZWRucxgFIAEoCBIqChBmYWtlZG5zX2lwX3JhbmdlGAYgASgJUhBmYWtlZG5zX2lwX3JhbmdlEi4KEmZha2VkbnNfaXB2Nl9yYW5nZRgNIAEoCVISZmFrZWRuc19pcHY2X3JhbmdlEiwKEWZha2VkbnNfd2hpdGVsaXN0GAkgAygJUhFmYWtlZG5zX3doaXRlbGlzdBIgCgZyZW1vdGUYASABKAsyEC55dWhhaWluLmRucy5kbnMSHwoFbG9jYWwYAiABKAsyEC55dWhhaWluLmRucy5kbnMSIwoJYm9vdHN0cmFwGAMgASgLMhAueXVoYWlpbi5kbnMuZG5zEjEKBWhvc3RzGAggAygLMiIueXVoYWlpbi5kbnMuZG5zX2NvbmZpZy5Ib3N0c0VudHJ5EjcKCHJlc29sdmVyGAogAygLMiUueXVoYWlpbi5kbnMuZG5zX2NvbmZpZy5SZXNvbHZlckVudHJ5GiwKCkhvc3RzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ARpBCg1SZXNvbHZlckVudHJ5EgsKA2tleRgBIAEoCRIfCgV2YWx1ZRgCIAEoCzIQLnl1aGFpaW4uZG5zLmRuczoCOAFKBAgHEAhSFXJlc29sdmVfcmVtb3RlX2RvbWFpbipKCgR0eXBlEgsKB3Jlc2VydmUQABIHCgN1ZHAQARIHCgN0Y3AQAhIHCgNkb2gQAxIHCgNkb3QQBBIHCgNkb3EQBRIICgRkb2gzEAZCNFoyZ2l0aHViLmNvbS9Bc3V0b3J1ZmEveXVoYWlpbi9wa2cvcHJvdG9zL2NvbmZpZy9kbnNiBnByb3RvMw"),m=(0,c.Z)(G,1);var d=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 X=(0,g.R)(G,0)},6863:(A,Z,l)=>{l.d(Z,{C$:()=>I,XH:()=>u,hF:()=>B,mz:()=>o});var b=l(6788),c=l(8123),g=l(4395),G=l(878),m=l(4805),d=l(7641),X=l(9297),W=l(1936),Y=l(9678);let V=(0,b.w)("Chhjb25maWcvZ3JwYy9jb25maWcucHJvdG8SHXl1aGFpaW4ucHJvdG9zLmNvbmZpZy5zZXJ2aWNlImoKDXRlc3RfcmVzcG9uc2USKQoEbW9kZRgBIAEoCzIbLnl1aGFpaW4uYnlwYXNzLm1vZGVfY29uZmlnEg4KBnJlYXNvbhgCIAEoCRIeCgphZnRlcl9hZGRyGAMgASgJUgphZnRlcl9hZGRyIowBCg1ibG9ja19oaXN0b3J5EhAKCHByb3RvY29sGAEgASgJEgwKBGhvc3QYAiABKAkSKAoEdGltZRgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASDwoHcHJvY2VzcxgEIAEoCRIgCgtibG9ja19jb3VudBgFIAEoBFILYmxvY2tfY291bnQihwEKEmJsb2NrX2hpc3RvcnlfbGlzdBI9CgdvYmplY3RzGAEgAygLMiwueXVoYWlpbi5wcm90b3MuY29uZmlnLnNlcnZpY2UuYmxvY2tfaGlzdG9yeRIyChRkdW1wX3Byb2Nlc3NfZW5hYmxlZBgCIAEoCFIUZHVtcF9wcm9jZXNzX2VuYWJsZWQiIgoRaW5ib3VuZHNfcmVzcG9uc2USDQoFbmFtZXMYASADKAkyuAEKDmNvbmZpZ19zZXJ2aWNlEjcKBGxvYWQSFi5nb29nbGUucHJvdG9idWYuRW1wdHkaFy55dWhhaWluLmNvbmZpZy5zZXR0aW5nEjcKBHNhdmUSFy55dWhhaWluLmNvbmZpZy5zZXR0aW5nGhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5EjQKBGluZm8SFi5nb29nbGUucHJvdG9idWYuRW1wdHkaFC55dWhhaWluLmNvbmZpZy5pbmZvMuICCgZieXBhc3MSNgoEbG9hZBIWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRoWLnl1aGFpaW4uYnlwYXNzLmNvbmZpZxI2CgRzYXZlEhYueXVoYWlpbi5ieXBhc3MuY29uZmlnGhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5EjgKBnJlbG9hZBIWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRJSCgR0ZXN0EhwuZ29vZ2xlLnByb3RvYnVmLlN0cmluZ1ZhbHVlGiwueXVoYWlpbi5wcm90b3MuY29uZmlnLnNlcnZpY2UudGVzdF9yZXNwb25zZRJaCg1ibG9ja19oaXN0b3J5EhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5GjEueXVoYWlpbi5wcm90b3MuY29uZmlnLnNlcnZpY2UuYmxvY2tfaGlzdG9yeV9saXN0MpkCCgdpbmJvdW5kElAKBGxpc3QSFi5nb29nbGUucHJvdG9idWYuRW1wdHkaMC55dWhhaWluLnByb3Rvcy5jb25maWcuc2VydmljZS5pbmJvdW5kc19yZXNwb25zZRI+CgNnZXQSHC5nb29nbGUucHJvdG9idWYuU3RyaW5nVmFsdWUaGS55dWhhaWluLmxpc3RlbmVyLmluYm91bmQSPAoEc2F2ZRIZLnl1aGFpaW4ubGlzdGVuZXIuaW5ib3VuZBoZLnl1aGFpaW4ubGlzdGVuZXIuaW5ib3VuZBI+CgZyZW1vdmUSHC5nb29nbGUucHJvdG9idWYuU3RyaW5nVmFsdWUaFi5nb29nbGUucHJvdG9idWYuRW1wdHlCOFo2Z2l0aHViLmNvbS9Bc3V0b3J1ZmEveXVoYWlpbi9wa2cvcHJvdG9zL2NvbmZpZy9zZXJ2aWNlYgZwcm90bzM",[G.Pr,m.qc,d._6,X.t,W.Ax,Y.i]),I=(0,c.Z)(V,0),B=(0,g.Z)(V,0),u=(0,g.Z)(V,1),o=(0,g.Z)(V,2)},7641:(A,Z,l)=>{l.d(Z,{A0:()=>F,AK:()=>B,BP:()=>y,E_:()=>p,JM:()=>H,JX:()=>u,K0:()=>i,Q9:()=>o,Qi:()=>N,Rc:()=>n,SL:()=>C,UM:()=>I,Zq:()=>m,_6:()=>G,as:()=>Y,bN:()=>X,c1:()=>K,f6:()=>v,fx:()=>J,gE:()=>W,l:()=>h,l0:()=>z,lA:()=>R,ls:()=>d,ql:()=>S,sn:()=>V,vC:()=>a,xz:()=>E});var b=l(6788),c=l(8123),g=l(9537);let G=(0,b.w)("Ch5jb25maWcvbGlzdGVuZXIvbGlzdGVuZXIucHJvdG8SEHl1aGFpaW4ubGlzdGVuZXIiowIKDmluYm91bmRfY29uZmlnEh4KCmhpamFja19kbnMYAiABKAhSCmhpamFja19kbnMSLAoRaGlqYWNrX2Ruc19mYWtlaXAYAyABKAhSEWhpamFja19kbnNfZmFrZWlwEkAKCGluYm91bmRzGAEgAygLMi4ueXVoYWlpbi5saXN0ZW5lci5pbmJvdW5kX2NvbmZpZy5JbmJvdW5kc0VudHJ5EiYKBXNuaWZmGAQgASgLMhcueXVoYWlpbi5saXN0ZW5lci5zbmlmZhpKCg1JbmJvdW5kc0VudHJ5EgsKA2tleRgBIAEoCRIoCgV2YWx1ZRgCIAEoCzIZLnl1aGFpaW4ubGlzdGVuZXIuaW5ib3VuZDoCOAFKBAgFEAZSB3NlcnZlcnMi4QUKB2luYm91bmQSDAoEbmFtZRgNIAEoCRIPCgdlbmFibGVkGA4gASgIEigKBWVtcHR5GBUgASgLMhcueXVoYWlpbi5saXN0ZW5lci5lbXB0eUgAEioKBnRjcHVkcBgPIAEoCzIYLnl1aGFpaW4ubGlzdGVuZXIudGNwdWRwSAASJgoEcXVpYxgQIAEoCzIWLnl1aGFpaW4ubGlzdGVuZXIucXVpY0gAEi4KCXRyYW5zcG9ydBgCIAMoCzIbLnl1aGFpaW4ubGlzdGVuZXIudHJhbnNwb3J0EiYKBGh0dHAYAyABKAsyFi55dWhhaWluLmxpc3RlbmVyLmh0dHBIARIqCgZzb2NrczUYBCABKAsyGC55dWhhaWluLmxpc3RlbmVyLnNvY2tzNUgBEjAKCXl1dWJpbnN5YRgHIAEoCzIbLnl1aGFpaW4ubGlzdGVuZXIueXV1Ymluc3lhSAESLQoDbWl4GAggASgLMhcueXVoYWlpbi5saXN0ZW5lci5taXhlZEgBUgVtaXhlZBIsCgdzb2NrczRhGAkgASgLMhkueXVoYWlpbi5saXN0ZW5lci5zb2NrczRhSAESKgoGdHByb3h5GBQgASgLMhgueXVoYWlpbi5saXN0ZW5lci50cHJveHlIARIoCgVyZWRpchgSIAEoCzIXLnl1aGFpaW4ubGlzdGVuZXIucmVkaXJIARIkCgN0dW4YEyABKAsyFS55dWhhaWluLmxpc3RlbmVyLnR1bkgBEkQKDHJldmVyc2VfaHR0cBgWIAEoCzIeLnl1aGFpaW4ubGlzdGVuZXIucmV2ZXJzZV9odHRwSAFSDHJldmVyc2VfaHR0cBJBCgtyZXZlcnNlX3RjcBgXIAEoCzIdLnl1aGFpaW4ubGlzdGVuZXIucmV2ZXJzZV90Y3BIAVILcmV2ZXJzZV90Y3BCCQoHbmV0d29ya0IKCghwcm90b2NvbEoECBEQElIESVB2NiLCAgoJdHJhbnNwb3J0EioKBm5vcm1hbBgMIAEoCzIYLnl1aGFpaW4ubGlzdGVuZXIubm9ybWFsSAASJAoDdGxzGAEgASgLMhUueXVoYWlpbi5saXN0ZW5lci50bHNIABIkCgNtdXgYAiABKAsyFS55dWhhaWluLmxpc3RlbmVyLm11eEgAEigKBWh0dHAyGAUgASgLMhcueXVoYWlpbi5saXN0ZW5lci5odHRwMkgAEjAKCXdlYnNvY2tldBgGIAEoCzIbLnl1aGFpaW4ubGlzdGVuZXIud2Vic29ja2V0SAASJgoEZ3JwYxgLIAEoCzIWLnl1aGFpaW4ubGlzdGVuZXIuZ3JwY0gAEiwKB3JlYWxpdHkYCiABKAsyGS55dWhhaWluLmxpc3RlbmVyLnJlYWxpdHlIAEILCgl0cmFuc3BvcnQiBwoFZW1wdHkiBQoDbXV4IkoKBnRjcHVkcBIMCgRob3N0GAEgASgJEjIKB2NvbnRyb2wYAiABKA4yIS55dWhhaWluLmxpc3RlbmVyLnRjcF91ZHBfY29udHJvbCI/CgRxdWljEgwKBGhvc3QYASABKAkSKQoDdGxzGAMgASgLMhwueXVoYWlpbi5saXN0ZW5lci50bHNfY29uZmlnIjYKBGh0dHASEAoIdXNlcm5hbWUYAyABKAkSEAoIcGFzc3dvcmQYBCABKAlKBAgBEAJSBGhvc3QiRQoGc29ja3M1EhAKCHVzZXJuYW1lGAMgASgJEhAKCHBhc3N3b3JkGAQgASgJEgsKA3VkcBgFIAEoCEoECAEQAlIEaG9zdCInCgdzb2NrczRhEhAKCHVzZXJuYW1lGAIgASgJSgQIARACUgRob3N0IjcKBW1peGVkEhAKCHVzZXJuYW1lGAMgASgJEhAKCHBhc3N3b3JkGAQgASgJSgQIARACUgRob3N0IhUKBXJlZGlyEgwKBGhvc3QYASABKAkiYAoGdHByb3h5EgwKBGhvc3QYASABKAkSJAoNZG5zX2hpamFja2luZxgCIAEoCFINZG5zX2hpamFja2luZxIiCgxmb3JjZV9mYWtlaXAYAyABKAhSDGZvcmNlX2Zha2VpcCKVAwoDdHVuEgwKBG5hbWUYASABKAkSCwoDbXR1GAIgASgFEiIKDGZvcmNlX2Zha2VpcBgJIAEoCFIMZm9yY2VfZmFrZWlwEiYKDnNraXBfbXVsdGljYXN0GAYgASgIUg5za2lwX211bHRpY2FzdBI1CgZkcml2ZXIYByABKA4yJS55dWhhaWluLmxpc3RlbmVyLnR1bi5lbmRwb2ludF9kcml2ZXISDgoGcG9ydGFsGAggASgJEhwKCXBvcnRhbF92NhgLIAEoCVIJcG9ydGFsX3Y2EiYKBXJvdXRlGAogASgLMhcueXVoYWlpbi5saXN0ZW5lci5yb3V0ZRIYCgdwb3N0X3VwGAwgAygJUgdwb3N0X3VwEhwKCXBvc3RfZG93bhgNIAMoCVIJcG9zdF9kb3duIj4KD2VuZHBvaW50X2RyaXZlchILCgdmZGJhc2VkEAASCwoHY2hhbm5lbBABEhEKDXN5c3RlbV9ndmlzb3IQAkoECAMQBEoECAQQBVIHZ2F0ZXdheVINZG5zX2hpamFja2luZyIpCgVyb3V0ZRIOCgZyb3V0ZXMYASADKAkSEAoIZXhjbHVkZXMYAiADKAki9QEKCXl1dWJpbnN5YRIQCghwYXNzd29yZBgCIAEoCRIgCgt0Y3BfZW5jcnlwdBgMIAEoCFILdGNwX2VuY3J5cHQSIAoLdWRwX2VuY3J5cHQYDSABKAhSC3VkcF9lbmNyeXB0EgsKA211eBgLIAEoCEoECAEQAkoECAMQBEoECAQQBUoECAUQBkoECAYQB0oECAcQCEoECAgQCUoECAkQCkoECAoQC1IEaG9zdFIVZm9yY2VfZGlzYWJsZV9lbmNyeXB0UgZub3JtYWxSA3Rsc1IEcXVpY1IJd2Vic29ja2V0UgRncnBjUgVodHRwMlIHcmVhbGl0eSIICgZub3JtYWwiFgoJd2Vic29ja2V0SgQIARACUgN0bHMiMAoDdGxzEikKA3RscxgBIAEoCzIcLnl1aGFpaW4ubGlzdGVuZXIudGxzX2NvbmZpZyIRCgRncnBjSgQIARACUgN0bHMiEgoFaHR0cDJKBAgBEAJSA3RscyKGAQoHcmVhbGl0eRIaCghzaG9ydF9pZBgBIAMoCVIIc2hvcnRfaWQSIAoLc2VydmVyX25hbWUYAiADKAlSC3NlcnZlcl9uYW1lEgwKBGRlc3QYAyABKAkSIAoLcHJpdmF0ZV9rZXkYBCABKAlSC3ByaXZhdGVfa2V5Eg0KBWRlYnVnGAUgASgIIrMCCgp0bHNfY29uZmlnEjMKDGNlcnRpZmljYXRlcxgBIAMoCzIdLnl1aGFpaW4ubGlzdGVuZXIuY2VydGlmaWNhdGUSIAoLbmV4dF9wcm90b3MYAyADKAlSC25leHRfcHJvdG9zEnEKF3NlcnZlcl9uYW1lX2NlcnRpZmljYXRlGAQgAygLMjcueXVoYWlpbi5saXN0ZW5lci50bHNfY29uZmlnLlNlcnZlck5hbWVDZXJ0aWZpY2F0ZUVudHJ5UhdzZXJ2ZXJfbmFtZV9jZXJ0aWZpY2F0ZRpbChpTZXJ2ZXJOYW1lQ2VydGlmaWNhdGVFbnRyeRILCgNrZXkYASABKAkSLAoFdmFsdWUYAiABKAsyHS55dWhhaWluLmxpc3RlbmVyLmNlcnRpZmljYXRlOgI4ASJ2CgtjZXJ0aWZpY2F0ZRIMCgRjZXJ0GAEgASgMEgsKA2tleRgCIAEoDBImCg5jZXJ0X2ZpbGVfcGF0aBgDIAEoCVIOY2VydF9maWxlX3BhdGgSJAoNa2V5X2ZpbGVfcGF0aBgEIAEoCVINa2V5X2ZpbGVfcGF0aCIYCgVzbmlmZhIPCgdlbmFibGVkGAEgASgIIhsKDHJldmVyc2VfaHR0cBILCgN1cmwYASABKAkiGwoLcmV2ZXJzZV90Y3ASDAoEaG9zdBgBIAEoCSpMCg90Y3BfdWRwX2NvbnRyb2wSFwoTdGNwX3VkcF9jb250cm9sX2FsbBAAEg8KC2Rpc2FibGVfdGNwEAESDwoLZGlzYWJsZV91ZHAQAkI5WjdnaXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3MvY29uZmlnL2xpc3RlbmVyYgZwcm90bzM"),m=(0,c.Z)(G,1),d=(0,c.Z)(G,2),X=(0,c.Z)(G,3),W=(0,c.Z)(G,4),Y=(0,c.Z)(G,5),V=(0,c.Z)(G,6),I=(0,c.Z)(G,7),B=(0,c.Z)(G,8),u=(0,c.Z)(G,10),o=(0,c.Z)(G,11),C=(0,c.Z)(G,12),a=(0,c.Z)(G,13);var E=function(A){return A[A.fdbased=0]="fdbased",A[A.channel=1]="channel",A[A.system_gvisor=2]="system_gvisor",A}({});let h=(0,c.Z)(G,14),R=(0,c.Z)(G,15),n=(0,c.Z)(G,16),y=(0,c.Z)(G,17),J=(0,c.Z)(G,18),p=(0,c.Z)(G,19),S=(0,c.Z)(G,20),i=(0,c.Z)(G,21),N=(0,c.Z)(G,22),v=(0,c.Z)(G,23),K=(0,c.Z)(G,24),z=(0,c.Z)(G,25),F=(0,c.Z)(G,26),H=(0,g.R)(G,0)},4431:(A,Z,l)=>{l.d(Z,{cP:()=>c,gS:()=>b});let b=(0,l(6788).w)("ChRjb25maWcvbG9nL2xvZy5wcm90bxILeXVoYWlpbi5sb2ciPQoGbG9nY2F0EiUKBWxldmVsGAEgASgOMhYueXVoYWlpbi5sb2cubG9nX2xldmVsEgwKBHNhdmUYAiABKAgqUAoJbG9nX2xldmVsEgsKB3ZlcmJvc2UQABIJCgVkZWJ1ZxABEggKBGluZm8QAhILCgd3YXJuaW5nEAMSCQoFZXJyb3IQBBIJCgVmYXRhbBAFQjRaMmdpdGh1Yi5jb20vQXN1dG9ydWZhL3l1aGFpaW4vcGtnL3Byb3Rvcy9jb25maWcvbG9nYgZwcm90bzM");var c=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/922-502c405a536f7842.js b/_next/static/chunks/922-502c405a536f7842.js new file mode 100644 index 00000000..0357854f --- /dev/null +++ b/_next/static/chunks/922-502c405a536f7842.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[922],{744:(e,l,s)=>{s.d(l,{DH:()=>r,G_:()=>h,Ow:()=>u,Oz:()=>n,VN:()=>g,X3:()=>i,_s:()=>p,dp:()=>m,h$:()=>v,kP:()=>t,mv:()=>x,oH:()=>o,r3:()=>a,u1:()=>c});var t="",n="https://clients3.google.com/generate_204",a="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");t=null!==e?e:"",e=localStorage.getItem("remote_bypass"),null!==(e=localStorage.getItem("latency_http_url"))&&(n=e),null!==(e=localStorage.getItem("latency_dns_url"))&&(a=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=>{j("api_url",e)},m=e=>{j("latency_dns_url",e)},h=e=>{j("latency_http_url",e)},x=e=>{j("latency_ipv6",e.toString())},v=e=>{j("latency_ip_url",e)},p=e=>{j("latency_stun_url",e)},g=e=>{j("latency_stun_tcp_url",e)},j=(e,l)=>{""===l?localStorage.removeItem(e):localStorage.setItem(e,l),d()};d()},9169:(e,l,s)=>{s.d(l,{A:()=>r});var t=s(5155),n=s(5554),a=s.n(n),o=s(4216);let r=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)(a(),{className:"p2",statusCode:void 0!==e.code?e.code:500,title:e.children})}),(0,t.jsx)("div",{className:"p2",children:(0,t.jsx)(o.A,{})})]})}},8927:(e,l,s)=>{s.d(l,{AD:()=>r,kP:()=>c,zZ:()=>i});var t=s(950),n=s(7558),a=s(6989),o=s(744);function r(e,l,s,r){return c=>r?(0,t.o)(e.output,r):fetch("".concat(o.kP).concat(c),{method:l,body:s?(0,n.R)(e.input,s):void 0}).then(async l=>{if(!l.ok)throw{code:l.status,msg:l.statusText,raw:l.text()};return(0,a.Er)(e.output,new Uint8Array(await l.arrayBuffer()))})}async function c(e,l,s,t){let r=await fetch("".concat(o.kP).concat(l),{method:s,body:t?(0,n.R)(e.input,t):void 0});return r.ok?{data:(0,a.Er)(e.output,new Uint8Array(await r.arrayBuffer()))}:{error:{code:r.status,msg:await r.text()}}}function i(e,l){return(s,t)=>{let r,{next:c}=t,i=new URL(""!==o.kP?o.kP:window.location.toString());i.pathname=s.url,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",s=>{console.log("connect to: ".concat(i,", event type: ").concat(s.type)),null==r||r.send((0,n.R)(e.input,l))}),r.addEventListener("message",l=>{let t=(0,a.Er)(e.output,new Uint8Array(l.data));c(null,e=>s.stream(t,e))}),r.addEventListener("error",e=>{let l="websocket have some error";c({msg:l,code:500}),console.log(l,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(s)),r.close(),r=void 0)}}}},7204:(e,l,s)=>{s.d(l,{a9:()=>p,e9:()=>j,fH:()=>f,jU:()=>g,kk:()=>A,mI:()=>v,mc:()=>w,n4:()=>b});var t=s(5155),n=s(2115),a=s(9637),o=s(3381),r=s(9725),c=s(6180),i=s(6121),d=s(3667),u=s(8003),m=s(2963),h=s(2981),x=s(3614);class v{constructor(e){this.label=e.label,this.value=e.value,this.label_children=e.label_children}}let p=e=>{let{label:l,value:s,url:n,plaintext:m,onChange:h,reminds:x,mb:v,placeholder:p,errorMsg:g}=e;return(0,t.jsxs)(c.A.Group,{as:i.A,className:v||"mb-2",children:[(0,t.jsx)(c.A.Label,{column:!0,sm:2,className:"nowrap",children:l}),(0,t.jsx)(d.A,{sm:10,children:(0,t.jsxs)(u.A,{className:v||"mb-2",hasValidation:!!g,children:[x&&x.length?(0,t.jsxs)(a.A,{children:[(0,t.jsx)(a.A.Toggle,{variant:"outline-secondary",id:"dropdown-basic"}),(0,t.jsx)(o.A,{style:{maxHeight:"300px",overflowY:"auto"},children:x.map(e=>(0,t.jsxs)(r.A,{onClick:()=>h&&h(e.value),children:[(0,t.jsx)("b",{children:e.label}),e.label_children&&e.label_children.map(e=>(0,t.jsx)("div",{children:(0,t.jsx)("span",{className:"text-body-secondary",children:e})},e))]},e.value))})]}):(0,t.jsx)(t.Fragment,{}),n?(0,t.jsx)("a",{className:"mt-1",href:n,target:"_blank",children:s}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.A.Control,{value:s,plaintext:m,placeholder:p,isInvalid:!!g,onChange:e=>{h&&h(e.target.value)}}),g&&(0,t.jsx)(c.A.Control.Feedback,{type:"invalid",children:g})]})]})})]})},g=e=>(0,t.jsxs)(c.A.Group,{as:i.A,className:"mb-2",children:[(0,t.jsx)(c.A.Label,{column:!0,sm:2,className:"nowrap",children:e.label}),(0,t.jsx)(d.A,{sm:10,children:(0,t.jsx)(c.A.Control,{as:"textarea",rows:5,value:e.value,onChange:l=>e.onChange(l.target.value)})})]}),j=e=>{let{title:l,data:s,onChange:a,errorMsgs:o}=e,[r,h]=(0,n.useState)({value:""});return(0,t.jsxs)(c.A.Group,{as:i.A,className:"mb-3",children:[(0,t.jsx)(c.A.Label,{column:!0,sm:2,className:"nowrap",children:l}),s&&s.map((e,l)=>(0,t.jsx)(d.A,{sm:{span:10,offset:0!==l?2:0},children:(0,t.jsxs)(u.A,{className:"mb-2",hasValidation:!!o&&!!o[e],children:[(0,t.jsx)(c.A.Control,{onChange:e=>{a([...s.slice(0,l),e.target.value,...s.slice(l+1)])},isInvalid:!!o&&!!o[e],value:e}),(0,t.jsx)(m.A,{variant:"outline-danger",onClick:()=>{a([...s.slice(0,l),...s.slice(l+1)])},children:(0,t.jsx)("i",{className:"bi bi-x-lg"})}),o&&o[e]&&(0,t.jsx)(c.A.Control.Feedback,{type:"invalid",children:o[e]})]})},l)),(0,t.jsx)(d.A,{sm:{span:10,offset:(null==s?void 0:s.length)!==0?2:0},children:(0,t.jsxs)(u.A,{className:"mb-2",children:[(0,t.jsx)(c.A.Control,{value:r.value,onChange:e=>h({value:e.target.value})}),(0,t.jsx)(m.A,{variant:"outline-success",onClick:()=>{a([...s,r.value])},children:(0,t.jsx)("i",{className:"bi bi-plus-lg"})})]})})]})},b=e=>{let{title:l,data:s,onChange:a,textarea:o}=e,[r,h]=(0,n.useState)({value:""});return(0,t.jsxs)(c.A.Group,{as:i.A,className:"mb-3",children:[(0,t.jsx)(c.A.Label,{column:!0,sm:2,className:"nowrap",children:l}),s&&s.map((e,l)=>(0,t.jsx)(d.A,{sm:{span:10,offset:0!==l?2:0},children:(0,t.jsxs)(u.A,{className:"mb-2",children:[(0,t.jsx)(c.A.Control,{value:new TextDecoder().decode(e),as:o?"textarea":void 0,onChange:e=>{a([...s.slice(0,l),new TextEncoder().encode(e.target.value),...s.slice(l+1)])}}),(0,t.jsx)(m.A,{variant:"outline-danger",onClick:()=>{a([...s.slice(0,l),...s.slice(l+1)])},children:(0,t.jsx)("i",{className:"bi bi-x-lg"})})]})},"bi-"+l)),(0,t.jsx)(d.A,{sm:{span:10,offset:(null==s?void 0:s.length)!==0?2:0},children:(0,t.jsxs)(u.A,{className:"mb-2",children:[(0,t.jsx)(c.A.Control,{as:o?"textarea":void 0,value:r.value,onChange:e=>h({value:e.target.value})}),(0,t.jsx)(m.A,{variant:"outline-success",onClick:()=>{s?a([...s,new TextEncoder().encode(r.value)]):a([new TextEncoder().encode(r.value)])},children:(0,t.jsx)("i",{className:"bi bi-plus-lg"})})]})})]})};function A(e){return(0,t.jsxs)(c.A.Group,{as:i.A,className:e.mb?e.mb:"mb-2",children:[(0,t.jsx)(c.A.Label,{column:!0,sm:2,className:"nowrap",children:e.title}),(0,t.jsx)(d.A,{sm:{span:10,offset:0},children:(0,t.jsx)(u.A,{className:e.mb?e.mb:"mb-2"})}),e.data&&e.data.map((l,s)=>(0,t.jsx)(d.A,{sm:{span:10,offset:2},className:"mt-0",children:(0,t.jsx)(u.A,{className:e.mb?e.mb:"mb-2",children:l})},s))]})}class f{constructor(e,l,s){this.move=e=>{if(this.elems.length<=1||e&&0===this.current||!e&&this.current===this.elems.length-1)return;let l=[...this.elems],s=l[this.current];l[this.current]=l[this.current+(e?-1:1)],l[this.current+(e?-1:1)]=s,this.onmove(l)},this.length=()=>this.elems.length,this.isTop=()=>0===this.current,this.isBottom=()=>this.current===this.elems.length-1,this.current=l,this.elems=e,this.onmove=s}}function w(e){var l,s;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(h.A,{className:"flex-grow-1 form-floating",children:[(0,t.jsxs)(h.A.Header,{className:"d-flex justify-content-between",children:[e.title,(!e.hideClose||e.moveUpDown)&&(0,t.jsxs)(x.A,{children:[!(null===(l=e.moveUpDown)||void 0===l?void 0:l.isTop())&&(0,t.jsx)(m.A,{variant:"outline-primary",size:"sm",onClick:()=>{var l;return null===(l=e.moveUpDown)||void 0===l?void 0:l.move(!0)},children:(0,t.jsx)("i",{className:"bi bi-arrow-up"})}),!(null===(s=e.moveUpDown)||void 0===s?void 0:s.isBottom())&&(0,t.jsx)(m.A,{variant:"outline-primary",size:"sm",onClick:()=>{var l;return null===(l=e.moveUpDown)||void 0===l?void 0:l.move(!1)},children:(0,t.jsx)("i",{className:"bi bi-arrow-down"})}),!e.hideClose&&(0,t.jsx)(m.A,{variant:"outline-danger",size:"sm",onClick:e.onClose,children:(0,t.jsx)("i",{className:"bi bi-x-lg"})})]})]}),(0,t.jsx)(h.A.Body,{children:e.children})]}),(0,t.jsx)("br",{})]})}}}]); \ No newline at end of file diff --git a/_next/static/chunks/923-d163b95e50725223.js b/_next/static/chunks/923-d163b95e50725223.js deleted file mode 100644 index e0f799ab..00000000 --- a/_next/static/chunks/923-d163b95e50725223.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[923],{2773:(e,t,n)=>{"use strict";n.d(t,{Am:()=>l,Ay:()=>d});var r=n(2115),o=n(5155);let a=["as","disabled"];function l({tagName:e,disabled:t,href:n,target:r,rel:o,role:a,onClick:l,tabIndex:i=0,type:d}){e||(e=null!=n||null!=r||null!=o?"a":"button");let s={tagName:e};if("button"===e)return[{type:d||"button",disabled:t},s];let c=r=>{var o;if(!t&&("a"!==e||(o=n)&&"#"!==o.trim())||r.preventDefault(),t){r.stopPropagation();return}null==l||l(r)};return"a"===e&&(n||(n="#"),t&&(n=void 0)),[{role:null!=a?a:"button",disabled:void 0,tabIndex:t?void 0:i,href:n,target:"a"===e?r:void 0,"aria-disabled":t||void 0,rel:"a"===e?o:void 0,onClick:c,onKeyDown:e=>{" "===e.key&&(e.preventDefault(),c(e))}},s]}let i=r.forwardRef((e,t)=>{let{as:n,disabled:r}=e,i=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,a),[d,{tagName:s}]=l(Object.assign({tagName:n,disabled:r},i));return(0,o.jsx)(s,Object.assign({},i,d,{ref:t}))});i.displayName="Button";let d=i},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)),i={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function d(e){let{res:t,err:n}=e;return{statusCode:t&&t.statusCode?t.statusCode:n?n.statusCode:404}}let s={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||i[e]||"An unexpected error has occurred";return(0,o.jsxs)("div",{style:s.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:s.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:s.h1,children:e}):null,(0,o.jsx)("div",{style:s.wrap,children:(0,o.jsxs)("h2",{style:s.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=d,c.origGetInitialProps=d,("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 o=n(306),a=n(9955),l=n(5155),i=a._(n(2115)),d=o._(n(1172)),s=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 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=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 m=function(e){let{children:t}=e,n=(0,i.useContext)(s.AmpStateContext),r=(0,i.useContext)(c.HeadManagerContext);return(0,l.jsx)(d.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,a=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 d;null==t||null==(d=t.mountedInstances)||d.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)})),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)},2963:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(4617),o=n.n(r),a=n(2115),l=n(2773),i=n(1653),d=n(5155);let s=a.forwardRef((e,t)=>{let{as:n,bsPrefix:r,variant:a="primary",size:s,active:c=!1,disabled:u=!1,className:f,...p}=e,b=(0,i.oU)(r,"btn"),[h,{tagName:m}]=(0,l.Am)({tagName:n,disabled:u,...p});return(0,d.jsx)(m,{...h,...p,ref:t,disabled:u,className:o()(f,b,c&&"active",a&&"".concat(b,"-").concat(a),s&&"".concat(b,"-").concat(s),p.href&&u&&"disabled")})});s.displayName="Button";let c=s},4216:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(4617),o=n.n(r),a=n(2115),l=n(1653),i=n(5155);let d=a.forwardRef((e,t)=>{let{bsPrefix:n,variant:r,animation:a="border",size:d,as:s="div",className:c,...u}=e;n=(0,l.oU)(n,"spinner");let f="".concat(n,"-").concat(a);return(0,i.jsx)(s,{ref:t,...u,className:o()(c,f,d&&"".concat(f,"-").concat(d),r&&"text-".concat(r))})});d.displayName="Spinner";let s=d},9141:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(4617),o=n.n(r),a=n(2115),l=n(1653),i=n(5155);let d=a.forwardRef((e,t)=>{let{bsPrefix:n,className:r,striped:a,bordered:d,borderless:s,hover:c,size:u,variant:f,responsive:p,...b}=e,h=(0,l.oU)(n,"table"),m=o()(r,h,f&&"".concat(h,"-").concat(f),u&&"".concat(h,"-").concat(u),a&&"".concat(h,"-").concat("string"==typeof a?"striped-".concat(a):"striped"),d&&"".concat(h,"-bordered"),s&&"".concat(h,"-borderless"),c&&"".concat(h,"-hover")),y=(0,i.jsx)("table",{...b,className:m,ref:t});if(p){let e="".concat(h,"-responsive");return"string"==typeof p&&(e="".concat(e,"-").concat(p)),(0,i.jsx)("div",{className:e,children:y})}return y})},9678:(e,t,n)=>{"use strict";n.d(t,{i:()=>a,w:()=>l});var r=n(6788),o=n(8123);let a=(0,r.w)("Ch9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvEg9nb29nbGUucHJvdG9idWYiKwoJVGltZXN0YW1wEg8KB3NlY29uZHMYASABKAMSDQoFbmFub3MYAiABKAVChQEKE2NvbS5nb29nbGUucHJvdG9idWZCDlRpbWVzdGFtcFByb3RvUAFaMmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3RpbWVzdGFtcHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),l=(0,o.Z)(a,0)},8170:(e,t,n)=>{"use strict";function r(e){return new Date(1e3*Number(e.seconds)+Math.ceil(e.nanos/1e6))}n.d(t,{FP:()=>r})}}]); \ No newline at end of file diff --git a/_next/static/chunks/969-7a9cf562ff46728f.js b/_next/static/chunks/969-7a9cf562ff46728f.js new file mode 100644 index 00000000..26a54ae3 --- /dev/null +++ b/_next/static/chunks/969-7a9cf562ff46728f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[969],{9969:(A,c,b)=>{b.d(c,{tA:()=>m,rH:()=>a,bT:()=>C,hf:()=>E,B1:()=>V,Tc:()=>n,q:()=>Y});var l=b(6788),Z=b(8123),g=b(4395),d=b(9297),W=b(1936),G=b(2049),R=b(4601),B=b(1649);let I=(0,l.w)("Cg9ub2RlL25vZGUucHJvdG8SDHl1aGFpaW4ubm9kZSLpAQoEbm9kZRIhCgN0Y3AYBCABKAsyFC55dWhhaWluLnBvaW50LnBvaW50EiEKA3VkcBgFIAEoCzIULnl1aGFpaW4ucG9pbnQucG9pbnQSLAoFbGlua3MYAiADKAsyHS55dWhhaWluLm5vZGUubm9kZS5MaW5rc0VudHJ5EiYKB21hbmFnZXIYAyABKAsyFS55dWhhaWluLm5vZGUubWFuYWdlchpFCgpMaW5rc0VudHJ5EgsKA2tleRgBIAEoCRImCgV2YWx1ZRgCIAEoCzIXLnl1aGFpaW4uc3Vic2NyaWJlLmxpbms6AjgBInkKBW5vZGVzEkAKB25vZGVzVjIYAyADKAsyIC55dWhhaWluLm5vZGUubm9kZXMuTm9kZXNWMkVudHJ5Ug1ub2RlX2hhc2hfbWFwGi4KDE5vZGVzVjJFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIvsCCgdtYW5hZ2VyEkYKCGdyb3Vwc1YyGAIgAygLMiMueXVoYWlpbi5ub2RlLm1hbmFnZXIuR3JvdXBzVjJFbnRyeVIPZ3JvdXBfbm9kZXNfbWFwEi8KBW5vZGVzGAMgAygLMiAueXVoYWlpbi5ub2RlLm1hbmFnZXIuTm9kZXNFbnRyeRItCgR0YWdzGAQgAygLMh8ueXVoYWlpbi5ub2RlLm1hbmFnZXIuVGFnc0VudHJ5GkQKDUdyb3Vwc1YyRW50cnkSCwoDa2V5GAEgASgJEiIKBXZhbHVlGAIgASgLMhMueXVoYWlpbi5ub2RlLm5vZGVzOgI4ARpCCgpOb2Rlc0VudHJ5EgsKA2tleRgBIAEoCRIjCgV2YWx1ZRgCIAEoCzIULnl1aGFpaW4ucG9pbnQucG9pbnQ6AjgBGj4KCVRhZ3NFbnRyeRILCgNrZXkYASABKAkSIAoFdmFsdWUYAiABKAsyES55dWhhaWluLnRhZy50YWdzOgI4AUIuWixnaXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3Mvbm9kZWIGcHJvdG8z",[G.AB,R.YJ,B.Y$]);var u=b(2197);let o=(0,l.w)("ChRub2RlL2dycGMvbm9kZS5wcm90bxIbeXVoYWlpbi5wcm90b3Mubm9kZS5zZXJ2aWNlIlAKCG5vd19yZXNwEiEKA3RjcBgBIAEoCzIULnl1aGFpaW4ucG9pbnQucG9pbnQSIQoDdWRwGAIgASgLMhQueXVoYWlpbi5wb2ludC5wb2ludCIxCgd1c2VfcmVxEgsKA3RjcBgBIAEoCBILCgN1ZHAYAiABKAgSDAoEaGFzaBgDIAEoCSKdAQoObm9kZXNfcmVzcG9uc2USRwoGZ3JvdXBzGAEgAygLMjcueXVoYWlpbi5wcm90b3Mubm9kZS5zZXJ2aWNlLm5vZGVzX3Jlc3BvbnNlLkdyb3Vwc0VudHJ5GkIKC0dyb3Vwc0VudHJ5EgsKA2tleRgBIAEoCRIiCgV2YWx1ZRgCIAEoCzITLnl1aGFpaW4ubm9kZS5ub2RlczoCOAEiNwoNc2F2ZV9saW5rX3JlcRImCgVsaW5rcxgBIAMoCzIXLnl1aGFpaW4uc3Vic2NyaWJlLmxpbmsiGQoIbGlua19yZXESDQoFbmFtZXMYASADKAkingEKDmdldF9saW5rc19yZXNwEkUKBWxpbmtzGAEgAygLMjYueXVoYWlpbi5wcm90b3Mubm9kZS5zZXJ2aWNlLmdldF9saW5rc19yZXNwLkxpbmtzRW50cnkaRQoKTGlua3NFbnRyeRILCgNrZXkYASABKAkSJgoFdmFsdWUYAiABKAsyFy55dWhhaWluLnN1YnNjcmliZS5saW5rOgI4ASJOCgxzYXZlX3RhZ19yZXESCwoDdGFnGAEgASgJEiMKBHR5cGUYAyABKA4yFS55dWhhaWluLnRhZy50YWdfdHlwZRIMCgRoYXNoGAIgASgJIpMBCg10YWdzX3Jlc3BvbnNlEkIKBHRhZ3MYASADKAsyNC55dWhhaWluLnByb3Rvcy5ub2RlLnNlcnZpY2UudGFnc19yZXNwb25zZS5UYWdzRW50cnkaPgoJVGFnc0VudHJ5EgsKA2tleRgBIAEoCRIgCgV2YWx1ZRgCIAEoCzIRLnl1aGFpaW4udGFnLnRhZ3M6AjgBMswDCgRub2RlEkQKA25vdxIWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRolLnl1aGFpaW4ucHJvdG9zLm5vZGUuc2VydmljZS5ub3dfcmVzcBJBCgN1c2USJC55dWhhaWluLnByb3Rvcy5ub2RlLnNlcnZpY2UudXNlX3JlcRoULnl1aGFpaW4ucG9pbnQucG9pbnQSOQoDZ2V0EhwuZ29vZ2xlLnByb3RvYnVmLlN0cmluZ1ZhbHVlGhQueXVoYWlpbi5wb2ludC5wb2ludBIyCgRzYXZlEhQueXVoYWlpbi5wb2ludC5wb2ludBoULnl1aGFpaW4ucG9pbnQucG9pbnQSPgoGcmVtb3ZlEhwuZ29vZ2xlLnByb3RvYnVmLlN0cmluZ1ZhbHVlGhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5EksKBGxpc3QSFi5nb29nbGUucHJvdG9idWYuRW1wdHkaKy55dWhhaWluLnByb3Rvcy5ub2RlLnNlcnZpY2Uubm9kZXNfcmVzcG9uc2USPwoHbGF0ZW5jeRIZLnl1aGFpaW4ubGF0ZW5jeS5yZXF1ZXN0cxoZLnl1aGFpaW4ubGF0ZW5jeS5yZXNwb25zZTK1AgoJc3Vic2NyaWJlEkoKBHNhdmUSKi55dWhhaWluLnByb3Rvcy5ub2RlLnNlcnZpY2Uuc2F2ZV9saW5rX3JlcRoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRJHCgZyZW1vdmUSJS55dWhhaWluLnByb3Rvcy5ub2RlLnNlcnZpY2UubGlua19yZXEaFi5nb29nbGUucHJvdG9idWYuRW1wdHkSRwoGdXBkYXRlEiUueXVoYWlpbi5wcm90b3Mubm9kZS5zZXJ2aWNlLmxpbmtfcmVxGhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5EkoKA2dldBIWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRorLnl1aGFpaW4ucHJvdG9zLm5vZGUuc2VydmljZS5nZXRfbGlua3NfcmVzcDLcAQoDdGFnEkkKBHNhdmUSKS55dWhhaWluLnByb3Rvcy5ub2RlLnNlcnZpY2Uuc2F2ZV90YWdfcmVxGhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5Ej4KBnJlbW92ZRIcLmdvb2dsZS5wcm90b2J1Zi5TdHJpbmdWYWx1ZRoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRJKCgRsaXN0EhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5GioueXVoYWlpbi5wcm90b3Mubm9kZS5zZXJ2aWNlLnRhZ3NfcmVzcG9uc2VCNlo0Z2l0aHViLmNvbS9Bc3V0b3J1ZmEveXVoYWlpbi9wa2cvcHJvdG9zL25vZGUvc2VydmljZWIGcHJvdG8z",[d.t,W.Ax,I,G.AB,R.YJ,u.cj,B.Y$]),Y=(0,Z.Z)(o,1),C=(0,Z.Z)(o,3),m=(0,Z.Z)(o,4),E=(0,Z.Z)(o,6),a=(0,g.Z)(o,0),V=(0,g.Z)(o,1),n=(0,g.Z)(o,2)},2197:(A,c,b)=>{b.d(c,{B$:()=>R,HZ:()=>o,Jc:()=>G,UM:()=>W,_1:()=>I,_t:()=>B,cj:()=>d,oL:()=>u});var l=b(6788),Z=b(8123),g=b(3620);let d=(0,l.w)("Chpub2RlL2xhdGVuY3kvbGF0ZW5jeS5wcm90bxIPeXVoYWlpbi5sYXRlbmN5IhMKBGh0dHASCwoDdXJsGAEgASgJIjcKA2RucxIMCgRob3N0GAEgASgJEiIKDXRhcmdldF9kb21haW4YAiABKAlSC3RhcmdldF9uYW1lIkEKDWRuc19vdmVyX3F1aWMSDAoEaG9zdBgBIAEoCRIiCg10YXJnZXRfZG9tYWluGAIgASgJUgt0YXJnZXRfbmFtZSIxCgJpcBILCgN1cmwYASABKAkSHgoKdXNlcl9hZ2VudBgCIAEoCVIKdXNlcl9hZ2VudCIpCgtpcF9yZXNwb25zZRIMCgRpcHY0GAEgASgJEgwKBGlwdjYYAiABKAkiIQoEc3R1bhIMCgRob3N0GAEgASgJEgsKA3RjcBgCIAEoCCLHAgoNc3R1bl9yZXNwb25zZRIuChJ4b3JfbWFwcGVkX2FkZHJlc3MYASABKAlSEnhvcl9tYXBwZWRfYWRkcmVzcxImCg5tYXBwZWRfYWRkcmVzcxgCIAEoCVIObWFwcGVkX2FkZHJlc3MSJAoNb3RoZXJfYWRkcmVzcxgDIAEoCVINb3RoZXJfYWRkcmVzcxI4ChdyZXNwb25zZV9vcmlnaW5fYWRkcmVzcxgEIAEoCVIXcmVzcG9uc2Vfb3JpZ2luX2FkZHJlc3MSEAoIU29mdHdhcmUYBSABKAkSMwoHTWFwcGluZxgGIAEoDjIZLnl1aGFpaW4ubGF0ZW5jeS5uYXRfdHlwZVIHbWFwcGluZxI3CglGaWx0ZXJpbmcYByABKA4yGS55dWhhaWluLmxhdGVuY3kubmF0X3R5cGVSCWZpbHRlcmluZyL0AQoIcHJvdG9jb2wSJQoEaHR0cBgBIAEoCzIVLnl1aGFpaW4ubGF0ZW5jeS5odHRwSAASIwoDZG5zGAIgASgLMhQueXVoYWlpbi5sYXRlbmN5LmRuc0gAEkYKDWRuc19vdmVyX3F1aWMYAyABKAsyHi55dWhhaWluLmxhdGVuY3kuZG5zX292ZXJfcXVpY0gAUg1kbnNfb3Zlcl9xdWljEiEKAmlwGAQgASgLMhMueXVoYWlpbi5sYXRlbmN5LmlwSAASJQoEc3R1bhgFIAEoCzIVLnl1aGFpaW4ubGF0ZW5jeS5zdHVuSABCCgoIcHJvdG9jb2wiXgoHcmVxdWVzdBIKCgJpZBgDIAEoCRIMCgRoYXNoGAEgASgJEgwKBGlwdjYYBCABKAgSKwoIcHJvdG9jb2wYAiABKAsyGS55dWhhaWluLmxhdGVuY3kucHJvdG9jb2wiNgoIcmVxdWVzdHMSKgoIcmVxdWVzdHMYASADKAsyGC55dWhhaWluLmxhdGVuY3kucmVxdWVzdCKsAQoIcmVzcG9uc2USUwoOaWRfbGF0ZW5jeV9tYXAYASADKAsyKy55dWhhaWluLmxhdGVuY3kucmVzcG9uc2UuSWRMYXRlbmN5TWFwRW50cnlSDmlkX2xhdGVuY3lfbWFwGksKEUlkTGF0ZW5jeU1hcEVudHJ5EgsKA2tleRgBIAEoCRIlCgV2YWx1ZRgCIAEoCzIWLnl1aGFpaW4ubGF0ZW5jeS5yZXBseToCOAEimgEKBXJlcGx5EiwKB2xhdGVuY3kYASABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb25IABIqCgJpcBgCIAEoCzIcLnl1aGFpaW4ubGF0ZW5jeS5pcF9yZXNwb25zZUgAEi4KBHN0dW4YAyABKAsyHi55dWhhaWluLmxhdGVuY3kuc3R1bl9yZXNwb25zZUgAQgcKBXJlcGx5KswBCghuYXRfdHlwZRIPCgtOQVRfVU5LTk9XThAAEhEKDU5BVF9OT19SRVNVTFQQARIgChxOQVRfRW5kcG9pbnRJbmRlcGVuZGVudE5vTkFUEAISGwoXTkFUX0VuZHBvaW50SW5kZXBlbmRlbnQQAxIYChROQVRfQWRkcmVzc0RlcGVuZGVudBAEEh8KG05BVF9BZGRyZXNzQW5kUG9ydERlcGVuZGVudBAFEiIKHk5BVF9TZXJ2ZXJOb3RTdXBwb3J0Q2hhbmdlUG9ydBAGQjZaNGdpdGh1Yi5jb20vQXN1dG9ydWZhL3l1aGFpaW4vcGtnL3Byb3Rvcy9ub2RlL2xhdGVuY3liBnByb3RvMw",[g.U]),W=(0,Z.Z)(d,0),G=(0,Z.Z)(d,2),R=(0,Z.Z)(d,3),B=(0,Z.Z)(d,5),I=(0,Z.Z)(d,7),u=(0,Z.Z)(d,9);var o=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,b)=>{b.d(c,{AB:()=>d,Ac:()=>W,TG:()=>G});var l=b(6788),Z=b(8123),g=b(1703);let d=(0,l.w)("ChZub2RlL3BvaW50L3BvaW50LnByb3RvEg15dWhhaWluLnBvaW50IogBCgVwb2ludBIMCgRoYXNoGAEgASgJEgwKBG5hbWUYAiABKAkSDQoFZ3JvdXAYAyABKAkSJQoGb3JpZ2luGAQgASgOMhUueXVoYWlpbi5wb2ludC5vcmlnaW4SLQoJcHJvdG9jb2xzGAUgAygLMhoueXVoYWlpbi5wcm90b2NvbC5wcm90b2NvbCotCgZvcmlnaW4SCwoHcmVzZXJ2ZRAAEgoKBnJlbW90ZRBlEgoKBm1hbnVhbBBmQjRaMmdpdGh1Yi5jb20vQXN1dG9ydWZhL3l1aGFpaW4vcGtnL3Byb3Rvcy9ub2RlL3BvaW50YgZwcm90bzM",[g.a3]),W=(0,Z.Z)(d,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,b)=>{b.d(c,{AK:()=>W,BP:()=>m,E_:()=>E,F7:()=>n,GL:()=>v,K0:()=>V,Qi:()=>S,SD:()=>Y,UM:()=>G,X_:()=>o,YZ:()=>h,_1:()=>d,a3:()=>g,bw:()=>J,fO:()=>N,g2:()=>L,g3:()=>y,gE:()=>F,hX:()=>B,lA:()=>C,ql:()=>I,s2:()=>u,sT:()=>X,sn:()=>a,t0:()=>R});var l=b(6788),Z=b(8123);let g=(0,l.w)("Chxub2RlL3Byb3RvY29sL3Byb3RvY29sLnByb3RvEhB5dWhhaWluLnByb3RvY29sIvoHCghwcm90b2NvbBI0CgtzaGFkb3dzb2NrcxgBIAEoCzIdLnl1aGFpaW4ucHJvdG9jb2wuc2hhZG93c29ja3NIABI2CgxzaGFkb3dzb2Nrc3IYAiABKAsyHi55dWhhaWluLnByb3RvY29sLnNoYWRvd3NvY2tzckgAEigKBXZtZXNzGAMgASgLMhcueXVoYWlpbi5wcm90b2NvbC52bWVzc0gAEjAKCXdlYnNvY2tldBgEIAEoCzIbLnl1aGFpaW4ucHJvdG9jb2wud2Vic29ja2V0SAASJgoEcXVpYxgFIAEoCzIWLnl1aGFpaW4ucHJvdG9jb2wucXVpY0gAEjsKCW9iZnNfaHR0cBgGIAEoCzIbLnl1aGFpaW4ucHJvdG9jb2wub2Jmc19odHRwSABSCW9iZnNfaHR0cBIqCgZ0cm9qYW4YByABKAsyGC55dWhhaWluLnByb3RvY29sLnRyb2phbkgAEioKBnNpbXBsZRgIIAEoCzIYLnl1aGFpaW4ucHJvdG9jb2wuc2ltcGxlSAASJgoEbm9uZRgJIAEoCzIWLnl1aGFpaW4ucHJvdG9jb2wubm9uZUgAEioKBnNvY2tzNRgKIAEoCzIYLnl1aGFpaW4ucHJvdG9jb2wuc29ja3M1SAASJgoEaHR0cBgLIAEoCzIWLnl1aGFpaW4ucHJvdG9jb2wuaHR0cEgAEioKBmRpcmVjdBgMIAEoCzIYLnl1aGFpaW4ucHJvdG9jb2wuZGlyZWN0SAASKgoGcmVqZWN0GA0gASgLMhgueXVoYWlpbi5wcm90b2NvbC5yZWplY3RIABIwCgl5dXViaW5zeWEYDiABKAsyGy55dWhhaWluLnByb3RvY29sLnl1dWJpbnN5YUgAEiYKBGdycGMYDyABKAsyFi55dWhhaWluLnByb3RvY29sLmdycGNIABIoCgVodHRwMhgQIAEoCzIXLnl1aGFpaW4ucHJvdG9jb2wuaHR0cDJIABIsCgdyZWFsaXR5GBEgASgLMhkueXVoYWlpbi5wcm90b2NvbC5yZWFsaXR5SAASKwoDdGxzGBIgASgLMhwueXVoYWlpbi5wcm90b2NvbC50bHNfY29uZmlnSAASMAoJd2lyZWd1YXJkGBMgASgLMhsueXVoYWlpbi5wcm90b2NvbC53aXJlZ3VhcmRIABIkCgNtdXgYFCABKAsyFS55dWhhaWluLnByb3RvY29sLm11eEgAEiYKBGRyb3AYFSABKAsyFi55dWhhaWluLnByb3RvY29sLmRyb3BIABIoCgV2bGVzcxgWIAEoCzIXLnl1aGFpaW4ucHJvdG9jb2wudmxlc3NIAEIKCghwcm90b2NvbCJgCgZzb2NrczUSEAoIaG9zdG5hbWUYAyABKAkSDAoEdXNlchgBIAEoCRIQCghwYXNzd29yZBgCIAEoCRIkCg1vdmVycmlkZV9wb3J0GAQgASgNUg1vdmVycmlkZV9wb3J0IiYKBGh0dHASDAoEdXNlchgBIAEoCRIQCghwYXNzd29yZBgCIAEoCSIvCgtzaGFkb3dzb2NrcxIOCgZtZXRob2QYASABKAkSEAoIcGFzc3dvcmQYAiABKAkilQEKDHNoYWRvd3NvY2tzchIOCgZzZXJ2ZXIYASABKAkSDAoEcG9ydBgCIAEoCRIOCgZtZXRob2QYAyABKAkSEAoIcGFzc3dvcmQYBCABKAkSDAoEb2JmcxgFIAEoCRIRCglvYmZzcGFyYW0YBiABKAkSEAoIcHJvdG9jb2wYByABKAkSEgoKcHJvdG9wYXJhbRgIIAEoCSIcCgVodHRwMhITCgtjb25jdXJyZW5jeRgBIAEoBSJCCgV2bWVzcxIQCgR1dWlkGAEgASgJUgJpZBIVCghhbHRlcl9pZBgCIAEoCVIDYWlkEhAKCHNlY3VyaXR5GAMgASgJIhUKBXZsZXNzEgwKBHV1aWQYASABKAkiKAoGdHJvamFuEhAKCHBhc3N3b3JkGAEgASgJEgwKBHBlZXIYAiABKAkinAEKCXl1dWJpbnN5YRIQCghwYXNzd29yZBgBIAEoCRIgCgt0Y3BfZW5jcnlwdBgEIAEoCFILdGNwX2VuY3J5cHQSIAoLdWRwX2VuY3J5cHQYBSABKAhSC3VkcF9lbmNyeXB0EigKD3VkcF9vdmVyX3N0cmVhbRgDIAEoCFIPdWRwX292ZXJfc3RyZWFtSgQIAhADUgllbmNyeXB0ZWQiOgoJd2Vic29ja2V0EgwKBGhvc3QYASABKAkSDAoEcGF0aBgCIAEoCUoECAQQBVILdGxzX2VuYWJsZWQiMQoEZ3JwYxIpCgN0bHMYASABKAsyHC55dWhhaWluLnByb3RvY29sLnRsc19jb25maWciPwoEcXVpYxIMCgRob3N0GAIgASgJEikKA3RscxgBIAEoCzIcLnl1aGFpaW4ucHJvdG9jb2wudGxzX2NvbmZpZyJ2CgdyZWFsaXR5EiAKC3NlcnZlcl9uYW1lGAEgASgJUgtzZXJ2ZXJfbmFtZRIeCgpwdWJsaWNfa2V5GAIgASgJUgpwdWJsaWNfa2V5EhoKCHNob3J0X2lkGAMgASgJUghzaG9ydF9pZBINCgVkZWJ1ZxgEIAEoCCInCglvYmZzX2h0dHASDAoEaG9zdBgBIAEoCRIMCgRwb3J0GAIgASgJIgYKBG5vbmUixgEKBnNpbXBsZRIMCgRob3N0GAEgASgJEgwKBHBvcnQYAiABKAUSPgoOYWx0ZXJuYXRlX2hvc3QYBSADKAsyFi55dWhhaWluLnByb3RvY29sLmhvc3RSDmFsdGVybmF0ZV9ob3N0EiwKEW5ldHdvcmtfaW50ZXJmYWNlGAcgASgJUhFuZXR3b3JrX2ludGVyZmFjZUoECAQQBUoECAYQB0oECAMQBFIDdGxzUgd0aW1lb3V0UhJwYWNrZXRfY29ubl9kaXJlY3QizwEKCnRsc19jb25maWcSDgoGZW5hYmxlGAEgASgIEiEKDHNlcnZlcl9uYW1lcxgGIAMoCVILc2VydmVybmFtZXMSGAoHY2FfY2VydBgDIAMoDFIHY2FfY2VydBIyChRpbnNlY3VyZV9za2lwX3ZlcmlmeRgEIAEoCFIUaW5zZWN1cmVfc2tpcF92ZXJpZnkSIAoLbmV4dF9wcm90b3MYBSADKAlSC25leHRfcHJvdG9zEh4KCmVjaF9jb25maWcYByABKAxSCmVjaF9jb25maWciRQoGZGlyZWN0EiwKEW5ldHdvcmtfaW50ZXJmYWNlGAIgASgJUhFuZXR3b3JrX2ludGVyZmFjZUoECAEQAlIHdGltZW91dCIICgZyZWplY3QiBgoEZHJvcCIiCgRob3N0EgwKBGhvc3QYASABKAkSDAoEcG9ydBgCIAEoBSJ+ChV3aXJlZ3VhcmRfcGVlcl9jb25maWcSEgoKcHVibGljX2tleRgBIAEoCRIWCg5wcmVfc2hhcmVkX2tleRgCIAEoCRIQCghlbmRwb2ludBgDIAEoCRISCgprZWVwX2FsaXZlGAQgASgFEhMKC2FsbG93ZWRfaXBzGAUgAygJIp4BCgl3aXJlZ3VhcmQSEgoKc2VjcmV0X2tleRgBIAEoCRIQCghlbmRwb2ludBgCIAMoCRI2CgVwZWVycxgDIAMoCzInLnl1aGFpaW4ucHJvdG9jb2wud2lyZWd1YXJkX3BlZXJfY29uZmlnEgsKA210dRgEIAEoBRIQCghyZXNlcnZlZBgGIAEoDBIUCgxpZGxlX3RpbWVvdXQYByABKAUiGgoDbXV4EhMKC2NvbmN1cnJlbmN5GAEgASgFQjdaNWdpdGh1Yi5jb20vQXN1dG9ydWZhL3l1aGFpaW4vcGtnL3Byb3Rvcy9ub2RlL3Byb3RvY29sYgZwcm90bzM"),d=(0,Z.Z)(g,0),W=(0,Z.Z)(g,1),G=(0,Z.Z)(g,2),R=(0,Z.Z)(g,3),B=(0,Z.Z)(g,4),I=(0,Z.Z)(g,5),u=(0,Z.Z)(g,6),o=(0,Z.Z)(g,7),Y=(0,Z.Z)(g,8),C=(0,Z.Z)(g,9),m=(0,Z.Z)(g,10),E=(0,Z.Z)(g,11),a=(0,Z.Z)(g,12),V=(0,Z.Z)(g,13),n=(0,Z.Z)(g,14),h=(0,Z.Z)(g,15),X=(0,Z.Z)(g,16),S=(0,Z.Z)(g,17),J=(0,Z.Z)(g,18),N=(0,Z.Z)(g,20),y=(0,Z.Z)(g,21),v=(0,Z.Z)(g,22),L=(0,Z.Z)(g,23),F=(0,Z.Z)(g,24)},4601:(A,c,b)=>{b.d(c,{NW:()=>W,YJ:()=>g,Yk:()=>d});var l=b(6788),Z=b(8123);let g=(0,l.w)("Ch5ub2RlL3N1YnNjcmliZS9zdWJzY3JpYmUucHJvdG8SEXl1aGFpaW4uc3Vic2NyaWJlIkgKBGxpbmsSDAoEbmFtZRgBIAEoCRIlCgR0eXBlGAIgASgOMhcueXVoYWlpbi5zdWJzY3JpYmUudHlwZRILCgN1cmwYAyABKAkqTQoEdHlwZRILCgdyZXNlcnZlEAASCgoGdHJvamFuEAESCQoFdm1lc3MQAhIPCgtzaGFkb3dzb2NrcxADEhAKDHNoYWRvd3NvY2tzchAEQjhaNmdpdGh1Yi5jb20vQXN1dG9ydWZhL3l1aGFpaW4vcGtnL3Byb3Rvcy9ub2RlL3N1YnNjcmliZWIGcHJvdG8z"),d=(0,Z.Z)(g,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,b)=>{b.d(c,{Y$:()=>g,mm:()=>W,xN:()=>d});var l=b(6788),Z=b(8123);let g=(0,l.w)("ChJub2RlL3RhZy90YWcucHJvdG8SC3l1aGFpaW4udGFnIkYKBHRhZ3MSCwoDdGFnGAEgASgJEiMKBHR5cGUYAyABKA4yFS55dWhhaWluLnRhZy50YWdfdHlwZRIMCgRoYXNoGAIgAygJKiAKCHRhZ190eXBlEggKBG5vZGUQABIKCgZtaXJyb3IQAUIyWjBnaXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3Mvbm9kZS90YWdiBnByb3RvMw"),d=(0,Z.Z)(g,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/995-cbcf5fbb16c93355.js b/_next/static/chunks/995-cbcf5fbb16c93355.js deleted file mode 100644 index 8a2ce3f2..00000000 --- a/_next/static/chunks/995-cbcf5fbb16c93355.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[995],{3027:(e,t,r)=>{var n=r(2115),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=n.useState,u=n.useEffect,o=n.useLayoutEffect,l=n.useDebugValue;function s(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!i(e,r)}catch(e){return!0}}var d="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=a({inst:{value:r,getSnapshot:t}}),i=n[0].inst,d=n[1];return o(function(){i.value=r,i.getSnapshot=t,s(i)&&d({inst:i})},[e,r,t]),u(function(){return s(i)&&d({inst:i}),e(function(){s(i)&&d({inst:i})})},[e]),l(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:d},4236:(e,t,r)=>{e.exports=r(3027)},1862:(e,t,r)=>{r.d(t,{BE:()=>H,Es:()=>k,Ht:()=>Q,Tn:()=>l,X3:()=>V,ZH:()=>a,aw:()=>G,b0:()=>o,bZ:()=>b,bu:()=>x,dO:()=>S,lK:()=>D,lg:()=>F,mF:()=>I,mf:()=>L,qm:()=>z,qv:()=>u,r9:()=>y,rL:()=>s,sb:()=>W});var n=r(2115);let i=()=>{},a=i(),u=Object,o=e=>e===a,l=e=>"function"==typeof e,s=(e,t)=>({...e,...t}),d=e=>l(e.then),c=new WeakMap,f=0,E=e=>{let t,r;let n=typeof e,i=e&&e.constructor,a=i==Date;if(u(e)!==e||a||i==RegExp)t=a?e.toJSON():"symbol"==n?e.toString():"string"==n?JSON.stringify(e):""+e;else{if(t=c.get(e))return t;if(t=++f+"~",c.set(e,t),i==Array){for(r=0,t="@";rh&&typeof window.requestAnimationFrame!=w,y=(e,t)=>{let r=b.get(e);return[()=>!o(t)&&e.get(t)||g,n=>{if(!o(t)){let i=e.get(t);t in v||(v[t]=i),r[5](t,s(i,n),i||g)}},r[6],()=>!o(t)&&t in v?v[t]:!o(t)&&e.get(t)||g]},m=!0,[R,T]=h&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[i,i],O={initFocus:e=>(p&&document.addEventListener("visibilitychange",e),R("focus",e),()=>{p&&document.removeEventListener("visibilitychange",e),T("focus",e)}),initReconnect:e=>{let t=()=>{m=!0,e()},r=()=>{m=!1};return R("online",t),R("offline",r),()=>{T("online",t),T("offline",r)}}},S=!n.useId,V=!h||"Deno"in window,L=e=>_()?window.requestAnimationFrame(e):setTimeout(e,1),k=V?n.useEffect:n.useLayoutEffect,C="undefined"!=typeof navigator&&navigator.connection,N=!V&&C&&(["slow-2g","2g"].includes(C.effectiveType)||C.saveData),D=e=>{if(l(e))try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?E(e):"",t]},A=0,F=()=>++A;var x={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:0,MUTATE_EVENT:2,RECONNECT_EVENT:1};async function I(...e){let[t,r,n,i]=e,u=s({populateCache:!0,throwOnError:!0},"boolean"==typeof i?{revalidate:i}:i||{}),c=u.populateCache,f=u.rollbackOnError,E=u.optimisticData,g=e=>"function"==typeof f?f(e):!1!==f,v=u.throwOnError;if(l(r)){let e=[];for(let n of t.keys())!/^\$(inf|sub)\$/.test(n)&&r(t.get(n)._k)&&e.push(n);return Promise.all(e.map(w))}return w(r);async function w(r){let i;let[s]=D(r);if(!s)return;let[f,w]=y(t,s),[h,p,_,m]=b.get(t),R=()=>{let e=h[s];return(l(u.revalidate)?u.revalidate(f().data,r):!1!==u.revalidate)&&(delete _[s],delete m[s],e&&e[0])?e[0](2).then(()=>f().data):f().data};if(e.length<3)return R();let T=n,O=F();p[s]=[O,0];let S=!o(E),V=f(),L=V.data,k=V._c,C=o(k)?L:k;if(S&&w({data:E=l(E)?E(C,L):E,_c:C}),l(T))try{T=T(C)}catch(e){i=e}if(T&&d(T)){if(T=await T.catch(e=>{i=e}),O!==p[s][0]){if(i)throw i;return T}i&&S&&g(i)&&(c=!0,w({data:C,_c:a}))}if(c&&!i&&(l(c)?w({data:c(T,C),error:a,_c:a}):w({data:T,error:a,_c:a})),p[s][1]=F(),Promise.resolve(R()).then(()=>{w({_c:a})}),i){if(v)throw i;return}return T}}let M=(e,t)=>{for(let r in e)e[r][0]&&e[r][0](t)},P=(e,t)=>{if(!b.has(e)){let r=s(O,t),n={},u=I.bind(a,e),o=i,l={},d=(e,t)=>{let r=l[e]||[];return l[e]=r,r.push(t),()=>r.splice(r.indexOf(t),1)},c=(t,r,n)=>{e.set(t,r);let i=l[t];if(i)for(let e of i)e(r,n)},f=()=>{if(!b.has(e)&&(b.set(e,[n,{},{},{},u,c,d]),!V)){let t=r.initFocus(setTimeout.bind(a,M.bind(a,n,0))),i=r.initReconnect(setTimeout.bind(a,M.bind(a,n,1)));o=()=>{t&&t(),i&&i(),b.delete(e)}}};return f(),[e,u,f,o]}return[e,b.get(e)[4]]},[q,U]=P(new Map),W=s({onLoadingSlow:i,onSuccess:i,onError:i,onErrorRetry:(e,t,r,n,i)=>{let a=r.errorRetryCount,u=i.retryCount,l=~~((Math.random()+.5)*(1<<(u<8?u:8)))*r.errorRetryInterval;(o(a)||!(u>a))&&setTimeout(n,l,i)},onDiscarded:i,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:N?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:N?5e3:3e3,compare:(e,t)=>E(e)==E(t),isPaused:()=>!1,cache:q,mutate:U,fallback:{}},{isOnline:()=>m,isVisible:()=>{let e=p&&document.visibilityState;return o(e)||"hidden"!==e}}),j=(e,t)=>{let r=s(e,t);if(t){let{use:n,fallback:i}=e,{use:a,fallback:u}=t;n&&a&&(r.use=n.concat(a)),i&&u&&(r.fallback=s(i,u))}return r},Z=(0,n.createContext)({}),H=e=>{let{value:t}=e,r=(0,n.useContext)(Z),i=l(t),u=(0,n.useMemo)(()=>i?t(r):t,[i,r,t]),o=(0,n.useMemo)(()=>i?u:j(r,u),[i,r,u]),d=u&&u.provider,c=(0,n.useRef)(a);d&&!c.current&&(c.current=P(d(o.cache||q),u));let f=c.current;return f&&(o.cache=f[0],o.mutate=f[1]),k(()=>{if(f)return f[2]&&f[2](),f[3]},[]),(0,n.createElement)(Z.Provider,s(e,{value:o}))},$=h&&window.__SWR_DEVTOOLS_USE__,X=$?window.__SWR_DEVTOOLS_USE__:[],B=e=>l(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],J=()=>s(W,(0,n.useContext)(Z)),K=X.concat(e=>(t,r,n)=>{let i=r&&((...e)=>{let[n]=D(t),[,,,i]=b.get(q);if(n.startsWith("$inf$"))return r(...e);let a=i[n];return o(a)?r(...e):(delete i[n],a)});return e(t,i,n)}),z=e=>function(...t){let r=J(),[n,i,a]=B(t),u=j(r,a),o=e,{use:l}=u,s=(l||[]).concat(K);for(let e=s.length;e--;)o=s[e](o);return o(n,i||u.fetcher||null,u)},G=(e,t,r)=>{let n=t[e]||(t[e]=[]);return n.push(r),()=>{let e=n.indexOf(r);e>=0&&(n[e]=n[n.length-1],n.pop())}},Q=(e,t)=>(...r)=>{let[n,i,a]=B(r),u=(a.use||[]).concat(t);return e(n,i,{...a,use:u})};$&&(window.__SWR_DEVTOOLS_REACT__=n)},4995:(e,t,r)=>{r.d(t,{Ay:()=>l});var n=r(2115),i=r(4236),a=r(1862);let u=n.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}),o={dedupe:!0};a.qv.defineProperty(a.BE,"defaultValue",{value:a.sb});let l=(0,a.qm)((e,t,r)=>{let{cache:l,compare:s,suspense:d,fallbackData:c,revalidateOnMount:f,revalidateIfStale:E,refreshInterval:b,refreshWhenHidden:g,refreshWhenOffline:v,keepPreviousData:w}=r,[h,p,_,y]=a.bZ.get(l),[m,R]=(0,a.lK)(e),T=(0,n.useRef)(!1),O=(0,n.useRef)(!1),S=(0,n.useRef)(m),V=(0,n.useRef)(t),L=(0,n.useRef)(r),k=()=>L.current,C=()=>k().isVisible()&&k().isOnline(),[N,D,A,F]=(0,a.r9)(l,m),x=(0,n.useRef)({}).current,I=(0,a.b0)(c)?r.fallback[m]:c,M=(e,t)=>{for(let r in x)if("data"===r){if(!s(e[r],t[r])&&(!(0,a.b0)(e[r])||!s(X,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},P=(0,n.useMemo)(()=>{let e=!!m&&!!t&&((0,a.b0)(f)?!k().isPaused()&&!d&&(!!(0,a.b0)(E)||E):f),r=t=>{let r=(0,a.rL)(t);return(delete r._k,e)?{isValidating:!0,isLoading:!0,...r}:r},n=N(),i=F(),u=r(n),o=n===i?u:r(i),l=u;return[()=>{let e=r(N());return M(e,l)?(l.data=e.data,l.isLoading=e.isLoading,l.isValidating=e.isValidating,l.error=e.error,l):(l=e,e)},()=>o]},[l,m]),q=(0,i.useSyncExternalStore)((0,n.useCallback)(e=>A(m,(t,r)=>{M(r,t)||e()}),[l,m]),P[0],P[1]),U=!T.current,W=h[m]&&h[m].length>0,j=q.data,Z=(0,a.b0)(j)?I:j,H=q.error,$=(0,n.useRef)(Z),X=w?(0,a.b0)(j)?$.current:j:Z,B=(!W||!!(0,a.b0)(H))&&(U&&!(0,a.b0)(f)?f:!k().isPaused()&&(d?!(0,a.b0)(Z)&&E:(0,a.b0)(Z)||E)),J=!!(m&&t&&U&&B),K=(0,a.b0)(q.isValidating)?J:q.isValidating,z=(0,a.b0)(q.isLoading)?J:q.isLoading,G=(0,n.useCallback)(async e=>{let t,n;let i=V.current;if(!m||!i||O.current||k().isPaused())return!1;let u=!0,o=e||{},l=!_[m]||!o.dedupe,d=()=>a.dO?!O.current&&m===S.current&&T.current:m===S.current,c={isValidating:!1,isLoading:!1},f=()=>{D(c)},E=()=>{let e=_[m];e&&e[1]===n&&delete _[m]},b={isValidating:!0};(0,a.b0)(N().data)&&(b.isLoading=!0);try{if(l&&(D(b),r.loadingTimeout&&(0,a.b0)(N().data)&&setTimeout(()=>{u&&d()&&k().onLoadingSlow(m,r)},r.loadingTimeout),_[m]=[i(R),(0,a.lg)()]),[t,n]=_[m],t=await t,l&&setTimeout(E,r.dedupingInterval),!_[m]||_[m][1]!==n)return l&&d()&&k().onDiscarded(m),!1;c.error=a.ZH;let e=p[m];if(!(0,a.b0)(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return f(),l&&d()&&k().onDiscarded(m),!1;let o=N().data;c.data=s(o,t)?o:t,l&&d()&&k().onSuccess(t,m,r)}catch(r){E();let e=k(),{shouldRetryOnError:t}=e;!e.isPaused()&&(c.error=r,l&&d()&&(e.onError(r,m,e),(!0===t||(0,a.Tn)(t)&&t(r))&&(!k().revalidateOnFocus||!k().revalidateOnReconnect||C())&&e.onErrorRetry(r,m,e,e=>{let t=h[m];t&&t[0]&&t[0](a.bu.ERROR_REVALIDATE_EVENT,e)},{retryCount:(o.retryCount||0)+1,dedupe:!0})))}return u=!1,f(),!0},[m,l]),Q=(0,n.useCallback)((...e)=>(0,a.mF)(l,S.current,...e),[]);if((0,a.Es)(()=>{V.current=t,L.current=r,(0,a.b0)(j)||($.current=j)}),(0,a.Es)(()=>{if(!m)return;let e=G.bind(a.ZH,o),t=0,r=(0,a.aw)(m,h,(r,n={})=>{if(r==a.bu.FOCUS_EVENT){let r=Date.now();k().revalidateOnFocus&&r>t&&C()&&(t=r+k().focusThrottleInterval,e())}else if(r==a.bu.RECONNECT_EVENT)k().revalidateOnReconnect&&C()&&e();else if(r==a.bu.MUTATE_EVENT)return G();else if(r==a.bu.ERROR_REVALIDATE_EVENT)return G(n)});return O.current=!1,S.current=m,T.current=!0,D({_k:R}),B&&((0,a.b0)(Z)||a.X3?e():(0,a.mf)(e)),()=>{O.current=!0,r()}},[m]),(0,a.Es)(()=>{let e;function t(){let t=(0,a.Tn)(b)?b(N().data):b;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!N().error&&(g||k().isVisible())&&(v||k().isOnline())?G(o).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[b,g,v,m]),(0,n.useDebugValue)(X),d&&(0,a.b0)(Z)&&m){if(!a.dO&&a.X3)throw Error("Fallback data is required when using suspense in SSR.");V.current=t,L.current=r,O.current=!1;let e=y[m];if((0,a.b0)(e)||u(Q(e)),(0,a.b0)(H)){let e=G(o);(0,a.b0)(X)||(e.status="fulfilled",e.value=!0),u(e)}else throw H}return{mutate:Q,get data(){return x.data=!0,X},get error(){return x.error=!0,H},get isValidating(){return x.isValidating=!0,K},get isLoading(){return x.isLoading=!0,z}}})}}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/bypass/block/page-6be7bf111bddb962.js b/_next/static/chunks/app/docs/bypass/block/page-6be7bf111bddb962.js new file mode 100644 index 00000000..29d33986 --- /dev/null +++ b/_next/static/chunks/app/docs/bypass/block/page-6be7bf111bddb962.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:()=>r,G_:()=>m,Ow:()=>u,Oz:()=>l,VN:()=>p,X3:()=>i,_s:()=>h,dp:()=>b,h$:()=>v,kP:()=>o,mv:()=>g,oH:()=>s,r3:()=>c,u1:()=>a});var o="",l="https://clients3.google.com/generate_204",c="dns.nextdns.io:853",s=!0,r="http://ip.sb",a="stun.syncthing.net:3478",i="stun.nextcloud.com:443";let d=()=>{let t=localStorage.getItem("api_url");o=null!==t?t:"",t=localStorage.getItem("remote_bypass"),null!==(t=localStorage.getItem("latency_http_url"))&&(l=t),null!==(t=localStorage.getItem("latency_dns_url"))&&(c=t),null!==(t=localStorage.getItem("latency_ipv6"))&&(s="true"===t),null!==(t=localStorage.getItem("latency_ip_url"))&&(r=t),null!==(t=localStorage.getItem("latency_stun_url"))&&(a=t),null!==(t=localStorage.getItem("latency_stun_tcp_url"))&&(i=t)},u=t=>{y("api_url",t)},b=t=>{y("latency_dns_url",t)},m=t=>{y("latency_http_url",t)},g=t=>{y("latency_ipv6",t.toString())},v=t=>{y("latency_ip_url",t)},h=t=>{y("latency_stun_url",t)},p=t=>{y("latency_stun_tcp_url",t)},y=(t,e)=>{""===e?localStorage.removeItem(t):localStorage.setItem(t,e),d()};d()},3878:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>p});var o=n(5155),l=n(3577),c=n(9678),s=n(8170),r=n(2115),a=n(2963),i=n(9141),d=n(4995),u=n(700),b=n.n(u),m=n(9169),g=n(8927),v=n(6863);let h=(0,l.v)(c.w,{seconds:BigInt(0),nanos:0}),p=function(){var t;let[e,n]=(0,r.useState)("Time"),[l,c]=(0,r.useState)(1),u=t=>t===e?c(-l):n(t),p=t=>t===e?(0,o.jsx)("i",{className:-1===l?"bi bi-sort-up-alt":"bi bi-sort-down-alt"}):(0,o.jsx)(o.Fragment,{}),y=(t,e)=>t>e?-1*l:1*l,x=t=>(0,o.jsxs)("th",{className:b().clickable,onClick:()=>u(t),children:[t,p(t)]}),{data:f,error:A,isLoading:w,mutate:_}=(0,d.Ay)("/bypass/block_history",(0,g.AD)(v.XH.method.block_history));return A?(0,o.jsx)(m.A,{code:A.code,children:A.msg}):w||void 0===f?(0,o.jsx)(m.A,{}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(a.A,{variant:"outline-primary",className:"mb-3",onClick:()=>_(),children:"Refresh"}),(0,o.jsxs)(i.A,{hover:!0,striped:!0,size:"sm",children:[(0,o.jsx)("thead",{children:(0,o.jsxs)("tr",{children:[x("Time"),(0,o.jsx)("th",{children:"Net"}),x("Host"),x("Count"),f.dumpProcessEnabled&&x("Proc")]})}),(0,o.jsx)("tbody",{className:"text-break",children:null==f?void 0:null===(t=f.objects)||void 0===t?void 0:t.filter(t=>t.time).sort((t,n)=>{var o,l;return"Host"===e?y(t.host,n.host):"Proc"===e?y(t.process,n.process):"Count"===e?y(t.blockCount,n.blockCount):y((0,s.FP)(null!==(o=t.time)&&void 0!==o?o:h),(0,s.FP)(null!==(l=n.time)&&void 0!==l?l:h))}).map((t,e)=>(0,o.jsxs)("tr",{children:[(0,o.jsx)("td",{children:(0,s.FP)(t.time).toLocaleString()}),(0,o.jsx)("td",{children:t.protocol}),(0,o.jsx)("td",{children:t.host}),(0,o.jsx)("td",{children:Number(t.blockCount)}),f.dumpProcessEnabled&&(0,o.jsx)("td",{children:t.process})]},"bh-"+e))})]})]})}},9169:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});var o=n(5155),l=n(5554),c=n.n(l),s=n(4216);let r=function(t){return(0,o.jsxs)("div",{className:"z-1090 d-flex flex-column justify-content-center align-items-center",style:{height:"100px"},children:[void 0!==t.children&&(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(c(),{className:"p2",statusCode:void 0!==t.code?t.code:500,title:t.children})}),(0,o.jsx)("div",{className:"p2",children:(0,o.jsx)(s.A,{})})]})}},8927:(t,e,n)=>{"use strict";n.d(e,{AD:()=>r,kP:()=>a,zZ:()=>i});var o=n(950),l=n(7558),c=n(6989),s=n(744);function r(t,e,n,r){return a=>r?(0,o.o)(t.output,r):fetch("".concat(s.kP).concat(a),{method:e,body:n?(0,l.R)(t.input,n):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()))})}async function a(t,e,n,o){let r=await fetch("".concat(s.kP).concat(e),{method:n,body:o?(0,l.R)(t.input,o):void 0});return r.ok?{data:(0,c.Er)(t.output,new Uint8Array(await r.arrayBuffer()))}:{error:{code:r.status,msg:await r.text()}}}function i(t,e){return(n,o)=>{let r,{next:a}=o,i=new URL(""!==s.kP?s.kP:window.location.toString());i.pathname=n.url,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",n=>{console.log("connect to: ".concat(i,", event type: ").concat(n.type)),null==r||r.send((0,l.R)(t.input,e))}),r.addEventListener("message",e=>{let o=(0,c.Er)(t.output,new Uint8Array(e.data));a(null,t=>n.stream(o,t))}),r.addEventListener("error",t=>{let e="websocket have some error";a({msg:e,code:500}),console.log(e,t.type)}),r.addEventListener("close",t=>{console.log("websocket closed, code: "+t.code),a(null,void 0),d||(console.log("reconnect after 1 seconds"),setTimeout(u,1e3))}))};return u(),()=>{d=!0,void 0!==r&&(console.log("close: ".concat(n)),r.close(),r=void 0)}}}},2773:(t,e,n)=>{"use strict";n.d(e,{Am:()=>s,Ay:()=>a});var o=n(2115),l=n(5155);let c=["as","disabled"];function s({tagName:t,disabled:e,href:n,target:o,rel:l,role:c,onClick:s,tabIndex:r=0,type:a}){t||(t=null!=n||null!=o||null!=l?"a":"button");let i={tagName:t};if("button"===t)return[{type:a||"button",disabled:e},i];let d=o=>{var l;if(!e&&("a"!==t||(l=n)&&"#"!==l.trim())||o.preventDefault(),e){o.stopPropagation();return}null==s||s(o)};return"a"===t&&(n||(n="#"),e&&(n=void 0)),[{role:null!=c?c:"button",disabled:void 0,tabIndex:e?void 0:r,href:n,target:"a"===t?o:void 0,"aria-disabled":e||void 0,rel:"a"===t?l:void 0,onClick:d,onKeyDown:t=>{" "===t.key&&(t.preventDefault(),d(t))}},i]}let r=o.forwardRef((t,e)=>{let{as:n,disabled:o}=t,r=function(t,e){if(null==t)return{};var n={};for(var o in t)if(({}).hasOwnProperty.call(t,o)){if(e.indexOf(o)>=0)continue;n[o]=t[o]}return n}(t,c),[a,{tagName:i}]=s(Object.assign({tagName:n,disabled:o},r));return(0,l.jsx)(i,Object.assign({},r,a,{ref:e}))});r.displayName="Button";let a=r},2963:(t,e,n)=>{"use strict";n.d(e,{A:()=>d});var o=n(4617),l=n.n(o),c=n(2115),s=n(2773),r=n(1653),a=n(5155);let i=c.forwardRef((t,e)=>{let{as:n,bsPrefix:o,variant:c="primary",size:i,active:d=!1,disabled:u=!1,className:b,...m}=t,g=(0,r.oU)(o,"btn"),[v,{tagName:h}]=(0,s.Am)({tagName:n,disabled:u,...m});return(0,a.jsx)(h,{...v,...m,ref:e,disabled:u,className:l()(b,g,d&&"active",c&&"".concat(g,"-").concat(c),i&&"".concat(g,"-").concat(i),m.href&&u&&"disabled")})});i.displayName="Button";let d=i},9141:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(4617),l=n.n(o),c=n(2115),s=n(1653),r=n(5155);let a=c.forwardRef((t,e)=>{let{bsPrefix:n,className:o,striped:c,bordered:a,borderless:i,hover:d,size:u,variant:b,responsive:m,...g}=t,v=(0,s.oU)(n,"table"),h=l()(o,v,b&&"".concat(v,"-").concat(b),u&&"".concat(v,"-").concat(u),c&&"".concat(v,"-").concat("string"==typeof c?"striped-".concat(c):"striped"),a&&"".concat(v,"-bordered"),i&&"".concat(v,"-borderless"),d&&"".concat(v,"-hover")),p=(0,r.jsx)("table",{...g,className:h,ref:e});if(m){let t="".concat(v,"-responsive");return"string"==typeof m&&(t="".concat(t,"-").concat(m)),(0,r.jsx)("div",{className:t,children:p})}return p})},700:t=>{t.exports={clickable:"clickable_clickable__ytaUf"}},9537:(t,e,n)=>{"use strict";function o(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:()=>o})},9678:(t,e,n)=>{"use strict";n.d(e,{i:()=>c,w:()=>s});var o=n(6788),l=n(8123);let c=(0,o.w)("Ch9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvEg9nb29nbGUucHJvdG9idWYiKwoJVGltZXN0YW1wEg8KB3NlY29uZHMYASABKAMSDQoFbmFub3MYAiABKAVChQEKE2NvbS5nb29nbGUucHJvdG9idWZCDlRpbWVzdGFtcFByb3RvUAFaMmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3RpbWVzdGFtcHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),s=(0,l.Z)(c,0)},1936:(t,e,n)=>{"use strict";n.d(e,{Ax:()=>c,g8:()=>s});var o=n(6788),l=n(8123);let c=(0,o.w)("Ch5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIcCgtEb3VibGVWYWx1ZRINCgV2YWx1ZRgBIAEoASIbCgpGbG9hdFZhbHVlEg0KBXZhbHVlGAEgASgCIhsKCkludDY0VmFsdWUSDQoFdmFsdWUYASABKAMiHAoLVUludDY0VmFsdWUSDQoFdmFsdWUYASABKAQiGwoKSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoBSIcCgtVSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoDSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUSDQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDEKDAQoTY29tLmdvb2dsZS5wcm90b2J1ZkINV3JhcHBlcnNQcm90b1ABWjFnb29nbGUuZ29sYW5nLm9yZy9wcm90b2J1Zi90eXBlcy9rbm93bi93cmFwcGVyc3Bi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),s=(0,l.Z)(c,7)},8170:(t,e,n)=>{"use strict";function o(t){return new Date(1e3*Number(t.seconds)+Math.ceil(t.nanos/1e6))}n.d(e,{FP:()=>o})}},t=>{var e=e=>t(t.s=e);t.O(0,[607,295,375,863,441,517,358],()=>e(4355)),_N_E=t.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/bypass/block/page-983d96e3b97b2b43.js b/_next/static/chunks/app/docs/bypass/block/page-983d96e3b97b2b43.js deleted file mode 100644 index 98274b99..00000000 --- a/_next/static/chunks/app/docs/bypass/block/page-983d96e3b97b2b43.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[755],{4355:(e,t,o)=>{Promise.resolve().then(o.bind(o,3878))},744:(e,t,o)=>{"use strict";o.d(t,{DH:()=>r,G_:()=>g,Ow:()=>u,Oz:()=>l,VN:()=>v,X3:()=>i,_s:()=>p,dp:()=>m,h$:()=>b,kP:()=>n,mv:()=>h,oH:()=>c,r3:()=>s,u1:()=>a});var n="",l="https://clients3.google.com/generate_204",s="dns.nextdns.io:853",c=!0,r="http://ip.sb",a="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"))&&(c="true"===e),null!==(e=localStorage.getItem("latency_ip_url"))&&(r=e),null!==(e=localStorage.getItem("latency_stun_url"))&&(a=e),null!==(e=localStorage.getItem("latency_stun_tcp_url"))&&(i=e)},u=e=>{x("api_url",e)},m=e=>{x("latency_dns_url",e)},g=e=>{x("latency_http_url",e)},h=e=>{x("latency_ipv6",e.toString())},b=e=>{x("latency_ip_url",e)},p=e=>{x("latency_stun_url",e)},v=e=>{x("latency_stun_tcp_url",e)},x=(e,t)=>{""===t?localStorage.removeItem(e):localStorage.setItem(e,t),d()};d()},3878:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>v});var n=o(5155),l=o(2963),s=o(9141),c=o(4995),r=o(8927),a=o(6863),i=o(3577),d=o(9678),u=o(8170),m=o(9169),g=o(2115),h=o(700),b=o.n(h);let p=(0,i.v)(d.w,{seconds:BigInt(0),nanos:0}),v=function(){var e;let[t,o]=(0,g.useState)("Time"),[i,d]=(0,g.useState)(1),h=e=>e===t?d(-i):o(e),v=e=>e===t?(0,n.jsx)("i",{className:-1===i?"bi bi-sort-up-alt":"bi bi-sort-down-alt"}):(0,n.jsx)(n.Fragment,{}),x=(e,t)=>e>t?-1*i:1*i,y=e=>(0,n.jsxs)("th",{className:b().clickable,onClick:()=>h(e),children:[e,v(e)]}),{data:_,error:A,isLoading:S,mutate:k}=(0,c.Ay)("/bypass/block_history",(0,r.AD)(a.XH.method.block_history));return A?(0,n.jsx)(m.A,{code:A.code,children:A.msg}):S||void 0===_?(0,n.jsx)(m.A,{}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l.A,{variant:"outline-primary",className:"mb-3",onClick:()=>k(),children:"Refresh"}),(0,n.jsxs)(s.A,{hover:!0,striped:!0,size:"sm",children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[y("Time"),(0,n.jsx)("th",{children:"Net"}),y("Host"),y("Count"),_.dumpProcessEnabled&&y("Proc")]})}),(0,n.jsx)("tbody",{className:"text-break",children:null==_?void 0:null===(e=_.objects)||void 0===e?void 0:e.filter(e=>e.time).sort((e,o)=>{var n,l;return"Host"===t?x(e.host,o.host):"Proc"===t?x(e.process,o.process):"Count"===t?x(e.blockCount,o.blockCount):x((0,u.FP)(null!==(n=e.time)&&void 0!==n?n:p),(0,u.FP)(null!==(l=o.time)&&void 0!==l?l: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.blockCount)}),_.dumpProcessEnabled&&(0,n.jsx)("td",{children:e.process})]},"bh-"+t))})]})]})}},9169:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(5155),l=o(4216),s=o(5554),c=o.n(s);let r=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)(c(),{className:"p2",statusCode:void 0!==e.code?e.code:500,title:e.children})}),(0,n.jsx)("div",{className:"p2",children:(0,n.jsx)(l.A,{})})]})}},8927:(e,t,o)=>{"use strict";o.d(t,{AD:()=>r,gR:()=>i,kP:()=>a});var n=o(744),l=o(950),s=o(7558),c=o(6989);function r(e,t,o,r){return a=>r?(0,l.o)(e.output,r):fetch("".concat(n.kP).concat(a),{method:t,body:o?(0,s.R)(e.input,o):void 0}).then(async t=>{if(!t.ok)throw{code:t.status,msg:t.statusText,raw:t.text()};return(0,c.Er)(e.output,new Uint8Array(await t.arrayBuffer()))})}async function a(e,t,o,l){let r=await fetch("".concat(n.kP).concat(t),{method:o,body:l?(0,s.R)(e.input,l):void 0});return r.ok?{data:(0,c.Er)(e.output,new Uint8Array(await r.arrayBuffer()))}:{error:{code:r.status,msg:await r.text()}}}function i(e,t,o){return(l,s)=>{let r,{next:a}=s,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",t=>{console.log("connect to: ".concat(i,", event type: ").concat(t.type)),null==r||r.send(e)}),r.addEventListener("message",e=>{let n=(0,c.Er)(t,new Uint8Array(e.data));a(null,e=>o(e,n))}),r.addEventListener("error",e=>{let t="websocket have some error";a({msg:t,code:500}),console.log(t,e.type)}),r.addEventListener("close",e=>{console.log("websocket closed, code: "+e.code),a(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)}}}},700:e=>{e.exports={clickable:"clickable_clickable__ytaUf"}},9537:(e,t,o)=>{"use strict";function n(e,t,...o){if(0==o.length)return e.enums[t];let l=o.pop();return o.reduce((e,t)=>e.nestedMessages[t],e.messages[t]).nestedEnums[l]}o.d(t,{R:()=>n})},1936:(e,t,o)=>{"use strict";o.d(t,{Ax:()=>s,g8:()=>c});var n=o(6788),l=o(8123);let s=(0,n.w)("Ch5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIcCgtEb3VibGVWYWx1ZRINCgV2YWx1ZRgBIAEoASIbCgpGbG9hdFZhbHVlEg0KBXZhbHVlGAEgASgCIhsKCkludDY0VmFsdWUSDQoFdmFsdWUYASABKAMiHAoLVUludDY0VmFsdWUSDQoFdmFsdWUYASABKAQiGwoKSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoBSIcCgtVSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoDSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUSDQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDEKDAQoTY29tLmdvb2dsZS5wcm90b2J1ZkINV3JhcHBlcnNQcm90b1ABWjFnb29nbGUuZ29sYW5nLm9yZy9wcm90b2J1Zi90eXBlcy9rbm93bi93cmFwcGVyc3Bi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),c=(0,l.Z)(s,7)}},e=>{var t=t=>e(e.s=t);e.O(0,[607,295,995,923,863,441,517,358],()=>t(4355)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/bypass/page-933ac4351dc7b6bd.js b/_next/static/chunks/app/docs/bypass/page-933ac4351dc7b6bd.js new file mode 100644 index 00000000..a6256060 --- /dev/null +++ b/_next/static/chunks/app/docs/bypass/page-933ac4351dc7b6bd.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[753],{1103:(e,s,a)=>{Promise.resolve().then(a.bind(a,3678))},3678:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>F});var l=a(5155),n=a(950),o=a(2115),t=a(4617),c=a.n(t),r=a(1653);let i=o.forwardRef((e,s)=>{let{as:a="div",bsPrefix:n,className:o,direction:t,gap:i,...d}=e;n=(0,r.oU)(n,"horizontal"===t?"hstack":"vstack");let u=(0,r.gy)(),h=(0,r.Jm)();return(0,l.jsx)(a,{...d,ref:s,className:c()(o,n,...function(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.Jy,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.ff,l=[];return Object.entries(e).forEach(e=>{let[n,o]=e;null!=o&&("object"==typeof o?s.forEach(e=>{let s=o[e];null!=s&&l.push("".concat(n).concat(e!==a?"-".concat(e):"","-").concat(s))}):l.push("".concat(n,"-").concat(o)))}),l}({gap:i},u,h))})});i.displayName="Stack";var d=a(2963),u=a(4216),h=a(4995),p=a(9169),m=a(8927),b=a(148),g=a(4805),x=a(6863),v=a(3577),f=a(2981),j=a(6180),y=a(6121),A=a(3667),C=a(2859),R=a(7204);let N=e=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(S,{label:"Mode",network:!1,value:e.config.mode,onChange:s=>e.onChange({...e.config,mode:s})}),(0,l.jsx)(R.a9,{label:"Tag",value:e.config.tag,onChange:s=>e.onChange({...e.config,tag:s})}),(0,l.jsx)(V,{label:"Resolve Strategy",value:e.config.resolveStrategy,onChange:s=>e.onChange({...e.config,resolveStrategy:s})}),(0,l.jsx)(I,{label:"UDP proxy Fqdn",value:e.config.udpProxyFqdnStrategy,onChange:s=>e.onChange({...e.config,udpProxyFqdnStrategy:s})}),(0,l.jsx)(R.e9,{title:"IP/DOMAIN",data:e.config.hostname,onChange:s=>e.onChange({...e.config,hostname:s}),errorMsgs:e.config.errorMsgs})]}),w=e=>{let s=()=>{switch(e.config.object.case){case"file":return"file";case"http":return"http";default:return""}},a=(e,s)=>{switch(e.object.case){case"file":e.object.value={...e.object.value,path:s};break;case"http":e.object.value={...e.object.value,url:s}}};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(C.$,{label:"Enabled",checked:e.config.enabled,onChange:()=>e.onChange({...e.config,enabled:!e.config.enabled})}),(0,l.jsx)(R.a9,{label:"Name",value:e.config.name,onChange:s=>e.onChange({...e.config,name:s})}),(0,l.jsxs)(j.A.Group,{as:y.A,className:"mb-3",children:[(0,l.jsx)(j.A.Label,{column:!0,sm:2,children:"Type"}),(0,l.jsx)(A.A,{sm:10,children:(0,l.jsxs)(j.A.Select,{value:s(),onChange:a=>{if(s()==a.target.value)return;let l={...e.config};switch(a.target.value){case"file":l.object={case:"file",value:(0,v.v)(g.Uu,{})};break;case"http":l.object={case:"http",value:(0,v.v)(g.ie,{})}}e.onChange(l)},children:[(0,l.jsx)("option",{value:"file",children:"file"}),(0,l.jsx)("option",{value:"http",children:"http"})]})})]}),(0,l.jsx)(R.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:s=>{let l={...e.config};a(l,s),e.onChange(l)}})]})};function S(e){return(0,l.jsxs)(j.A.Group,{as:y.A,className:"mb-3",children:[(0,l.jsx)(j.A.Label,{column:!0,sm:2,children:e.label}),(0,l.jsx)(A.A,{sm:10,children:(0,l.jsxs)(j.A.Select,{value:g.Mq[e.value],onChange:s=>e.onChange(g.Mq[s.target.value]),children:[e.network&&(0,l.jsx)("option",{value:g.Mq[g.Mq.bypass],children:"BYPASS"}),(0,l.jsx)("option",{value:g.Mq[g.Mq.direct],children:"DIRECT"}),(0,l.jsx)("option",{value:g.Mq[g.Mq.proxy],children:"PROXY"}),(0,l.jsx)("option",{value:g.Mq[g.Mq.block],children:"BLOCK"})]})})]})}function I(e){return(0,l.jsxs)(j.A.Group,{as:y.A,className:"mb-3",children:[(0,l.jsx)(j.A.Label,{column:!0,sm:2,children:e.label}),(0,l.jsx)(A.A,{sm:10,children:(0,l.jsxs)(j.A.Select,{value:g.f5[e.value],onChange:s=>e.onChange(g.f5[s.target.value]),children:[(0,l.jsx)("option",{value:g.f5[g.f5.udp_proxy_fqdn_strategy_default],children:"Global"}),(0,l.jsx)("option",{value:g.f5[g.f5.resolve],children:"Resolve"}),(0,l.jsx)("option",{value:g.f5[g.f5.skip_resolve],children:"Skip"})]})})]})}function V(e){return(0,l.jsxs)(j.A.Group,{as:y.A,className:"mb-3",children:[(0,l.jsx)(j.A.Label,{column:!0,sm:2,children:e.label}),(0,l.jsx)(A.A,{sm:10,children:(0,l.jsxs)(j.A.Select,{value:g.pI[e.value],onChange:s=>e.onChange(g.pI[s.target.value]),children:[(0,l.jsx)("option",{value:g.pI[g.pI.default],children:"default"}),(0,l.jsx)("option",{value:g.pI[g.pI.prefer_ipv4],children:"prefer_ipv4"}),(0,l.jsx)("option",{value:g.pI[g.pI.only_ipv4],children:"only_ipv4"}),(0,l.jsx)("option",{value:g.pI[g.pI.prefer_ipv6],children:"prefer_ipv6"}),(0,l.jsx)("option",{value:g.pI[g.pI.only_ipv6],children:"only_ipv6"})]})})]})}let k=e=>{let s=(0,v.v)(g.eT,{hostname:["www.example.com"],mode:g.Mq.proxy,tag:"",resolveStrategy:g.pI.default}),a=(0,v.v)(g.Nm,{name:"my rule",enabled:!1,object:{case:"file",value:(0,v.v)(g.Uu,{})}});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(f.A,{className:"mb-3",children:(0,l.jsxs)(f.A.Body,{children:[(0,l.jsx)(S,{label:"TCP",network:!0,value:e.bypass.tcp,onChange:s=>e.onChange({...e.bypass,tcp:s})}),(0,l.jsx)(S,{label:"UDP",network:!0,value:e.bypass.udp,onChange:s=>e.onChange({...e.bypass,udp:s})}),(0,l.jsx)(C.$,{label:"Resolve Locally",checked:e.bypass.resolveLocally,onChange:()=>e.onChange({...e.bypass,resolveLocally:!e.bypass.resolveLocally})}),(0,l.jsx)(C.$,{label:"Udp proxy Fqdn",checked:e.bypass.udpProxyFqdn===g.f5.skip_resolve,onChange:()=>e.onChange({...e.bypass,udpProxyFqdn:e.bypass.udpProxyFqdn===g.f5.skip_resolve?g.f5.resolve:g.f5.skip_resolve})})]})}),e.bypass.remoteRules.map((s,a)=>(0,l.jsx)(R.mc,{title:s.name,onClose:()=>e.onChange({...e.bypass,remoteRules:e.bypass.remoteRules.filter((e,s)=>s!==a)}),moveUpDown:new R.fH(e.bypass.remoteRules,a,s=>e.onChange({...e.bypass,remoteRules:s})),children:(0,l.jsx)(w,{config:s,onChange:s=>e.onChange({...e.bypass,remoteRules:[...e.bypass.remoteRules.slice(0,a),s,...e.bypass.remoteRules.slice(a+1)]})})},"remote_rules"+a)),(0,l.jsx)("div",{className:"d-flex mb-2",children:(0,l.jsxs)(d.A,{className:"flex-grow-1",variant:"outline-success",onClick:()=>e.onChange({...e.bypass,remoteRules:[...e.bypass.remoteRules,a]}),children:[(0,l.jsx)("i",{className:"bi bi-plus-lg mb-2"}),"New Remote Rule"]})}),(0,l.jsx)("hr",{}),e.bypass.customRuleV3.map((s,a)=>(0,l.jsx)(R.mc,{title:""!==s.tag?s.tag:g.Mq[s.mode],onClose:()=>e.onChange({...e.bypass,customRuleV3:e.bypass.customRuleV3.filter((e,s)=>s!==a)}),moveUpDown:new R.fH(e.bypass.customRuleV3,a,s=>e.onChange({...e.bypass,customRuleV3:s})),children:(0,l.jsx)(N,{config:s,onChange:s=>e.onChange({...e.bypass,customRuleV3:[...e.bypass.customRuleV3.slice(0,a),s,...e.bypass.customRuleV3.slice(a+1)]})})},"rule"+a)),(0,l.jsx)("div",{className:"d-flex mb-2",children:(0,l.jsxs)(d.A,{className:"flex-grow-1",variant:"outline-success",onClick:()=>e.onChange({...e.bypass,customRuleV3:[...e.bypass.customRuleV3,s]}),children:[(0,l.jsx)("i",{className:"bi bi-plus-lg mb-2"}),"New Rule"]})})]})},F=function(){let e=(0,o.useContext)(b.u),[s,a]=(0,o.useState)(!1),[t,c]=(0,o.useState)(!1),{data:r,error:v,isLoading:f,mutate:j}=(0,h.Ay)("/bypass",(0,m.AD)(x.XH.method.load),{revalidateOnFocus:!1});return v?(0,l.jsx)(p.A,{code:v.code,children:v.msg}):f||!r?(0,l.jsx)(p.A,{}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(k,{bypass:(0,n.o)(g.Qn,r),onChange:e=>{j(e,!1)}}),(0,l.jsx)("hr",{}),(0,l.jsxs)(i,{gap:1,direction:"horizontal",children:[(0,l.jsxs)(d.A,{variant:"outline-primary",disabled:s,onClick:()=>{a(!0),(0,m.kP)(x.XH.method.save,"/bypass","PATCH",r).then(async s=>{let{error:l}=s;void 0!==l?e.Error("save config failed, ".concat(l.code,"| ").concat(l.msg)):(e.Info("Save Successfully"),j()),a(!1)})},children:["Save",s&&(0,l.jsxs)(l.Fragment,{children:["\xa0",(0,l.jsx)(u.A,{size:"sm",animation:"border",variant:"primary"})]})]}),(0,l.jsxs)(d.A,{variant:"outline-primary",disabled:t,onClick:()=>{c(!0),(0,m.kP)(x.XH.method.reload,"/bypass/reload","POST").then(async s=>{let{error:a}=s;void 0!==a?e.Error("reload failed, ".concat(a.code,"| ").concat(a.msg)):(e.Info("Reload Successfully"),j()),c(!1)})},children:["Refresh Now",t&&(0,l.jsxs)(l.Fragment,{children:["\xa0",(0,l.jsx)(u.A,{size:"sm",animation:"border",variant:"primary"})]})]})]})]})}},2859:(e,s,a)=>{"use strict";a.d(s,{$:()=>c});var l=a(5155),n=a(6180),o=a(6121),t=a(3667);let c=e=>{let{label:s,checked:a,onChange:c}=e;return(0,l.jsxs)(n.A.Group,{as:o.A,className:"mb-2",children:[(0,l.jsx)(n.A.Label,{column:!0,sm:2,children:s}),(0,l.jsx)(t.A,{sm:10,className:"d-flex align-items-center",children:(0,l.jsx)(n.A.Check,{className:"d-flex align-items-center",type:"switch",checked:a,onChange:e=>c(e.target.checked)})})]})}},148:(e,s,a)=>{"use strict";a.d(s,{u:()=>c,y:()=>r});var l=a(5155),n=a(2115),o=a(1757),t=a(491);let c=(0,n.createContext)({Info:e=>{},Error:e=>{}}),r=e=>{let{children:s}=e,[a,r]=(0,n.useState)([]),i=(e,s)=>r(a=>[...a,{text:e,type:s}]);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)(o.A,{className:"p-3",position:"top-center",containerPosition:"fixed",style:{zIndex:999999},children:a.map((e,s)=>(0,l.jsxs)(t.A,{role:"alert","aria-live":"assertive",show:!0,bg:e.type,onClose:()=>{r(e=>[...e.slice(0,s),...e.slice(s+1)])},"aria-atomic":"true",delay:4e3,autohide:!0,animation:!0,children:[(0,l.jsxs)(t.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)(t.A.Body,{className:"text-center",children:e.text})]},"toast"+s))}),s]})}},3614:(e,s,a)=>{"use strict";a.d(s,{A:()=>i});var l=a(4617),n=a.n(l),o=a(2115),t=a(1653),c=a(5155);let r=o.forwardRef((e,s)=>{let{bsPrefix:a,size:l,vertical:o=!1,className:r,role:i="group",as:d="div",...u}=e,h=(0,t.oU)(a,"btn-group"),p=h;return o&&(p="".concat(h,"-vertical")),(0,c.jsx)(d,{...u,ref:s,role:i,className:n()(r,p,l&&"".concat(h,"-").concat(l))})});r.displayName="ButtonGroup";let i=r},8003:(e,s,a)=>{"use strict";a.d(s,{A:()=>h});var l=a(4617),n=a.n(l),o=a(2115),t=a(1653),c=a(2389),r=a(2471),i=a(5155);let d=o.forwardRef((e,s)=>{let{className:a,bsPrefix:l,as:o="span",...c}=e;return l=(0,t.oU)(l,"input-group-text"),(0,i.jsx)(o,{ref:s,className:n()(a,l),...c})});d.displayName="InputGroupText";let u=o.forwardRef((e,s)=>{let{bsPrefix:a,size:l,hasValidation:c,className:d,as:u="div",...h}=e;a=(0,t.oU)(a,"input-group");let p=(0,o.useMemo)(()=>({}),[]);return(0,i.jsx)(r.A.Provider,{value:p,children:(0,i.jsx)(u,{ref:s,...h,className:n()(d,a,l&&"".concat(a,"-").concat(l),c&&"has-validation")})})});u.displayName="InputGroup";let h=Object.assign(u,{Text:d,Radio:e=>(0,i.jsx)(d,{children:(0,i.jsx)(c.A,{type:"radio",...e})}),Checkbox:e=>(0,i.jsx)(d,{children:(0,i.jsx)(c.A,{type:"checkbox",...e})})})},6121:(e,s,a)=>{"use strict";a.d(s,{A:()=>i});var l=a(4617),n=a.n(l),o=a(2115),t=a(1653),c=a(5155);let r=o.forwardRef((e,s)=>{let{bsPrefix:a,className:l,as:o="div",...r}=e,i=(0,t.oU)(a,"row"),d=(0,t.gy)(),u=(0,t.Jm)(),h="".concat(i,"-cols"),p=[];return d.forEach(e=>{let s;let a=r[e];delete r[e],null!=a&&"object"==typeof a?{cols:s}=a:s=a,null!=s&&p.push("".concat(h).concat(e!==u?"-".concat(e):"","-").concat(s))}),(0,c.jsx)(o,{ref:s,...r,className:n()(l,i,...p)})});r.displayName="Row";let i=r},9537:(e,s,a)=>{"use strict";function l(e,s,...a){if(0==a.length)return e.enums[s];let n=a.pop();return a.reduce((e,s)=>e.nestedMessages[s],e.messages[s]).nestedEnums[n]}a.d(s,{R:()=>l})},9678:(e,s,a)=>{"use strict";a.d(s,{i:()=>o,w:()=>t});var l=a(6788),n=a(8123);let o=(0,l.w)("Ch9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvEg9nb29nbGUucHJvdG9idWYiKwoJVGltZXN0YW1wEg8KB3NlY29uZHMYASABKAMSDQoFbmFub3MYAiABKAVChQEKE2NvbS5nb29nbGUucHJvdG9idWZCDlRpbWVzdGFtcFByb3RvUAFaMmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3RpbWVzdGFtcHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),t=(0,n.Z)(o,0)},1936:(e,s,a)=>{"use strict";a.d(s,{Ax:()=>o,g8:()=>t});var l=a(6788),n=a(8123);let o=(0,l.w)("Ch5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIcCgtEb3VibGVWYWx1ZRINCgV2YWx1ZRgBIAEoASIbCgpGbG9hdFZhbHVlEg0KBXZhbHVlGAEgASgCIhsKCkludDY0VmFsdWUSDQoFdmFsdWUYASABKAMiHAoLVUludDY0VmFsdWUSDQoFdmFsdWUYASABKAQiGwoKSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoBSIcCgtVSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoDSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUSDQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDEKDAQoTY29tLmdvb2dsZS5wcm90b2J1ZkINV3JhcHBlcnNQcm90b1ABWjFnb29nbGUuZ29sYW5nLm9yZy9wcm90b2J1Zi90eXBlcy9rbm93bi93cmFwcGVyc3Bi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),t=(0,n.Z)(o,7)}},e=>{var s=s=>e(e.s=s);e.O(0,[295,375,515,920,637,922,863,441,517,358],()=>s(1103)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/bypass/page-e6b788eb02e44a0e.js b/_next/static/chunks/app/docs/bypass/page-e6b788eb02e44a0e.js deleted file mode 100644 index b849249f..00000000 --- a/_next/static/chunks/app/docs/bypass/page-e6b788eb02e44a0e.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[753],{1103:(e,s,l)=>{Promise.resolve().then(l.bind(l,5297))},5297:(e,s,l)=>{"use strict";l.r(s),l.d(s,{default:()=>w});var a=l(5155),n=l(4995),r=l(2115),t=l(2981),o=l(2963),c=l(6180),i=l(6121),d=l(3667),u=l(7204),h=l(4805),p=l(2859),x=l(3577);(0,x.v)(h.Qn,{tcp:h.Mq.bypass,udp:h.Mq.bypass,bypassFile:"yuhaiin.conf",customRuleV3:[]});let m=r.memo(e=>{let s=(0,x.v)(h.eT,{hostname:["www.example.com"],mode:h.Mq.proxy,tag:"",resolveStrategy:h.pI.default}),l=(0,x.v)(h.Nm,{name:"my rule",enabled:!1,object:{case:"file",value:(0,x.v)(h.Uu,{})}}),n=s=>{s(e.bypass),e.onChange(e.bypass)};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(t.A,{className:"mb-3",children:(0,a.jsxs)(t.A.Body,{children:[(0,a.jsx)(g,{label:"TCP",network:!0,value:e.bypass.tcp,onChange:e=>n(s=>s.tcp=e)}),(0,a.jsx)(g,{label:"UDP",network:!0,value:e.bypass.udp,onChange:e=>n(s=>s.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,s)=>(0,a.jsx)(u.mc,{title:e.name,onClose:()=>n(e=>e.remoteRules.splice(s,1)),children:(0,a.jsx)(j,{config:e,onChange:e=>n(l=>l.remoteRules[s]=e)})},"remote_rules"+s)),(0,a.jsx)("div",{className:"d-flex mb-2",children:(0,a.jsxs)(o.A,{className:"flex-grow-1",variant:"outline-success",onClick:()=>n(e=>e.remoteRules.push(l)),children:[(0,a.jsx)("i",{className:"bi bi-plus-lg mb-2"}),"New Remote Rule"]})}),(0,a.jsx)("hr",{}),e.bypass.customRuleV3.map((e,s)=>(0,a.jsx)(u.mc,{title:""!==e.tag?e.tag:h.Mq[e.mode],onClose:()=>n(e=>e.customRuleV3.splice(s,1)),children:(0,a.jsx)(v,{config:e,onChange:e=>n(l=>l.customRuleV3[s]=e)})},"rule"+s)),(0,a.jsx)("div",{className:"d-flex mb-2",children:(0,a.jsxs)(o.A,{className:"flex-grow-1",variant:"outline-success",onClick:()=>n(e=>e.customRuleV3.push(s)),children:[(0,a.jsx)("i",{className:"bi bi-plus-lg mb-2"}),"New Rule"]})})]})}),v=e=>{let s=s=>{s(e.config),e.onChange(e.config)};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(g,{label:"Mode",network:!1,value:e.config.mode,onChange:e=>s(s=>s.mode=e)}),(0,a.jsx)(u.a9,{label:"Tag",value:e.config.tag,onChange:e=>s(s=>s.tag=e)}),(0,a.jsx)(b,{label:"Resolve Strategy",value:e.config.resolveStrategy,onChange:e=>s(s=>s.resolveStrategy=e)}),(0,a.jsx)(f,{label:"UDP proxy Fqdn",value:e.config.udpProxyFqdnStrategy,onChange:e=>s(s=>s.udpProxyFqdnStrategy=e)}),(0,a.jsx)(u.e9,{title:"IP/DOMAIN",data:e.config.hostname,onChange:e=>s(s=>{e&&(s.hostname=e)}),errorMsgs:e.config.errorMsgs})]})},j=e=>{let s=s=>{s(e.config),e.onChange(e.config)},l=()=>{switch(e.config.object.case){case"file":return"file";case"http":return"http";default:return""}},n=(e,s)=>{switch(e.object.case){case"file":e.object.value.path=s;break;case"http":e.object.value.url=s}};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(p.$d,{label:"Enabled",checked:e.config.enabled,onChange:()=>s(e=>e.enabled=!e.enabled)}),(0,a.jsx)(u.a9,{label:"Name",value:e.config.name,onChange:e=>s(s=>s.name=e)}),(0,a.jsxs)(c.A.Group,{as:i.A,className:"mb-3",children:[(0,a.jsx)(c.A.Label,{column:!0,sm:2,children:"Type"}),(0,a.jsx)(d.A,{sm:10,children:(0,a.jsxs)(c.A.Select,{value:l(),onChange:e=>s(s=>{if(l()!=e.target.value)switch(e.target.value){case"file":s.object={case:"file",value:(0,x.v)(h.Uu,{})};break;case"http":s.object={case:"http",value:(0,x.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=>s(s=>n(s,e))})]})};function g(e){return(0,a.jsxs)(c.A.Group,{as:i.A,className:"mb-3",children:[(0,a.jsx)(c.A.Label,{column:!0,sm:2,children:e.label}),(0,a.jsx)(d.A,{sm:10,children:(0,a.jsxs)(c.A.Select,{value:h.Mq[e.value],onChange:s=>e.onChange(h.Mq[s.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)(c.A.Group,{as:i.A,className:"mb-3",children:[(0,a.jsx)(c.A.Label,{column:!0,sm:2,children:e.label}),(0,a.jsx)(d.A,{sm:10,children:(0,a.jsxs)(c.A.Select,{value:h.f5[e.value],onChange:s=>e.onChange(h.f5[s.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 b(e){return(0,a.jsxs)(c.A.Group,{as:i.A,className:"mb-3",children:[(0,a.jsx)(c.A.Label,{column:!0,sm:2,children:e.label}),(0,a.jsx)(d.A,{sm:10,children:(0,a.jsxs)(c.A.Select,{value:h.pI[e.value],onChange:s=>e.onChange(h.pI[s.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=l(8927),A=l(9169),C=l(950),N=l(148),k=l(3339),_=l(4216),q=l(6863);let w=function(){let e=(0,r.useContext)(N.u),[s,l]=(0,r.useState)(!1),[t,c]=(0,r.useState)(!1),{data:i,error:d,isLoading:u,mutate:p}=(0,n.Ay)("/bypass",(0,y.AD)(q.XH.method.load),{revalidateOnFocus:!1});return d?(0,a.jsx)(A.A,{code:d.code,children:d.msg}):u||!i?(0,a.jsx)(A.A,{}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m,{bypass:(0,C.o)(h.Qn,i),onChange:e=>{p(e,!1)}}),(0,a.jsx)("hr",{}),(0,a.jsxs)(k.A,{gap:1,direction:"horizontal",children:[(0,a.jsxs)(o.A,{variant:"outline-primary",disabled:s,onClick:()=>{l(!0),(0,y.kP)(q.XH.method.save,"/bypass","PATCH",i).then(async s=>{let{error:a}=s;void 0!==a?e.Error("save config failed, ".concat(a.code,"| ").concat(a.msg)):(e.Info("Save Successfully"),p()),l(!1)})},children:["Save",s&&(0,a.jsxs)(a.Fragment,{children:["\xa0",(0,a.jsx)(_.A,{size:"sm",animation:"border",variant:"primary"})]})]}),(0,a.jsxs)(o.A,{variant:"outline-primary",disabled:t,onClick:()=>{c(!0),(0,y.kP)(q.XH.method.reload,"/bypass/reload","POST").then(async s=>{let{error:l}=s;void 0!==l?e.Error("reload failed, ".concat(l.code,"| ").concat(l.msg)):(e.Info("Reload Successfully"),p()),c(!1)})},children:["Refresh Now",t&&(0,a.jsxs)(a.Fragment,{children:["\xa0",(0,a.jsx)(_.A,{size:"sm",animation:"border",variant:"primary"})]})]})]})]})}},9169:(e,s,l)=>{"use strict";l.d(s,{A:()=>o});var a=l(5155),n=l(4216),r=l(5554),t=l.n(r);let o=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)(t(),{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,s,l)=>{"use strict";l.d(s,{$d:()=>o});var a=l(5155);l(2115);var n=l(6180),r=l(6121),t=l(3667);let o=e=>(0,a.jsxs)(n.A.Group,{as:r.A,className:"mb-2",children:[(0,a.jsx)(n.A.Label,{column:!0,sm:2,children:e.label}),(0,a.jsx)(t.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,s,l)=>{"use strict";l.d(s,{u:()=>o,y:()=>c});var a=l(5155),n=l(2115),r=l(1757),t=l(491);let o=(0,n.createContext)({Info:e=>{},Error:e=>{}}),c=e=>{let{children:s}=e,[l,c]=(0,n.useState)({value:{},index:0}),i=(e,s)=>c(l=>({value:{...l.value,[l.index]:{text:e,type:s}},index:l.index+1}));return(0,a.jsxs)(o.Provider,{value:{Info:e=>{console.log(e),i(e,"success")},Error:e=>{console.error(e),i(e,"danger")}},children:[(0,a.jsx)(r.A,{className:"p-3",position:"top-center",containerPosition:"fixed",style:{zIndex:999999},children:Object.entries(l.value).map(e=>{let[s,n]=e;return(0,a.jsxs)(t.A,{role:"alert","aria-live":"assertive",show:!0,bg:n.type,onClose:()=>{let e=l.value;delete e[s],c({...l,value:e})},"aria-atomic":"true",delay:4e3,autohide:!0,animation:!0,children:[(0,a.jsxs)(t.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)(t.A.Body,{className:"text-center",children:n.text})]},"toast"+s)})}),s]})}}},e=>{var s=s=>e(e.s=s);e.O(0,[295,995,515,920,637,392,306,863,441,517,358],()=>s(1103)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/bypass/test/page-84d52857baf2c037.js b/_next/static/chunks/app/docs/bypass/test/page-84d52857baf2c037.js deleted file mode 100644 index 6d4067a7..00000000 --- a/_next/static/chunks/app/docs/bypass/test/page-84d52857baf2c037.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:()=>s,G_:()=>m,Ow:()=>d,Oz:()=>l,VN:()=>y,X3:()=>u,_s:()=>x,dp:()=>p,h$:()=>v,kP:()=>o,mv:()=>g,oH:()=>r,r3:()=>a,u1:()=>c});var o="",l="https://clients3.google.com/generate_204",a="dns.nextdns.io:853",r=!0,s="http://ip.sb",c="stun.syncthing.net:3478",u="stun.nextcloud.com:443";let i=()=>{let e=localStorage.getItem("api_url");o=null!==e?e:"",e=localStorage.getItem("remote_bypass"),null!==(e=localStorage.getItem("latency_http_url"))&&(l=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"))&&(s=e),null!==(e=localStorage.getItem("latency_stun_url"))&&(c=e),null!==(e=localStorage.getItem("latency_stun_tcp_url"))&&(u=e)},d=e=>{h("api_url",e)},p=e=>{h("latency_dns_url",e)},m=e=>{h("latency_http_url",e)},g=e=>{h("latency_ipv6",e.toString())},v=e=>{h("latency_ip_url",e)},x=e=>{h("latency_stun_url",e)},y=e=>{h("latency_stun_tcp_url",e)},h=(e,t)=>{""===t?localStorage.removeItem(e):localStorage.setItem(e,t),i()};i()},304:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var o=n(5155),l=n(2115),a=n(8003),r=n(6180),s=n(2963),c=n(2981),u=n(8927),i=n(3577),d=n(9093),p=n(1936),m=n(6863),g=n(148);let v=function(){let e=(0,l.useContext)(g.u),[t,n]=(0,l.useState)(""),[v,x]=(0,l.useState)(void 0);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(a.A,{className:"mb-3",children:[(0,o.jsx)(r.A.Control,{placeholder:"www.example.com",value:t,onChange:e=>n(e.target.value)}),(0,o.jsx)(s.A,{variant:"outline-primary",onClick:()=>{""!==t&&(0,u.kP)(m.XH.method.test,"/bypass/test","POST",(0,i.v)(p.g8,{value:t})).then(async t=>{let{data:n,error:o}=t;o?e.Error("test failed ".concat(o.code,"| ").concat(o.msg)):x(n)})},children:"Test"})]}),v&&(0,o.jsx)(c.A,{className:"mb-3",children:(0,o.jsx)(c.A.Body,{children:(0,o.jsx)("pre",{children:(0,d.J7)(m.C$,v,{prettySpaces:2})})})})]})}},8927:(e,t,n)=>{"use strict";n.d(t,{AD:()=>s,gR:()=>u,kP:()=>c});var o=n(744),l=n(950),a=n(7558),r=n(6989);function s(e,t,n,s){return c=>s?(0,l.o)(e.output,s):fetch("".concat(o.kP).concat(c),{method:t,body:n?(0,a.R)(e.input,n):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()))})}async function c(e,t,n,l){let s=await fetch("".concat(o.kP).concat(t),{method:n,body:l?(0,a.R)(e.input,l):void 0});return s.ok?{data:(0,r.Er)(e.output,new Uint8Array(await s.arrayBuffer()))}:{error:{code:s.status,msg:await s.text()}}}function u(e,t,n){return(l,a)=>{let s,{next:c}=a,u=new URL(""!==o.kP?o.kP:window.location.toString());u.pathname=l,u.protocol="https:"===u.protocol?"wss:":"ws:";let i=!1,d=()=>{i||(console.log("connecting to: ".concat(u)),(s=new WebSocket(u)).binaryType="arraybuffer",s.addEventListener("open",t=>{console.log("connect to: ".concat(u,", event type: ").concat(t.type)),null==s||s.send(e)}),s.addEventListener("message",e=>{let o=(0,r.Er)(t,new Uint8Array(e.data));c(null,e=>n(e,o))}),s.addEventListener("error",e=>{let t="websocket have some error";c({msg:t,code:500}),console.log(t,e.type)}),s.addEventListener("close",e=>{console.log("websocket closed, code: "+e.code),c(null,void 0),i||(console.log("reconnect after 1 seconds"),setTimeout(d,1e3))}))};return d(),()=>{i=!0,void 0!==s&&(console.log("close: ".concat(l)),s.close(),s=void 0)}}}},148:(e,t,n)=>{"use strict";n.d(t,{u:()=>s,y:()=>c});var o=n(5155),l=n(2115),a=n(1757),r=n(491);let s=(0,l.createContext)({Info:e=>{},Error:e=>{}}),c=e=>{let{children:t}=e,[n,c]=(0,l.useState)({value:{},index:0}),u=(e,t)=>c(n=>({value:{...n.value,[n.index]:{text:e,type:t}},index:n.index+1}));return(0,o.jsxs)(s.Provider,{value:{Info:e=>{console.log(e),u(e,"success")},Error:e=>{console.error(e),u(e,"danger")}},children:[(0,o.jsx)(a.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,o.jsxs)(r.A,{role:"alert","aria-live":"assertive",show:!0,bg:l.type,onClose:()=>{let e=n.value;delete e[t],c({...n,value:e})},"aria-atomic":"true",delay:4e3,autohide:!0,animation:!0,children:[(0,o.jsxs)(r.A.Header,{children:[(0,o.jsx)("strong",{className:"me-auto",children:"Notification"}),(0,o.jsx)("small",{className:"text-muted",children:"just now"})]}),(0,o.jsx)(r.A.Body,{className:"text-center",children:l.text})]},"toast"+t)})}),t]})}},8003:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var o=n(4617),l=n.n(o),a=n(2115),r=n(1653),s=n(2389),c=n(2471),u=n(5155);let i=a.forwardRef((e,t)=>{let{className:n,bsPrefix:o,as:a="span",...s}=e;return o=(0,r.oU)(o,"input-group-text"),(0,u.jsx)(a,{ref:t,className:l()(n,o),...s})});i.displayName="InputGroupText";let d=a.forwardRef((e,t)=>{let{bsPrefix:n,size:o,hasValidation:s,className:i,as:d="div",...p}=e;n=(0,r.oU)(n,"input-group");let m=(0,a.useMemo)(()=>({}),[]);return(0,u.jsx)(c.A.Provider,{value:m,children:(0,u.jsx)(d,{ref:t,...p,className:l()(i,n,o&&"".concat(n,"-").concat(o),s&&"has-validation")})})});d.displayName="InputGroup";let p=Object.assign(d,{Text:i,Radio:e=>(0,u.jsx)(i,{children:(0,u.jsx)(s.A,{type:"radio",...e})}),Checkbox:e=>(0,u.jsx)(i,{children:(0,u.jsx)(s.A,{type:"checkbox",...e})})})},2471:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});let o=n(2115).createContext(null);o.displayName="InputGroupContext";let l=o},9537:(e,t,n)=>{"use strict";function o(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:()=>o})},9678:(e,t,n)=>{"use strict";n.d(t,{i:()=>a,w:()=>r});var o=n(6788),l=n(8123);let a=(0,o.w)("Ch9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvEg9nb29nbGUucHJvdG9idWYiKwoJVGltZXN0YW1wEg8KB3NlY29uZHMYASABKAMSDQoFbmFub3MYAiABKAVChQEKE2NvbS5nb29nbGUucHJvdG9idWZCDlRpbWVzdGFtcFByb3RvUAFaMmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3RpbWVzdGFtcHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),r=(0,l.Z)(a,0)}},e=>{var t=t=>e(e.s=t);e.O(0,[295,515,920,340,863,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-dd14eb347fa06f79.js b/_next/static/chunks/app/docs/bypass/test/page-dd14eb347fa06f79.js new file mode 100644 index 00000000..cd1cad4b --- /dev/null +++ b/_next/static/chunks/app/docs/bypass/test/page-dd14eb347fa06f79.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:()=>s,G_:()=>m,Ow:()=>d,Oz:()=>l,VN:()=>v,X3:()=>u,_s:()=>h,dp:()=>p,h$:()=>y,kP:()=>o,mv:()=>g,oH:()=>a,r3:()=>r,u1:()=>c});var o="",l="https://clients3.google.com/generate_204",r="dns.nextdns.io:853",a=!0,s="http://ip.sb",c="stun.syncthing.net:3478",u="stun.nextcloud.com:443";let i=()=>{let e=localStorage.getItem("api_url");o=null!==e?e:"",e=localStorage.getItem("remote_bypass"),null!==(e=localStorage.getItem("latency_http_url"))&&(l=e),null!==(e=localStorage.getItem("latency_dns_url"))&&(r=e),null!==(e=localStorage.getItem("latency_ipv6"))&&(a="true"===e),null!==(e=localStorage.getItem("latency_ip_url"))&&(s=e),null!==(e=localStorage.getItem("latency_stun_url"))&&(c=e),null!==(e=localStorage.getItem("latency_stun_tcp_url"))&&(u=e)},d=e=>{x("api_url",e)},p=e=>{x("latency_dns_url",e)},m=e=>{x("latency_http_url",e)},g=e=>{x("latency_ipv6",e.toString())},y=e=>{x("latency_ip_url",e)},h=e=>{x("latency_stun_url",e)},v=e=>{x("latency_stun_tcp_url",e)},x=(e,t)=>{""===t?localStorage.removeItem(e):localStorage.setItem(e,t),i()};i()},304:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y});var o=n(5155),l=n(3577),r=n(9093),a=n(1936),s=n(2115),c=n(8003),u=n(6180),i=n(2963),d=n(2981),p=n(8927),m=n(148),g=n(6863);let y=function(){let e=(0,s.useContext)(m.u),[t,n]=(0,s.useState)(""),[y,h]=(0,s.useState)(void 0);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(c.A,{className:"mb-3",children:[(0,o.jsx)(u.A.Control,{placeholder:"www.example.com",value:t,onChange:e=>n(e.target.value)}),(0,o.jsx)(i.A,{variant:"outline-primary",onClick:()=>{""!==t&&(0,p.kP)(g.XH.method.test,"/bypass/test","POST",(0,l.v)(a.g8,{value:t})).then(async t=>{let{data:n,error:o}=t;o?e.Error("test failed ".concat(o.code,"| ").concat(o.msg)):h(n)})},children:"Test"})]}),y&&(0,o.jsx)(d.A,{className:"mb-3",children:(0,o.jsx)(d.A.Body,{children:(0,o.jsx)("pre",{children:(0,r.J7)(g.C$,y,{prettySpaces:2})})})})]})}},8927:(e,t,n)=>{"use strict";n.d(t,{AD:()=>s,kP:()=>c,zZ:()=>u});var o=n(950),l=n(7558),r=n(6989),a=n(744);function s(e,t,n,s){return c=>s?(0,o.o)(e.output,s):fetch("".concat(a.kP).concat(c),{method:t,body:n?(0,l.R)(e.input,n):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()))})}async function c(e,t,n,o){let s=await fetch("".concat(a.kP).concat(t),{method:n,body:o?(0,l.R)(e.input,o):void 0});return s.ok?{data:(0,r.Er)(e.output,new Uint8Array(await s.arrayBuffer()))}:{error:{code:s.status,msg:await s.text()}}}function u(e,t){return(n,o)=>{let s,{next:c}=o,u=new URL(""!==a.kP?a.kP:window.location.toString());u.pathname=n.url,u.protocol="https:"===u.protocol?"wss:":"ws:";let i=!1,d=()=>{i||(console.log("connecting to: ".concat(u)),(s=new WebSocket(u)).binaryType="arraybuffer",s.addEventListener("open",n=>{console.log("connect to: ".concat(u,", event type: ").concat(n.type)),null==s||s.send((0,l.R)(e.input,t))}),s.addEventListener("message",t=>{let o=(0,r.Er)(e.output,new Uint8Array(t.data));c(null,e=>n.stream(o,e))}),s.addEventListener("error",e=>{let t="websocket have some error";c({msg:t,code:500}),console.log(t,e.type)}),s.addEventListener("close",e=>{console.log("websocket closed, code: "+e.code),c(null,void 0),i||(console.log("reconnect after 1 seconds"),setTimeout(d,1e3))}))};return d(),()=>{i=!0,void 0!==s&&(console.log("close: ".concat(n)),s.close(),s=void 0)}}}},148:(e,t,n)=>{"use strict";n.d(t,{u:()=>s,y:()=>c});var o=n(5155),l=n(2115),r=n(1757),a=n(491);let s=(0,l.createContext)({Info:e=>{},Error:e=>{}}),c=e=>{let{children:t}=e,[n,c]=(0,l.useState)([]),u=(e,t)=>c(n=>[...n,{text:e,type:t}]);return(0,o.jsxs)(s.Provider,{value:{Info:e=>{console.log(e),u(e,"success")},Error:e=>{console.error(e),u(e,"danger")}},children:[(0,o.jsx)(r.A,{className:"p-3",position:"top-center",containerPosition:"fixed",style:{zIndex:999999},children:n.map((e,t)=>(0,o.jsxs)(a.A,{role:"alert","aria-live":"assertive",show:!0,bg:e.type,onClose:()=>{c(e=>[...e.slice(0,t),...e.slice(t+1)])},"aria-atomic":"true",delay:4e3,autohide:!0,animation:!0,children:[(0,o.jsxs)(a.A.Header,{children:[(0,o.jsx)("strong",{className:"me-auto",children:"Notification"}),(0,o.jsx)("small",{className:"text-muted",children:"just now"})]}),(0,o.jsx)(a.A.Body,{className:"text-center",children:e.text})]},"toast"+t))}),t]})}},8003:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var o=n(4617),l=n.n(o),r=n(2115),a=n(1653),s=n(2389),c=n(2471),u=n(5155);let i=r.forwardRef((e,t)=>{let{className:n,bsPrefix:o,as:r="span",...s}=e;return o=(0,a.oU)(o,"input-group-text"),(0,u.jsx)(r,{ref:t,className:l()(n,o),...s})});i.displayName="InputGroupText";let d=r.forwardRef((e,t)=>{let{bsPrefix:n,size:o,hasValidation:s,className:i,as:d="div",...p}=e;n=(0,a.oU)(n,"input-group");let m=(0,r.useMemo)(()=>({}),[]);return(0,u.jsx)(c.A.Provider,{value:m,children:(0,u.jsx)(d,{ref:t,...p,className:l()(i,n,o&&"".concat(n,"-").concat(o),s&&"has-validation")})})});d.displayName="InputGroup";let p=Object.assign(d,{Text:i,Radio:e=>(0,u.jsx)(i,{children:(0,u.jsx)(s.A,{type:"radio",...e})}),Checkbox:e=>(0,u.jsx)(i,{children:(0,u.jsx)(s.A,{type:"checkbox",...e})})})},2471:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});let o=n(2115).createContext(null);o.displayName="InputGroupContext";let l=o},9537:(e,t,n)=>{"use strict";function o(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:()=>o})},9678:(e,t,n)=>{"use strict";n.d(t,{i:()=>r,w:()=>a});var o=n(6788),l=n(8123);let r=(0,o.w)("Ch9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvEg9nb29nbGUucHJvdG9idWYiKwoJVGltZXN0YW1wEg8KB3NlY29uZHMYASABKAMSDQoFbmFub3MYAiABKAVChQEKE2NvbS5nb29nbGUucHJvdG9idWZCDlRpbWVzdGFtcFByb3RvUAFaMmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3RpbWVzdGFtcHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),a=(0,l.Z)(r,0)}},e=>{var t=t=>e(e.s=t);e.O(0,[295,515,920,340,863,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-9e327cef5d150e0e.js b/_next/static/chunks/app/docs/config/about/page-9e327cef5d150e0e.js new file mode 100644 index 00000000..1eaf6eae --- /dev/null +++ b/_next/static/chunks/app/docs/config/about/page-9e327cef5d150e0e.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[181],{4749:(l,i,a)=>{Promise.resolve().then(a.bind(a,8187))},8187:(l,i,a)=>{"use strict";a.r(i),a.d(i,{default:()=>v});var e=a(5155),n=a(5554),u=a.n(n),t=a(2981),o=a(4995),m=a(9169),b=a(8927),d=a(6863),s=a(7204);let v=function(){var l,i,a,n,v,r,x,h;let{data:p,isLoading:c,isValidating:j,error:f}=(0,o.Ay)("/info",(0,b.AD)(d.hF.method.info),{});return void 0!==f?(0,e.jsx)(u(),{statusCode:f.code,title:f.msg}):c||j||!p?(0,e.jsx)(m.A,{}):(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(t.A,{children:(0,e.jsxs)(t.A.Body,{children:[(0,e.jsx)(s.a9,{plaintext:!0,mb:"mb-0",label:"Version",value:null!==(l=null==p?void 0:p.version)&&void 0!==l?l:""}),(0,e.jsx)(s.a9,{url:"https://github.com/yuhaiin/yuhaiin/commit/"+(null==p?void 0:p.commit),plaintext:!0,mb:"mb-0",label:"Commit",value:null!==(i=null==p?void 0:p.commit)&&void 0!==i?i:""}),(0,e.jsx)(s.a9,{plaintext:!0,mb:"mb-0",label:"Build Time",value:null!==(a=null==p?void 0:p.buildTime)&&void 0!==a?a:""}),(0,e.jsx)(s.a9,{plaintext:!0,mb:"mb-0",label:"Go Version",value:null!==(n=null==p?void 0:p.goVersion)&&void 0!==n?n:""}),(0,e.jsx)(s.a9,{url:"https://github.com/yuhaiin/yuhaiin",plaintext:!0,mb:"mb-0",label:"Github",value:"yuhaiin/yuhaiin"}),(0,e.jsx)(s.a9,{plaintext:!0,mb:"mb-0",label:"OS",value:null!==(v=null==p?void 0:p.os)&&void 0!==v?v:""}),(0,e.jsx)(s.a9,{plaintext:!0,mb:"mb-0",label:"Arch",value:null!==(r=null==p?void 0:p.arch)&&void 0!==r?r:""}),(0,e.jsx)(s.a9,{plaintext:!0,mb:"mb-0",label:"Compiler",value:null!==(x=null==p?void 0:p.compiler)&&void 0!==x?x:""}),(0,e.jsx)(s.a9,{plaintext:!0,mb:"mb-0",label:"Platform",value:null!==(h=null==p?void 0:p.platform)&&void 0!==h?h:""}),(0,e.jsx)(s.kk,{title:"Build",data:null==p?void 0:p.build,mb:"mb-0"})]})})})}}},l=>{var i=i=>l(l.s=i);l.O(0,[295,375,920,637,410,922,863,441,517,358],()=>i(4749)),_N_E=l.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/config/about/page-e1bcd57fa49d13db.js b/_next/static/chunks/app/docs/config/about/page-e1bcd57fa49d13db.js deleted file mode 100644 index 0f418794..00000000 --- a/_next/static/chunks/app/docs/config/about/page-e1bcd57fa49d13db.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[181],{4749:(l,i,a)=>{Promise.resolve().then(a.bind(a,8187))},8187:(l,i,a)=>{"use strict";a.r(i),a.d(i,{default:()=>b});var e=a(5155),n=a(2981),u=a(7204),t=a(4995),o=a(8927),m=a(6863);let b=function(){var l,i,a,b,d,v,s,r;let{data:h}=(0,t.Ay)("/info",(0,o.AD)(m.hF.method.info),{});return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(n.A,{children:(0,e.jsxs)(n.A.Body,{children:[(0,e.jsx)(u.a9,{plaintext:!0,mb:"mb-0",label:"Version",value:null!==(l=null==h?void 0:h.version)&&void 0!==l?l:""}),(0,e.jsx)(u.a9,{url:"https://github.com/yuhaiin/yuhaiin/commit/"+(null==h?void 0:h.commit),plaintext:!0,mb:"mb-0",label:"Commit",value:null!==(i=null==h?void 0:h.commit)&&void 0!==i?i:""}),(0,e.jsx)(u.a9,{plaintext:!0,mb:"mb-0",label:"Build Time",value:null!==(a=null==h?void 0:h.buildTime)&&void 0!==a?a:""}),(0,e.jsx)(u.a9,{plaintext:!0,mb:"mb-0",label:"Go Version",value:null!==(b=null==h?void 0:h.goVersion)&&void 0!==b?b:""}),(0,e.jsx)(u.a9,{url:"https://github.com/yuhaiin/yuhaiin",plaintext:!0,mb:"mb-0",label:"Github",value:"yuhaiin/yuhaiin"}),(0,e.jsx)(u.a9,{plaintext:!0,mb:"mb-0",label:"OS",value:null!==(d=null==h?void 0:h.os)&&void 0!==d?d:""}),(0,e.jsx)(u.a9,{plaintext:!0,mb:"mb-0",label:"Arch",value:null!==(v=null==h?void 0:h.arch)&&void 0!==v?v:""}),(0,e.jsx)(u.a9,{plaintext:!0,mb:"mb-0",label:"Compiler",value:null!==(s=null==h?void 0:h.compiler)&&void 0!==s?s:""}),(0,e.jsx)(u.a9,{plaintext:!0,mb:"mb-0",label:"Platform",value:null!==(r=null==h?void 0:h.platform)&&void 0!==r?r:""}),(0,e.jsx)(u.kk,{title:"Build",data:null==h?void 0:h.build,mb:"mb-0"})]})})})}}},l=>{var i=i=>l(l.s=i);l.O(0,[295,995,920,637,410,306,863,441,517,358],()=>i(4749)),_N_E=l.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/config/inbounds/page-357ca99e1969c921.js b/_next/static/chunks/app/docs/config/inbounds/page-357ca99e1969c921.js deleted file mode 100644 index 0e0c463f..00000000 --- a/_next/static/chunks/app/docs/config/inbounds/page-357ca99e1969c921.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[930],{4784:(e,s,n)=>{Promise.resolve().then(n.bind(n,1404))},9169:(e,s,n)=>{"use strict";n.d(s,{A:()=>o});var t=n(5155),a=n(4216),r=n(5554),l=n.n(r);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)(l(),{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,s,n)=>{"use strict";n.d(s,{$d:()=>o});var t=n(5155);n(2115);var a=n(6180),r=n(6121),l=n(3667);let o=e=>(0,t.jsxs)(a.A.Group,{as:r.A,className:"mb-2",children:[(0,t.jsx)(a.A.Label,{column:!0,sm:2,children:e.label}),(0,t.jsx)(l.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,s,n)=>{"use strict";n.d(s,{u:()=>o,y:()=>i});var t=n(5155),a=n(2115),r=n(1757),l=n(491);let o=(0,a.createContext)({Info:e=>{},Error:e=>{}}),i=e=>{let{children:s}=e,[n,i]=(0,a.useState)({value:{},index:0}),c=(e,s)=>i(n=>({value:{...n.value,[n.index]:{text:e,type:s}},index:n.index+1}));return(0,t.jsxs)(o.Provider,{value:{Info:e=>{console.log(e),c(e,"success")},Error:e=>{console.error(e),c(e,"danger")}},children:[(0,t.jsx)(r.A,{className:"p-3",position:"top-center",containerPosition:"fixed",style:{zIndex:999999},children:Object.entries(n.value).map(e=>{let[s,a]=e;return(0,t.jsxs)(l.A,{role:"alert","aria-live":"assertive",show:!0,bg:a.type,onClose:()=>{let e=n.value;delete e[s],i({...n,value:e})},"aria-atomic":"true",delay:4e3,autohide:!0,animation:!0,children:[(0,t.jsxs)(l.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)(l.A.Body,{className:"text-center",children:a.text})]},"toast"+s)})}),s]})}},1404:(e,s,n)=>{"use strict";n.r(s),n.d(s,{default:()=>O});var t=n(5155),a=n(4995),r=n(8927),l=n(6863),o=n(5554),i=n.n(o),c=n(9169),u=n(0),d=n(2963),h=n(2981),v=n(57),x=n(8003),m=n(6180),p=n(2115),g=n(7641),b=n(3577),j=n(950),C=n(2859),A=n(7204),y=n(6121),f=n(3667),w=n(2273);let k=p.memo(e=>{let s=s=>{s(e.http),e.onChange(e.http)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(A.a9,{label:"Username",value:e.http.username,onChange:e=>s(s=>s.username=e)}),(0,t.jsx)(A.a9,{label:"Password",value:e.http.password,onChange:e=>s(s=>s.password=e)})]})}),N=p.memo(e=>{let s=s=>{s(e.reverse_http),e.onChange(e.reverse_http)};return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(A.a9,{label:"Url",value:e.reverse_http.url,onChange:e=>s(s=>s.url=e)})})}),F=p.memo(e=>{let s=s=>{s(e.reverse_tcp),e.onChange(e.reverse_tcp)};return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(A.a9,{label:"Host",value:e.reverse_tcp.host,onChange:e=>s(s=>s.host=e)})})}),S=p.memo(e=>{let s=s=>{s(e.redir),e.onChange(e.redir)};return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(A.a9,{label:"Host",value:e.redir.host,onChange:e=>s(s=>s.host=e)})})}),E=p.memo(e=>{let s=s=>{s(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:()=>s(e=>e.dnsHijacking=!e.dnsHijacking)}),(0,t.jsx)(C.$d,{label:"Force Fake IP",checked:e.tproxy.forceFakeip,onChange:()=>s(e=>e.forceFakeip=!e.forceFakeip)}),(0,t.jsx)(A.a9,{label:"Host",value:e.tproxy.host,onChange:e=>s(s=>s.host=e)})]})}),I=p.memo(e=>{let s=s=>{s(e.socks5),e.onChange(e.socks5)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(A.a9,{label:"Username",value:e.socks5.username,onChange:e=>s(s=>s.username=e)}),(0,t.jsx)(A.a9,{label:"Password",value:e.socks5.password,onChange:e=>s(s=>s.password=e)})]})}),P=p.memo(e=>{let s=s=>{s(e.mixed),e.onChange(e.mixed)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(A.a9,{label:"Username",value:e.mixed.username,onChange:e=>s(s=>s.username=e)}),(0,t.jsx)(A.a9,{label:"Password",value:e.mixed.password,onChange:e=>s(s=>s.password=e)})]})}),H=p.memo(e=>{var s,n;let a=s=>{s(e.tun),e.onChange(e.tun)},[r,l]=(0,p.useState)((0,w.fj)(e.tun.postUp)),[o,i]=(0,p.useState)((0,w.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)(A.a9,{label:"Name",value:e.tun.name,onChange:e=>a(s=>s.name=e)}),(0,t.jsx)(A.a9,{label:"MTU",value:e.tun.mtu,onChange:e=>a(s=>s.mtu=isNaN(Number(e))?s.mtu:Number(e))}),(0,t.jsx)(A.a9,{label:"IPv4",value:e.tun.portal,onChange:e=>a(s=>s.portal=e)}),(0,t.jsx)(A.a9,{label:"IPv6",value:e.tun.portalV6,onChange:e=>a(s=>s.portalV6=e)}),(0,t.jsx)(A.a9,{label:"Post Up",value:r,onChange:e=>{l(e);try{let s=(0,w.lD)(e);a(e=>e.postUp=s)}catch(e){console.log(e)}}}),(0,t.jsx)(A.a9,{label:"Post Down",value:o,onChange:e=>{i(e);try{let s=(0,w.lD)(e);a(e=>e.postDown=s)}catch(e){console.log(e)}}}),(0,t.jsx)(function(e){return(0,t.jsxs)(m.A.Group,{as:y.A,className:"mb-3",children:[(0,t.jsx)(m.A.Label,{column:!0,sm:2,children:e.label}),(0,t.jsx)(f.A,{sm:10,children:(0,t.jsxs)(m.A.Select,{value:g.xz[void 0===e.value||null===e.value?g.xz.fdbased:e.value],onChange:s=>e.onChange(g.xz[s.target.value]),children:[(0,t.jsx)("option",{value:g.xz[g.xz.fdbased],children:"Fdbased"}),(0,t.jsx)("option",{value:g.xz[g.xz.channel],children:"Channel"}),(0,t.jsx)("option",{value:g.xz[g.xz.system_gvisor],children:"System"})]})})]})},{label:"Stack",value:e.tun.driver,onChange:e=>a(s=>s.driver=e)}),(0,t.jsx)(A.e9,{title:"Routes",data:null!==(n=null===(s=e.tun.route)||void 0===s?void 0:s.routes)&&void 0!==n?n:[],onChange:e=>a(s=>{s.route||(s.route=(0,b.v)(g.l,{})),e||(e=[]),s.route&&(s.route.routes=e)})})]})}),Z=e=>null==e||void 0===e.certificates&&void 0===e.nextProtos&&void 0===e.serverNameCertificate,B=p.memo(e=>{let s=s=>{s(e.cert),e.onChange(e.cert)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(A.jU,{label:"Cert",value:new TextDecoder().decode(e.cert.cert),onChange:e=>s(s=>{s.cert=new TextEncoder().encode(e)})}),(0,t.jsx)(A.jU,{label:"Key",value:new TextDecoder().decode(e.cert.key),onChange:e=>s(s=>{s.key=new TextEncoder().encode(e)})}),(0,t.jsx)(A.a9,{label:"Cert File",value:e.cert.certFilePath,onChange:e=>s(s=>{s.certFilePath=e})}),(0,t.jsx)(A.a9,{label:"Key File",value:e.cert.keyFilePath,onChange:e=>s(s=>{s.keyFilePath=e})})]})}),D=p.memo(e=>{var s,n;let[a,r]=(0,p.useState)("www.example.com"),l=s=>{s(e.tls),e.onChange(e.tls)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(A.e9,{title:"Next Protos",data:null!==(n=null===(s=e.tls)||void 0===s?void 0:s.nextProtos)&&void 0!==n?n:[],onChange:e=>l(s=>{e&&(s.nextProtos=e)})}),e.tls&&e.tls.certificates.map((e,s)=>(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:()=>l(e=>{(null==e?void 0:e.certificates)!==void 0&&e.certificates.splice(s,1)}),children:(0,t.jsx)("i",{className:"bi bi-x-lg"})})}),(0,t.jsx)(B,{cert:(0,b.v)(g.f6,e),onChange:e=>l(n=>{(null==n?void 0:n.certificates)!==void 0&&(n.certificates[s]=e)})})]})},"tls_certificates"+s)),(0,t.jsx)(x.A,{className:"d-flex justify-content-end mb-2",children:(0,t.jsxs)(d.A,{variant:"outline-success",onClick:()=>l(e=>{e.certificates.push((0,b.v)(g.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[s,n]=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:[s,(0,t.jsx)(d.A,{variant:"outline-danger",onClick:()=>l(e=>{null==e||delete e.serverNameCertificate[s]}),children:(0,t.jsx)("i",{className:"bi bi-x-lg"})})]}),(0,t.jsx)(B,{cert:(0,b.v)(g.f6,n),onChange:e=>l(n=>{n.serverNameCertificate[s]=e})})]})},"server_name_certificate"+s)}),(0,t.jsxs)(x.A,{className:"d-flex justify-content-end",children:[(0,t.jsx)(m.A.Control,{value:a,onChange:e=>r(e.target.value)}),(0,t.jsxs)(d.A,{variant:"outline-success",onClick:()=>l(e=>{""!==a&&(e.serverNameCertificate[a]=(0,b.v)(g.f6,{}))}),children:[(0,t.jsx)("i",{className:"bi bi-plus-lg"}),"New SNI Certificate"]})]})]})}),G=p.memo(e=>{let s=s=>{Z(e.quic.tls)&&(e.quic.tls=void 0),s(e.quic),e.onChange(e.quic)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(A.a9,{label:"Host",onChange:e=>s(s=>s.host=e),value:e.quic.host}),e.quic.tls&&(0,t.jsx)(D,{tls:(0,b.v)(g.Qi,null!==e.quic.tls?e.quic.tls:void 0),onChange:e=>s(s=>s.tls=e)})]})}),U=p.memo(e=>{let s=s=>{Z(e.tls.tls)&&(e.tls.tls=void 0),s(e.tls),e.onChange(e.tls)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(A.a9,{plaintext:!0,label:"Protocol",value:"TLS"}),e.tls.tls&&(0,t.jsx)(D,{tls:(0,b.v)(g.Qi,e.tls.tls),onChange:e=>s(s=>s.tls=e)})]})}),W=p.memo(e=>{let s=s=>{s(e.reality),e.onChange(e.reality)},[n,a]=(0,p.useState)({value:""}),[r,l]=(0,p.useState)({value:""});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(A.a9,{plaintext:!0,label:"Protocol",value:"Reality"}),(0,t.jsx)(A.a9,{label:"Dest",value:e.reality.dest,onChange:e=>s(s=>s.dest=e)}),(0,t.jsx)(A.a9,{label:"Private Key",value:e.reality.privateKey,onChange:e=>s(s=>s.privateKey=e)}),(0,t.jsxs)(m.A.Group,{as:y.A,className:"mb-3",children:[(0,t.jsx)(m.A.Label,{column:!0,sm:2,className:"nowrap",children:"Short ID"}),e.reality.shortId.map((e,n)=>(0,t.jsx)(f.A,{sm:{span:10,offset:0!==n?2:0},children:(0,t.jsxs)(x.A,{className:"mb-2",children:[(0,t.jsx)(m.A.Control,{value:e,onChange:e=>s(s=>{s.shortId[n]=e.target.value})}),(0,t.jsx)(d.A,{variant:"outline-danger",onClick:()=>s(e=>{e.shortId.splice(n,1)}),children:(0,t.jsx)("i",{className:"bi bi-x-lg"})})]})},n)),(0,t.jsx)(f.A,{sm:{span:10,offset:0!==e.reality.shortId.length?2:0},children:(0,t.jsxs)(x.A,{className:"mb-2",children:[(0,t.jsx)(m.A.Control,{value:n.value,onChange:e=>a({value:e.target.value})}),(0,t.jsx)(d.A,{variant:"outline-success",onClick:()=>s(e=>{e.shortId.push(n.value)}),children:(0,t.jsx)("i",{className:"bi bi-plus-lg"})})]})})]}),(0,t.jsxs)(m.A.Group,{as:y.A,className:"mb-3",children:[(0,t.jsx)(m.A.Label,{column:!0,sm:2,className:"nowrap",children:"Server Name"}),e.reality.serverName.map((e,n)=>(0,t.jsx)(f.A,{sm:{span:10,offset:0!==n?2:0},children:(0,t.jsxs)(x.A,{className:"mb-2",children:[(0,t.jsx)(m.A.Control,{value:e,onChange:e=>s(s=>{s.serverName[n]=e.target.value})}),(0,t.jsx)(d.A,{variant:"outline-danger",onClick:()=>s(e=>{e.serverName.splice(n,1)}),children:(0,t.jsx)("i",{className:"bi bi-x-lg"})})]})},n)),(0,t.jsx)(f.A,{sm:{span:10,offset:0!==e.reality.serverName.length?2:0},children:(0,t.jsxs)(x.A,{className:"mb-2",children:[(0,t.jsx)(m.A.Control,{value:r.value,onChange:e=>l({value:e.target.value})}),(0,t.jsx)(d.A,{variant:"outline-success",onClick:()=>s(e=>{e.serverName.push(r.value)}),children:(0,t.jsx)("i",{className:"bi bi-plus-lg"})})]})})]})]})});function R(e,s,n){return n?function(e){e(s),n(s)}:function(e){}}let Y=e=>{let s=R(g.Zq,e.inbound,e.onChange),n=(n,t)=>{e.inbound.transport.length<=1||n&&0===t||!n&&t===e.inbound.transport.length-1||s(e=>{let s=e.transport[t];e.transport[t]=e.transport[t+(n?-1:1)],e.transport[t+(n?-1:1)]=s})},[a,r]=(0,p.useState)({value:"normal"});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(C.$d,{label:"Enabled",checked:e.inbound.enabled,onChange:()=>{s(e=>e.enabled=!e.enabled)}}),(0,t.jsx)(A.a9,{label:"Name",value:e.inbound.name,onChange:e=>{s(s=>s.name=e)}}),(0,t.jsx)(A.mc,{title:"Network",hideClose:!0,children:(0,t.jsx)(V,{inbound:e.inbound,onChange:e=>{s(s=>e)}})}),(0,t.jsx)(A.mc,{title:"Transport",hideClose:!0,children:(0,t.jsxs)(t.Fragment,{children:[e.inbound.transport.map((a,r)=>{var l,o;return(0,t.jsx)(A.mc,{title:null!==(o=null===(l=a.transport.case)||void 0===l?void 0:l.toString())&&void 0!==o?o:"",onClose:()=>{s(e=>e.transport.splice(r,1))},moveUpDown:new A.fH(e.inbound.transport.length,r,e=>n(e,r)),children:(0,t.jsx)(z,{transport:a,onChange:e=>{s(s=>s.transport[r]=e)}},r)},r)}),(0,t.jsx)(v.A,{variant:"flush",children:(0,t.jsx)(v.A.Item,{children:(0,t.jsxs)(x.A,{children:[(0,t.jsx)(m.A.Select,{value:a.value,onChange:e=>r({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:()=>s(e=>{switch(a.value){case"normal":e.transport.push((0,b.v)(g.ls,{transport:{case:"normal",value:(0,b.v)(g.Rc,{})}}));break;case"tls":e.transport.push((0,b.v)(g.ls,{transport:{case:"tls",value:(0,b.v)(g.fx,{tls:(0,b.v)(g.Qi,{})})}}));break;case"mux":e.transport.push((0,b.v)(g.ls,{transport:{case:"mux",value:(0,b.v)(g.gE,{})}}));break;case"http2":e.transport.push((0,b.v)(g.ls,{transport:{case:"http2",value:(0,b.v)(g.ql,{})}}));break;case"websocket":e.transport.push((0,b.v)(g.ls,{transport:{case:"websocket",value:(0,b.v)(g.BP,{})}}));break;case"grpc":e.transport.push((0,b.v)(g.ls,{transport:{case:"grpc",value:(0,b.v)(g.E_,{})}}));break;case"reality":e.transport.push((0,b.v)(g.ls,{transport:{case:"reality",value:(0,b.v)(g.K0,{})}}))}}),children:[(0,t.jsx)("i",{className:"bi bi-plus-lg"}),"Add"]})]})})})]})}),(0,t.jsx)(A.mc,{title:"Protocol",hideClose:!0,children:(0,t.jsx)(L,{inbound:e.inbound,onChange:e=>{s(s=>e)}})})]})},V=e=>{var s,n;let a=R(g.Zq,e.inbound,e.onChange),[r,l]=(0,p.useState)({value:null!==(n=null===(s=e.inbound.network.case)||void 0===s?void 0:s.toString())&&void 0!==n?n:"tcpudp"});return(0,p.useEffect)(()=>{l({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)(x.A,{children:[(0,t.jsx)(m.A.Select,{value:r.value,onChange:e=>l({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(r.value){case"tcpudp":e.network={case:"tcpudp",value:(0,b.v)(g.as,{})};break;case"quic":e.network={case:"quic",value:(0,b.v)(g.sn,{})};break;case"empty":e.network={case:"empty",value:(0,b.v)(g.bN,{})}}}),children:"Use"})]})})}),(0,t.jsx)("br",{}),(0,t.jsx)(q,{inbound:e.inbound,onChange:e.onChange})]})},q=e=>{let s=R(g.Zq,e.inbound,e.onChange);switch(e.inbound.network.case){case"tcpudp":return(0,t.jsx)(K,{protocol:e.inbound.network.value,onChange:e=>{s(s=>s.network.value=e)}});case"quic":return(0,t.jsx)(G,{quic:e.inbound.network.value,onChange:e=>{s(s=>s.network.value=e)}});case"empty":return(0,t.jsx)(t.Fragment,{})}},z=e=>{let s=R(g.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)(U,{tls:e.transport.transport.value,onChange:e=>{s(s=>s.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)(W,{reality:e.transport.transport.value,onChange:e=>{s(s=>s.transport.value=e)}})}},Q=e=>{let s=R(g.Zq,e.inbound,e.onChange);switch(e.inbound.protocol.case){case"http":return(0,t.jsx)(k,{http:e.inbound.protocol.value,onChange:e=>{s(s=>s.protocol.value=e)}});case"reverseHttp":return(0,t.jsx)(N,{reverse_http:e.inbound.protocol.value,onChange:e=>{s(s=>s.protocol.value=e)}});case"reverseTcp":return(0,t.jsx)(F,{reverse_tcp:e.inbound.protocol.value,onChange:e=>{s(s=>s.protocol.value=e)}});case"socks5":return(0,t.jsx)(I,{socks5:e.inbound.protocol.value,onChange:e=>{s(s=>s.protocol.value=e)}});case"socks4a":return(0,t.jsx)(t.Fragment,{});case"mix":return(0,t.jsx)(P,{mixed:e.inbound.protocol.value,onChange:e=>{s(s=>s.protocol.value=e)}});case"redir":return(0,t.jsx)(S,{redir:e.inbound.protocol.value,onChange:e=>{s(s=>s.protocol.value=e)}});case"tun":return(0,t.jsx)(H,{tun:e.inbound.protocol.value,onChange:e=>{s(s=>s.protocol.value=e)}});case"yuubinsya":return(0,t.jsx)(T,{yuubinsya:e.inbound.protocol.value,onChange:e=>{s(s=>s.protocol.value=e)}});case"tproxy":return(0,t.jsx)(E,{tproxy:e.inbound.protocol.value,onChange:e=>{s(s=>s.protocol.value=e)}})}},L=e=>{let s=R(g.Zq,e.inbound,e.onChange),[n,a]=(0,p.useState)({value:e.inbound.protocol.case?e.inbound.protocol.case.toString():"yuubinsya"});return(0,p.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)(x.A,{children:[(0,t.jsx)(m.A.Select,{value:n.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:()=>s(e=>{switch(n.value){case"http":e.protocol={case:"http",value:(0,b.v)(g.UM,{})};break;case"reverseHttp":e.protocol={case:"reverseHttp",value:(0,b.v)(g.l0,{})};break;case"reverseTcp":e.protocol={case:"reverseTcp",value:(0,b.v)(g.A0,{})};break;case"socks5":e.protocol={case:"socks5",value:(0,b.v)(g.AK,{})};break;case"mix":e.protocol={case:"mix",value:(0,b.v)(g.JX,{})};break;case"redir":e.protocol={case:"redir",value:(0,b.v)(g.Q9,{})};break;case"tun":e.protocol={case:"tun",value:(0,b.v)(g.vC,{})};break;case"yuubinsya":e.protocol={case:"yuubinsya",value:(0,b.v)(g.lA,{})};break;case"tproxy":e.protocol={case:"tproxy",value:(0,b.v)(g.SL,{})}}}),children:"Use"})]})})}),(0,t.jsx)("br",{}),(0,t.jsx)(Q,{inbound:e.inbound,onChange:e=>{s(s=>e)}})]})},T=e=>{let s=R(g.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:()=>{s(e=>e.tcpEncrypt=!e.tcpEncrypt)}}),(0,t.jsx)(C.$d,{label:"UDP Encrypt",checked:e.yuubinsya.udpEncrypt,onChange:()=>{s(e=>e.udpEncrypt=!e.udpEncrypt)}}),(0,t.jsx)(A.a9,{label:"Password",value:e.yuubinsya.password,onChange:e=>{s(s=>s.password=e)}})]})},K=e=>{let s=R(g.as,e.protocol,e.onChange);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(A.a9,{label:"Host",value:e.protocol.host,onChange:e=>{s(s=>s.host=e)}}),(0,t.jsx)(M,{label:"Control",type:g.JM,value:e.protocol.control,onChange:e=>{s(s=>{s.control=e})}})]})};function M(e){var s;return(0,t.jsxs)(m.A.Group,{as:y.A,className:"mb-3",children:[(0,t.jsx)(m.A.Label,{column:!0,sm:2,children:e.label}),(0,t.jsx)(f.A,{sm:10,children:(0,t.jsx)(m.A.Select,{value:e.value,onChange:s=>e.onChange(Number(s.target.value)),children:e.type.values.filter(null!==(s=e.filter)&&void 0!==s?s:()=>!0).map(e=>(0,t.jsx)("option",{value:e.number,children:e.name},e.number))})})]})}var _=n(1936),J=n(148);let $=e=>{let s=(0,p.useContext)(J.u),{data:n,error:o,isLoading:i,isValidating:h,mutate:v}=(0,a.Ay)(""===e.name?void 0:"/inbound",(0,r.AD)(l.mz.method.get,"POST",(0,b.v)(_.g8,{value:e.name}),e.isNew?(0,b.v)(g.Zq,{name:e.name,enabled:!1}):void 0),{shouldRetryOnError:!1,keepPreviousData:!1,revalidateOnFocus:!1});return(0,p.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||i||!n?(0,t.jsx)(c.A,{}):(0,t.jsx)(Y,{inbound:n,onChange:e=>{v((0,j.o)(g.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,r.kP)(l.mz.method.save,"/inbound","PATCH",n).then(async n=>{let{error:t}=n;if(void 0===t)s.Info("save successful"),e.onHide(!0);else{let e=t.msg;s.Error(e),console.error(t.code,e)}})},children:"Save"})]})]})})},O=function(){let e=(0,p.useContext)(J.u),{data:s,error:n,isLoading:o,mutate:u}=(0,a.Ay)("/inbounds",(0,r.AD)(l.mz.method.list)),[g,j]=(0,p.useState)({show:!1,name:"",new:!1}),[C,A]=(0,p.useState)({value:""});if(void 0!==n)return(0,t.jsx)(i(),{statusCode:n.code,title:n.msg});if(o||void 0===s)return(0,t.jsx)(c.A,{});let y=s=>{(0,r.kP)(l.mz.method.remove,"/inbound","DELETE",(0,b.v)(_.g8,{value:s})).then(async s=>{let{error:n}=s;if(void 0===n)e.Info("remove successful"),u();else{let s=n.msg;e.Error(s),console.error(n.code,s)}})};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)($,{show:g.show,name:g.name,onHide:e=>{e&&u(),j({...g,show:!1})},isNew:g.new}),(0,t.jsxs)(h.A,{children:[0===s.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!==s.names.length&&(0,t.jsx)(v.A,{variant:"flush",children:s.names.sort((e,s)=>e<=s?-1:1).map((e,s)=>(0,t.jsx)(p.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:s=>{s.stopPropagation(),j({show:!0,name:e,new:!1})},children:[e,(0,t.jsx)(d.A,{variant:"outline-danger",size:"sm",as:"span",onClick:s=>{s.stopPropagation(),y(e)},children:(0,t.jsx)("i",{className:"bi bi-x-lg"})},s+"span-button")]})},"inbounds-"+s))}),(0,t.jsx)(h.A.Footer,{children:(0,t.jsxs)(x.A,{className:"d-flex justify-content-end",children:[(0,t.jsx)(m.A.Control,{value:C.value,onChange:e=>A({value:e.target.value})}),(0,t.jsxs)(d.A,{variant:"outline-success",onClick:()=>{!C.value||s.names.includes(C.value)||(g.name===C.value&&g.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 "]})]})})]})]})}},2273:(e,s)=>{"use strict";class n{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,s,n){if(!n&&!this.escapedQuotes.includes(s))return e;let t="["+this.escapes.replace(/(.)/g,"\\$1")+"]";if(!n&&this.escapedQuotes.includes(s)){let n=RegExp(t+"("+t+"|\\"+s+")","g");return e.replace(n,"$1")}if(n){let s={"([\\\\'\"?])":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))},n=RegExp(t+"("+Object.keys(s).join("|")+")","g");return e.replace(n,function(e,n){for(let e in s){let t=RegExp("^"+e+"$").exec(n);if(null!==t)return s[e].apply(null,t.slice(1))}})}}*[Symbol.iterator](){let e,s=!1,n=!1,t=!1,a=-2;for(this.debug&&console.log("full input:",">"+this.string+"<");;){let r=this.i,l=this.readChar();if(this.debug&&console.log("position:",r,"input:",">"+l+"<","accumulated:",e,"inQuote:",s,"inDollarQuote:",n,"lastDollar:",a,"escaped:",t),""===l){if(s)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"===l||(e=s?(e||"")+t+l:(e||"")+l),t=!1;continue}if(this.escapes.includes(l)&&(!s||!1!==n||this.escapedQuotes.includes(s))){t=l;continue}if(!1!==s){if(l===s){e=this.processEscapes(e,s,"'"===n),s=!1,n=!1;continue}e=(e||"")+l;continue}if(this.quotes.includes(l)){s=l,a===r-1&&("'"!==l||this.ansiCQuotes)&&('"'!==l||this.localeQuotes)&&(n=l),e=e||"",!1!==n&&(e=e.slice(0,-1));continue}if(!1===s&&"$"===l&&(a=r),this.whitespace.includes(l)){void 0!==e&&(yield e),e=void 0;continue}e=(e||"")+l}}}s.lD=function(e){return Array.from(new n(e))},s.hD=function(e){return""===e?"''":/[^\w@%\-+=:,./]/.test(e)?("'"+e.replace(/('+)/g,"'\"$1\"'")+"'").replace(/^''|''$/g,""):e},s.fj=function(e){if(!Array.isArray(e))throw TypeError("args should be an array");return e.map(s.hD).join(" ")}},9537:(e,s,n)=>{"use strict";function t(e,s,...n){if(0==n.length)return e.enums[s];let a=n.pop();return n.reduce((e,s)=>e.nestedMessages[s],e.messages[s]).nestedEnums[a]}n.d(s,{R:()=>t})},9678:(e,s,n)=>{"use strict";n.d(s,{i:()=>r,w:()=>l});var t=n(6788),a=n(8123);let r=(0,t.w)("Ch9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvEg9nb29nbGUucHJvdG9idWYiKwoJVGltZXN0YW1wEg8KB3NlY29uZHMYASABKAMSDQoFbmFub3MYAiABKAVChQEKE2NvbS5nb29nbGUucHJvdG9idWZCDlRpbWVzdGFtcFByb3RvUAFaMmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3RpbWVzdGFtcHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),l=(0,a.Z)(r,0)},1936:(e,s,n)=>{"use strict";n.d(s,{Ax:()=>r,g8:()=>l});var t=n(6788),a=n(8123);let r=(0,t.w)("Ch5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIcCgtEb3VibGVWYWx1ZRINCgV2YWx1ZRgBIAEoASIbCgpGbG9hdFZhbHVlEg0KBXZhbHVlGAEgASgCIhsKCkludDY0VmFsdWUSDQoFdmFsdWUYASABKAMiHAoLVUludDY0VmFsdWUSDQoFdmFsdWUYASABKAQiGwoKSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoBSIcCgtVSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoDSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUSDQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDEKDAQoTY29tLmdvb2dsZS5wcm90b2J1ZkINV3JhcHBlcnNQcm90b1ABWjFnb29nbGUuZ29sYW5nLm9yZy9wcm90b2J1Zi90eXBlcy9rbm93bi93cmFwcGVyc3Bi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),l=(0,a.Z)(r,7)}},e=>{var s=s=>e(e.s=s);e.O(0,[295,995,515,920,637,354,734,306,863,441,517,358],()=>s(4784)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/config/inbounds/page-5f8e89c64d0d9e95.js b/_next/static/chunks/app/docs/config/inbounds/page-5f8e89c64d0d9e95.js new file mode 100644 index 00000000..38c7b68a --- /dev/null +++ b/_next/static/chunks/app/docs/config/inbounds/page-5f8e89c64d0d9e95.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))},2859:(e,n,s)=>{"use strict";s.d(n,{$:()=>o});var a=s(5155),t=s(6180),r=s(6121),l=s(3667);let o=e=>{let{label:n,checked:s,onChange:o}=e;return(0,a.jsxs)(t.A.Group,{as:r.A,className:"mb-2",children:[(0,a.jsx)(t.A.Label,{column:!0,sm:2,children:n}),(0,a.jsx)(l.A,{sm:10,className:"d-flex align-items-center",children:(0,a.jsx)(t.A.Check,{className:"d-flex align-items-center",type:"switch",checked:s,onChange:e=>o(e.target.checked)})})]})}},148:(e,n,s)=>{"use strict";s.d(n,{u:()=>o,y:()=>i});var a=s(5155),t=s(2115),r=s(1757),l=s(491);let o=(0,t.createContext)({Info:e=>{},Error:e=>{}}),i=e=>{let{children:n}=e,[s,i]=(0,t.useState)([]),c=(e,n)=>i(s=>[...s,{text:e,type:n}]);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)(r.A,{className:"p-3",position:"top-center",containerPosition:"fixed",style:{zIndex:999999},children:s.map((e,n)=>(0,a.jsxs)(l.A,{role:"alert","aria-live":"assertive",show:!0,bg:e.type,onClose:()=>{i(e=>[...e.slice(0,n),...e.slice(n+1)])},"aria-atomic":"true",delay:4e3,autohide:!0,animation:!0,children:[(0,a.jsxs)(l.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)(l.A.Body,{className:"text-center",children:e.text})]},"toast"+n))}),n]})}},1404:(e,n,s)=>{"use strict";s.r(n),s.d(n,{default:()=>J});var a=s(5155),t=s(3577),r=s(950),l=s(1936),o=s(5554),i=s.n(o),c=s(2115),u=s(0),d=s(2963),h=s(2981),v=s(57),x=s(8003),m=s(6180),g=s(4995),p=s(9169),b=s(8927),j=s(148),C=s(6863),y=s(7641),A=s(6121),f=s(3667),w=s(2859),k=s(7204),N=s(2273);let F=c.memo(e=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(k.a9,{label:"Username",value:e.http.username,onChange:n=>e.onChange({...e.http,username:n})}),(0,a.jsx)(k.a9,{label:"Password",value:e.http.password,onChange:n=>e.onChange({...e.http,password:n})})]})),S=c.memo(e=>(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(k.a9,{label:"Url",value:e.reverse_http.url,onChange:n=>e.onChange({...e.reverse_http,url:n})})})),E=c.memo(e=>(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(k.a9,{label:"Host",value:e.reverse_tcp.host,onChange:n=>e.onChange({...e.reverse_tcp,host:n})})})),I=c.memo(e=>(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(k.a9,{label:"Host",value:e.redir.host,onChange:n=>e.onChange({...e.redir,host:n})})})),H=c.memo(e=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(w.$,{label:"DNS Hijacking",checked:e.tproxy.dnsHijacking,onChange:()=>e.onChange({...e.tproxy,dnsHijacking:!e.tproxy.dnsHijacking})}),(0,a.jsx)(w.$,{label:"Force Fake IP",checked:e.tproxy.forceFakeip,onChange:()=>e.onChange({...e.tproxy,forceFakeip:!e.tproxy.forceFakeip})}),(0,a.jsx)(k.a9,{label:"Host",value:e.tproxy.host,onChange:n=>e.onChange({...e.tproxy,host:n})})]})),P=c.memo(e=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(k.a9,{label:"Username",value:e.socks5.username,onChange:n=>e.onChange({...e.socks5,username:n})}),(0,a.jsx)(k.a9,{label:"Password",value:e.socks5.password,onChange:n=>e.onChange({...e.socks5,password:n})})]})),B=c.memo(e=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(k.a9,{label:"Username",value:e.mixed.username,onChange:n=>e.onChange({...e.mixed,username:n})}),(0,a.jsx)(k.a9,{label:"Password",value:e.mixed.password,onChange:n=>e.onChange({...e.mixed,password:n})})]})),D=c.memo(e=>{var n,s;let[r,l]=(0,c.useState)((0,N.fj)(e.tun.postUp)),[o,i]=(0,c.useState)((0,N.fj)(e.tun.postDown));return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(w.$,{checked:e.tun.skipMulticast,onChange:()=>e.onChange({...e.tun,skipMulticast:!e.tun.skipMulticast}),label:"Skip Multicast"}),(0,a.jsx)(k.a9,{label:"Name",value:e.tun.name,onChange:n=>e.onChange({...e.tun,name:n})}),(0,a.jsx)(k.a9,{label:"MTU",value:e.tun.mtu,onChange:n=>{isNaN(Number(n))||e.onChange({...e.tun,mtu:Number(n)})}}),(0,a.jsx)(k.a9,{label:"IPv4",value:e.tun.portal,onChange:n=>e.onChange({...e.tun,portal:n})}),(0,a.jsx)(k.a9,{label:"IPv6",value:e.tun.portalV6,onChange:n=>e.onChange({...e.tun,portalV6:n})}),(0,a.jsx)(k.a9,{label:"Post Up",value:r,onChange:n=>{l(n);try{let s=(0,N.lD)(n);e.onChange({...e.tun,postUp:s})}catch(e){console.log(e)}}}),(0,a.jsx)(k.a9,{label:"Post Down",value:o,onChange:n=>{i(n);try{let s=(0,N.lD)(n);e.onChange({...e.tun,postDown:s})}catch(e){console.log(e)}}}),(0,a.jsx)(function(e){return(0,a.jsxs)(m.A.Group,{as:A.A,className:"mb-3",children:[(0,a.jsx)(m.A.Label,{column:!0,sm:2,children:e.label}),(0,a.jsx)(f.A,{sm:10,children:(0,a.jsxs)(m.A.Select,{value:y.xz[void 0===e.value||null===e.value?y.xz.fdbased:e.value],onChange:n=>e.onChange(y.xz[n.target.value]),children:[(0,a.jsx)("option",{value:y.xz[y.xz.fdbased],children:"Fdbased"}),(0,a.jsx)("option",{value:y.xz[y.xz.channel],children:"Channel"}),(0,a.jsx)("option",{value:y.xz[y.xz.system_gvisor],children:"System"})]})})]})},{label:"Stack",value:e.tun.driver,onChange:n=>e.onChange({...e.tun,driver:n})}),(0,a.jsx)(k.e9,{title:"Routes",data:null!==(s=null===(n=e.tun.route)||void 0===n?void 0:n.routes)&&void 0!==s?s:[],onChange:n=>{let s={...e.tun};s.route||(s.route=(0,t.v)(y.l,{})),n||(n=[]),s.route&&(s.route.routes=n),e.onChange({...s})}})]})}),G=c.memo(e=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(k.jU,{label:"Cert",value:new TextDecoder().decode(e.cert.cert),onChange:n=>e.onChange({...e.cert,cert:new TextEncoder().encode(n)})}),(0,a.jsx)(k.jU,{label:"Key",value:new TextDecoder().decode(e.cert.key),onChange:n=>e.onChange({...e.cert,key:new TextEncoder().encode(n)})}),(0,a.jsx)(k.a9,{label:"Cert File",value:e.cert.certFilePath,onChange:n=>e.onChange({...e.cert,certFilePath:n})}),(0,a.jsx)(k.a9,{label:"Key File",value:e.cert.keyFilePath,onChange:n=>e.onChange({...e.cert,keyFilePath:n})})]})),U=c.memo(e=>{var n,s;let[r,l]=(0,c.useState)("www.example.com");return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(k.e9,{title:"Next Protos",data:null!==(s=null===(n=e.tls)||void 0===n?void 0:n.nextProtos)&&void 0!==s?s:[],onChange:n=>e.onChange({...e.tls,nextProtos:n})}),e.tls&&e.tls.certificates.map((n,s)=>(0,a.jsx)(h.A,{className:"mb-2",children:(0,a.jsxs)(h.A.Body,{children:[(0,a.jsx)(h.A.Title,{className:"d-flex justify-content-end align-items-center",children:(0,a.jsx)(d.A,{variant:"outline-danger",onClick:()=>e.onChange({...e.tls,certificates:e.tls.certificates.filter((e,n)=>n!==s)}),children:(0,a.jsx)("i",{className:"bi bi-x-lg"})})}),(0,a.jsx)(G,{cert:(0,t.v)(y.f6,n),onChange:n=>{e.onChange({...e.tls,certificates:[...e.tls.certificates.slice(0,s),n,...e.tls.certificates.slice(s+1)]})}})]})},"tls_certificates"+s)),(0,a.jsx)(x.A,{className:"d-flex justify-content-end mb-2",children:(0,a.jsxs)(d.A,{variant:"outline-success",onClick:()=>e.onChange({...e.tls,certificates:[...e.tls.certificates,(0,t.v)(y.f6,{cert:new Uint8Array(0),key:new Uint8Array(0),certFilePath:"",keyFilePath:""})]}),children:[(0,a.jsx)("i",{className:"bi bi-plus-lg"}),"New Certificate"]})}),e.tls&&e.tls.serverNameCertificate&&Object.entries(e.tls.serverNameCertificate).map(n=>{let[s,r]=n;return(0,a.jsx)(h.A,{className:"mb-2",children:(0,a.jsxs)(h.A.Body,{children:[(0,a.jsxs)(h.A.Title,{className:"d-flex justify-content-between align-items-center",children:[s,(0,a.jsx)(d.A,{variant:"outline-danger",onClick:()=>{let n={...e.tls.serverNameCertificate};delete n[s],e.onChange({...e.tls,serverNameCertificate:n})},children:(0,a.jsx)("i",{className:"bi bi-x-lg"})})]}),(0,a.jsx)(G,{cert:(0,t.v)(y.f6,r),onChange:n=>{e.onChange({...e.tls,serverNameCertificate:{...e.tls.serverNameCertificate,[s]:n}})}})]})},"server_name_certificate"+s)}),(0,a.jsxs)(x.A,{className:"d-flex justify-content-end",children:[(0,a.jsx)(m.A.Control,{value:r,onChange:e=>l(e.target.value)}),(0,a.jsxs)(d.A,{variant:"outline-success",onClick:()=>{r&&e.onChange({...e.tls,serverNameCertificate:{...e.tls.serverNameCertificate,[r]:(0,t.v)(y.f6,{})}})},children:[(0,a.jsx)("i",{className:"bi bi-plus-lg"}),"New SNI Certificate"]})]})]})}),W=c.memo(e=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(k.a9,{label:"Host",onChange:n=>e.onChange({...e.quic,host:n}),value:e.quic.host}),e.quic.tls&&(0,a.jsx)(U,{tls:(0,t.v)(y.Qi,null!==e.quic.tls?e.quic.tls:void 0),onChange:n=>e.onChange({...e.quic,tls:n})})]})),R=c.memo(e=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(k.a9,{plaintext:!0,label:"Protocol",value:"TLS"}),e.tls.tls&&(0,a.jsx)(U,{tls:(0,t.v)(y.Qi,e.tls.tls),onChange:n=>e.onChange({...e.tls,tls:n})})]})),Z=c.memo(e=>{let[n,s]=(0,c.useState)({value:""}),[t,r]=(0,c.useState)({value:""});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(k.a9,{plaintext:!0,label:"Protocol",value:"Reality"}),(0,a.jsx)(k.a9,{label:"Dest",value:e.reality.dest,onChange:n=>e.onChange({...e.reality,dest:n})}),(0,a.jsx)(k.a9,{label:"Private Key",value:e.reality.privateKey,onChange:n=>e.onChange({...e.reality,privateKey:n})}),(0,a.jsxs)(m.A.Group,{as:A.A,className:"mb-3",children:[(0,a.jsx)(m.A.Label,{column:!0,sm:2,className:"nowrap",children:"Short ID"}),e.reality.shortId.map((n,s)=>(0,a.jsx)(f.A,{sm:{span:10,offset:0!==s?2:0},children:(0,a.jsxs)(x.A,{className:"mb-2",children:[(0,a.jsx)(m.A.Control,{value:n,onChange:n=>e.onChange({...e.reality,shortId:[...e.reality.shortId.slice(0,s),n.target.value,...e.reality.shortId.slice(s+1)]})}),(0,a.jsx)(d.A,{variant:"outline-danger",onClick:()=>e.onChange({...e.reality,shortId:[...e.reality.shortId.slice(0,s),...e.reality.shortId.slice(s+1)]}),children:(0,a.jsx)("i",{className:"bi bi-x-lg"})})]})},s)),(0,a.jsx)(f.A,{sm:{span:10,offset:0!==e.reality.shortId.length?2:0},children:(0,a.jsxs)(x.A,{className:"mb-2",children:[(0,a.jsx)(m.A.Control,{value:n.value,onChange:e=>s({value:e.target.value})}),(0,a.jsx)(d.A,{variant:"outline-success",onClick:()=>e.onChange({...e.reality,shortId:[...e.reality.shortId,n.value]}),children:(0,a.jsx)("i",{className:"bi bi-plus-lg"})})]})})]}),(0,a.jsxs)(m.A.Group,{as:A.A,className:"mb-3",children:[(0,a.jsx)(m.A.Label,{column:!0,sm:2,className:"nowrap",children:"Server Name"}),e.reality.serverName.map((n,s)=>(0,a.jsx)(f.A,{sm:{span:10,offset:0!==s?2:0},children:(0,a.jsxs)(x.A,{className:"mb-2",children:[(0,a.jsx)(m.A.Control,{value:n,onChange:n=>e.onChange({...e.reality,serverName:[...e.reality.serverName.slice(0,s),n.target.value,...e.reality.serverName.slice(s+1)]})}),(0,a.jsx)(d.A,{variant:"outline-danger",onClick:()=>e.onChange({...e.reality,serverName:[...e.reality.serverName.slice(0,s),...e.reality.serverName.slice(s+1)]}),children:(0,a.jsx)("i",{className:"bi bi-x-lg"})})]})},s)),(0,a.jsx)(f.A,{sm:{span:10,offset:0!==e.reality.serverName.length?2:0},children:(0,a.jsxs)(x.A,{className:"mb-2",children:[(0,a.jsx)(m.A.Control,{value:t.value,onChange:e=>r({value:e.target.value})}),(0,a.jsx)(d.A,{variant:"outline-success",onClick:()=>e.onChange({...e.reality,serverName:[...e.reality.serverName,t.value]}),children:(0,a.jsx)("i",{className:"bi bi-plus-lg"})})]})})]})]})}),Y=e=>{let[n,s]=(0,c.useState)({value:"normal"});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(w.$,{label:"Enabled",checked:e.inbound.enabled,onChange:()=>{e.onChange({...e.inbound,enabled:!e.inbound.enabled})}}),(0,a.jsx)(k.a9,{label:"Name",value:e.inbound.name,onChange:n=>{e.onChange({...e.inbound,name:n})}}),(0,a.jsx)(k.mc,{title:"Network",hideClose:!0,children:(0,a.jsx)(V,{inbound:e.inbound,onChange:n=>{e.onChange({...n})}})}),(0,a.jsx)(k.mc,{title:"Transport",hideClose:!0,children:(0,a.jsxs)(a.Fragment,{children:[e.inbound.transport.map((n,s)=>{var t,r;return(0,a.jsx)(k.mc,{title:null!==(r=null===(t=n.transport.case)||void 0===t?void 0:t.toString())&&void 0!==r?r:"",onClose:()=>{e.onChange({...e.inbound,transport:[...e.inbound.transport.slice(0,s),...e.inbound.transport.slice(s+1)]})},moveUpDown:new k.fH(e.inbound.transport,s,n=>e.onChange({...e.inbound,transport:n})),children:(0,a.jsx)(Q,{transport:n,onChange:n=>{e.onChange({...e.inbound,transport:[...e.inbound.transport.slice(0,s),n,...e.inbound.transport.slice(s+1)]})}},s)},s)}),(0,a.jsx)(v.A,{variant:"flush",children:(0,a.jsx)(v.A.Item,{children:(0,a.jsxs)(x.A,{children:[(0,a.jsx)(m.A.Select,{value:n.value,onChange:e=>s({value:e.target.value}),children:["normal","tls","mux","http2","websocket","grpc","reality"].map(e=>(0,a.jsx)("option",{value:e,children:e},e))}),(0,a.jsxs)(d.A,{variant:"outline-success",onClick:()=>{let s={...e.inbound};switch(n.value){case"normal":s.transport.push((0,t.v)(y.ls,{transport:{case:"normal",value:(0,t.v)(y.Rc,{})}}));break;case"tls":s.transport.push((0,t.v)(y.ls,{transport:{case:"tls",value:(0,t.v)(y.fx,{tls:(0,t.v)(y.Qi,{})})}}));break;case"mux":s.transport.push((0,t.v)(y.ls,{transport:{case:"mux",value:(0,t.v)(y.gE,{})}}));break;case"http2":s.transport.push((0,t.v)(y.ls,{transport:{case:"http2",value:(0,t.v)(y.ql,{})}}));break;case"websocket":s.transport.push((0,t.v)(y.ls,{transport:{case:"websocket",value:(0,t.v)(y.BP,{})}}));break;case"grpc":s.transport.push((0,t.v)(y.ls,{transport:{case:"grpc",value:(0,t.v)(y.E_,{})}}));break;case"reality":s.transport.push((0,t.v)(y.ls,{transport:{case:"reality",value:(0,t.v)(y.K0,{})}}))}e.onChange(s)},children:[(0,a.jsx)("i",{className:"bi bi-plus-lg"}),"Add"]})]})})})]})}),(0,a.jsx)(k.mc,{title:"Protocol",hideClose:!0,children:(0,a.jsx)(T,{inbound:e.inbound,onChange:n=>{e.onChange({...n})}})})]})},V=e=>{var n,s;let[r,l]=(0,c.useState)({value:null!==(s=null===(n=e.inbound.network.case)||void 0===n?void 0:n.toString())&&void 0!==s?s:"tcpudp"});return(0,c.useEffect)(()=>{l({value:e.inbound.network.case?e.inbound.network.case.toString():"tcpudp"})},[e.inbound]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v.A,{variant:"flush",children:(0,a.jsx)(v.A.Item,{children:(0,a.jsxs)(x.A,{children:[(0,a.jsx)(m.A.Select,{value:r.value,onChange:e=>l({value:e.target.value}),children:["empty","tcpudp","quic"].map(e=>(0,a.jsx)("option",{value:e,children:e},e))}),(0,a.jsx)(d.A,{variant:"outline-success",onClick:()=>{let n={...e.inbound};switch(r.value){case"tcpudp":n.network={case:"tcpudp",value:(0,t.v)(y.as,{})};break;case"quic":n.network={case:"quic",value:(0,t.v)(y.sn,{})};break;case"empty":n.network={case:"empty",value:(0,t.v)(y.bN,{})}}e.onChange({...n})},children:"Use"})]})})}),(0,a.jsx)("br",{}),(0,a.jsx)(z,{inbound:e.inbound,onChange:e.onChange})]})},z=e=>{switch(e.inbound.network.case){case"tcpudp":return(0,a.jsx)(K,{protocol:e.inbound.network.value,onChange:n=>{e.onChange({...e.inbound,network:{case:"tcpudp",value:n}})}});case"quic":return(0,a.jsx)(W,{quic:e.inbound.network.value,onChange:n=>{e.onChange({...e.inbound,network:{case:"quic",value:n}})}});case"empty":return(0,a.jsx)(a.Fragment,{})}},Q=e=>{switch(e.transport.transport.case){case"normal":return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"text-center",style:{opacity:"0.4"},children:"Normal"})});case"tls":return(0,a.jsx)(R,{tls:e.transport.transport.value,onChange:n=>{e.onChange({...e.transport,transport:{case:"tls",value:n}})}});case"mux":return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"text-center",style:{opacity:"0.4"},children:"Mux"})});case"http2":return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"text-center",style:{opacity:"0.4"},children:"HTTP2"})});case"websocket":return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"text-center",style:{opacity:"0.4"},children:"Websocket"})});case"grpc":return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"text-center",style:{opacity:"0.4"},children:"Grpc"})});case"reality":return(0,a.jsx)(Z,{reality:e.transport.transport.value,onChange:n=>{e.onChange({...e.transport,transport:{case:"reality",value:n}})}})}},L=e=>{switch(e.inbound.protocol.case){case"http":return(0,a.jsx)(F,{http:e.inbound.protocol.value,onChange:n=>{e.onChange({...e.inbound,protocol:{case:"http",value:n}})}});case"reverseHttp":return(0,a.jsx)(S,{reverse_http:e.inbound.protocol.value,onChange:n=>{e.onChange({...e.inbound,protocol:{case:"reverseHttp",value:n}})}});case"reverseTcp":return(0,a.jsx)(E,{reverse_tcp:e.inbound.protocol.value,onChange:n=>{e.onChange({...e.inbound,protocol:{case:"reverseTcp",value:n}})}});case"socks5":return(0,a.jsx)(P,{socks5:e.inbound.protocol.value,onChange:n=>{e.onChange({...e.inbound,protocol:{case:"socks5",value:n}})}});case"socks4a":return(0,a.jsx)(a.Fragment,{});case"mix":return(0,a.jsx)(B,{mixed:e.inbound.protocol.value,onChange:n=>{e.onChange({...e.inbound,protocol:{case:"mix",value:n}})}});case"redir":return(0,a.jsx)(I,{redir:e.inbound.protocol.value,onChange:n=>{e.onChange({...e.inbound,protocol:{case:"redir",value:n}})}});case"tun":return(0,a.jsx)(D,{tun:e.inbound.protocol.value,onChange:n=>{e.onChange({...e.inbound,protocol:{case:"tun",value:n}})}});case"yuubinsya":return(0,a.jsx)(q,{yuubinsya:e.inbound.protocol.value,onChange:n=>{e.onChange({...e.inbound,protocol:{case:"yuubinsya",value:n}})}});case"tproxy":return(0,a.jsx)(H,{tproxy:e.inbound.protocol.value,onChange:n=>{e.onChange({...e.inbound,protocol:{case:"tproxy",value:n}})}})}},T=e=>{let[n,s]=(0,c.useState)({value:e.inbound.protocol.case?e.inbound.protocol.case.toString():"yuubinsya"});return(0,c.useEffect)(()=>{s({value:e.inbound.protocol.case?e.inbound.protocol.case.toString():"yuubinsya"})},[e.inbound]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v.A,{variant:"flush",children:(0,a.jsx)(v.A.Item,{children:(0,a.jsxs)(x.A,{children:[(0,a.jsx)(m.A.Select,{value:n.value,onChange:e=>s({value:e.target.value}),children:["http","reverseHttp","reverseTcp","socks5","mix","redir","tun","yuubinsya","tproxy"].map(e=>(0,a.jsx)("option",{value:e,children:e},e))}),(0,a.jsx)(d.A,{variant:"outline-success",onClick:()=>{let s={...e.inbound};switch(n.value){case"http":s.protocol={case:"http",value:(0,t.v)(y.UM,{})};break;case"reverseHttp":s.protocol={case:"reverseHttp",value:(0,t.v)(y.l0,{})};break;case"reverseTcp":s.protocol={case:"reverseTcp",value:(0,t.v)(y.A0,{})};break;case"socks5":s.protocol={case:"socks5",value:(0,t.v)(y.AK,{})};break;case"mix":s.protocol={case:"mix",value:(0,t.v)(y.JX,{})};break;case"redir":s.protocol={case:"redir",value:(0,t.v)(y.Q9,{})};break;case"tun":s.protocol={case:"tun",value:(0,t.v)(y.vC,{})};break;case"yuubinsya":s.protocol={case:"yuubinsya",value:(0,t.v)(y.lA,{})};break;case"tproxy":s.protocol={case:"tproxy",value:(0,t.v)(y.SL,{})}}e.onChange({...s})},children:"Use"})]})})}),(0,a.jsx)("br",{}),(0,a.jsx)(L,{inbound:e.inbound,onChange:n=>{e.onChange({...n})}})]})},q=e=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(w.$,{label:"TCP Encrypt",checked:e.yuubinsya.tcpEncrypt,onChange:()=>{e.onChange({...e.yuubinsya,tcpEncrypt:!e.yuubinsya.tcpEncrypt})}}),(0,a.jsx)(w.$,{label:"UDP Encrypt",checked:e.yuubinsya.udpEncrypt,onChange:()=>{e.onChange({...e.yuubinsya,udpEncrypt:!e.yuubinsya.udpEncrypt})}}),(0,a.jsx)(k.a9,{label:"Password",value:e.yuubinsya.password,onChange:n=>{e.onChange({...e.yuubinsya,password:n})}})]}),K=e=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(k.a9,{label:"Host",value:e.protocol.host,onChange:n=>{e.onChange({...e.protocol,host:n})}}),(0,a.jsx)(M,{label:"Control",type:y.JM,value:e.protocol.control,onChange:n=>{e.onChange({...e.protocol,control:n})}})]});function M(e){var n;return(0,a.jsxs)(m.A.Group,{as:A.A,className:"mb-3",children:[(0,a.jsx)(m.A.Label,{column:!0,sm:2,children:e.label}),(0,a.jsx)(f.A,{sm:10,children:(0,a.jsx)(m.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,a.jsx)("option",{value:e.number,children:e.name},e.number))})})]})}let _=e=>{let n=(0,c.useContext)(j.u),{data:s,error:o,isLoading:i,isValidating:h,mutate:v}=(0,g.Ay)(""===e.name?void 0:"/inbound",(0,b.AD)(C.mz.method.get,"POST",(0,t.v)(l.g8,{value:e.name}),e.isNew?(0,t.v)(y.Zq,{name:e.name,enabled:!1}):void 0),{shouldRetryOnError:!1,keepPreviousData:!1,revalidateOnFocus:!1});return(0,c.useEffect)(()=>{v()},[e.name,e.isNew]),(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(u.A,{show:e.show,scrollable:!0,"aria-labelledby":"contained-modal-title-vcenter",size:"xl",onHide:()=>{e.onHide()},centered:!0,children:[(0,a.jsx)(u.A.Header,{children:(0,a.jsx)(u.A.Title,{id:"contained-modal-title-vcenter",children:e.name})}),(0,a.jsx)(u.A.Body,{children:o?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("h4",{className:"text-center my-2",children:[o.code," - ",o.msg]}),(0,a.jsx)("pre",{className:"text-center my-2 text-danger lead",children:o.raw})]}):h||i||!s?(0,a.jsx)(p.A,{}):(0,a.jsx)(Y,{inbound:s,onChange:e=>{v((0,r.o)(y.Zq,e),!1)}})}),(0,a.jsxs)(u.A.Footer,{children:[(0,a.jsx)(d.A,{variant:"outline-secondary",onClick:()=>{e.onHide()},children:"Close"}),(0,a.jsx)(d.A,{variant:"outline-primary",onClick:()=>{(0,b.kP)(C.mz.method.save,"/inbound","PATCH",s).then(async s=>{let{error:a}=s;if(void 0===a)n.Info("save successful"),e.onHide(!0);else{let e=a.msg;n.Error(e),console.error(a.code,e)}})},children:"Save"})]})]})})},J=function(){let e=(0,c.useContext)(j.u),{data:n,error:s,isLoading:r,mutate:o}=(0,g.Ay)("/inbounds",(0,b.AD)(C.mz.method.list)),[u,y]=(0,c.useState)({show:!1,name:"",new:!1}),[A,f]=(0,c.useState)({value:""});if(void 0!==s)return(0,a.jsx)(i(),{statusCode:s.code,title:s.msg});if(r||void 0===n)return(0,a.jsx)(p.A,{});let w=n=>{(0,b.kP)(C.mz.method.remove,"/inbound","DELETE",(0,t.v)(l.g8,{value:n})).then(async n=>{let{error:s}=n;if(void 0===s)e.Info("remove successful"),o();else{let n=s.msg;e.Error(n),console.error(s.code,n)}})};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(_,{show:u.show,name:u.name,onHide:e=>{e&&o(),y({...u,show:!1})},isNew:u.new}),(0,a.jsxs)(h.A,{children:[0===n.names.length&&(0,a.jsxs)(h.A.Body,{children:[(0,a.jsx)("div",{className:"text-center my-2",style:{opacity:"0.4"},children:"No Inbounds"})," "]}),0!==n.names.length&&(0,a.jsx)(v.A,{variant:"flush",children:n.names.sort((e,n)=>e<=n?-1:1).map((e,n)=>(0,a.jsx)(c.Fragment,{children:(0,a.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(),y({show:!0,name:e,new:!1})},children:[e,(0,a.jsx)(d.A,{variant:"outline-danger",size:"sm",as:"span",onClick:n=>{n.stopPropagation(),w(e)},children:(0,a.jsx)("i",{className:"bi bi-x-lg"})},n+"span-button")]})},"inbounds-"+n))}),(0,a.jsx)(h.A.Footer,{children:(0,a.jsxs)(x.A,{className:"d-flex justify-content-end",children:[(0,a.jsx)(m.A.Control,{value:A.value,onChange:e=>f({value:e.target.value})}),(0,a.jsxs)(d.A,{variant:"outline-success",onClick:()=>{!A.value||n.names.includes(A.value)||(u.name===A.value&&u.new?y(e=>({...e,show:!0})):y({show:!0,name:A.value,new:!0}))},children:[(0,a.jsx)("i",{className:"bi bi-plus-lg"}),"New "]})]})})]})]})}},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 a="["+this.escapes.replace(/(.)/g,"\\$1")+"]";if(!s&&this.escapedQuotes.includes(n)){let s=RegExp(a+"("+a+"|\\"+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(a+"("+Object.keys(n).join("|")+")","g");return e.replace(s,function(e,s){for(let e in n){let a=RegExp("^"+e+"$").exec(s);if(null!==a)return n[e].apply(null,a.slice(1))}})}}*[Symbol.iterator](){let e,n=!1,s=!1,a=!1,t=-2;for(this.debug&&console.log("full input:",">"+this.string+"<");;){let r=this.i,l=this.readChar();if(this.debug&&console.log("position:",r,"input:",">"+l+"<","accumulated:",e,"inQuote:",n,"inDollarQuote:",s,"lastDollar:",t,"escaped:",a),""===l){if(n)throw Error("Got EOF while in a quoted string");if(a)throw Error("Got EOF while in an escape sequence");void 0!==e&&(yield e);return}if(a){"\n"===l||(e=n?(e||"")+a+l:(e||"")+l),a=!1;continue}if(this.escapes.includes(l)&&(!n||!1!==s||this.escapedQuotes.includes(n))){a=l;continue}if(!1!==n){if(l===n){e=this.processEscapes(e,n,"'"===s),n=!1,s=!1;continue}e=(e||"")+l;continue}if(this.quotes.includes(l)){n=l,t===r-1&&("'"!==l||this.ansiCQuotes)&&('"'!==l||this.localeQuotes)&&(s=l),e=e||"",!1!==s&&(e=e.slice(0,-1));continue}if(!1===n&&"$"===l&&(t=r),this.whitespace.includes(l)){void 0!==e&&(yield e),e=void 0;continue}e=(e||"")+l}}}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 a(e,n,...s){if(0==s.length)return e.enums[n];let t=s.pop();return s.reduce((e,n)=>e.nestedMessages[n],e.messages[n]).nestedEnums[t]}s.d(n,{R:()=>a})},9678:(e,n,s)=>{"use strict";s.d(n,{i:()=>r,w:()=>l});var a=s(6788),t=s(8123);let r=(0,a.w)("Ch9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvEg9nb29nbGUucHJvdG9idWYiKwoJVGltZXN0YW1wEg8KB3NlY29uZHMYASABKAMSDQoFbmFub3MYAiABKAVChQEKE2NvbS5nb29nbGUucHJvdG9idWZCDlRpbWVzdGFtcFByb3RvUAFaMmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3RpbWVzdGFtcHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),l=(0,t.Z)(r,0)},1936:(e,n,s)=>{"use strict";s.d(n,{Ax:()=>r,g8:()=>l});var a=s(6788),t=s(8123);let r=(0,a.w)("Ch5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIcCgtEb3VibGVWYWx1ZRINCgV2YWx1ZRgBIAEoASIbCgpGbG9hdFZhbHVlEg0KBXZhbHVlGAEgASgCIhsKCkludDY0VmFsdWUSDQoFdmFsdWUYASABKAMiHAoLVUludDY0VmFsdWUSDQoFdmFsdWUYASABKAQiGwoKSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoBSIcCgtVSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoDSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUSDQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDEKDAQoTY29tLmdvb2dsZS5wcm90b2J1ZkINV3JhcHBlcnNQcm90b1ABWjFnb29nbGUuZ29sYW5nLm9yZy9wcm90b2J1Zi90eXBlcy9rbm93bi93cmFwcGVyc3Bi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),l=(0,t.Z)(r,7)}},e=>{var n=n=>e(e.s=n);e.O(0,[295,375,515,920,637,354,190,922,863,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-30588aca839ea681.js b/_next/static/chunks/app/docs/config/page-30588aca839ea681.js deleted file mode 100644 index eae1cd53..00000000 --- a/_next/static/chunks/app/docs/config/page-30588aca839ea681.js +++ /dev/null @@ -1 +0,0 @@ -(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,f,C,y,N,k,S,I,F,P;let[R,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!==(f=null===(l=e.data.local)||void 0===l?void 0:l.host)&&void 0!==f?f:"",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!==(y=null===(o=e.data.local)||void 0===o?void 0:o.tlsServername)&&void 0!==y?y:"",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!==(P=null===(A=e.data.bootstrap)||void 0===A?void 0:A.tlsServername)&&void 0!==P?P:"",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:R.key,onChange:e=>w({...R,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:R.value,onChange:e=>w({...R,value:e.target.value})}),(0,n.jsx)(h.A,{variant:"outline-success",onClick:()=>{""!==R.key&&void 0===e.data.hosts[R.key]&&W(e=>e.hosts[R.key]=R.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),f=a(148),C=a(4995),y=a(8927),N=a(5554),k=a.n(N),S=a(878),I=a(6496),F=a(4431),P=a(950),R=a(3577),w=a(7641),W=a(6863);let D=function(){var e,l,a,m,p,N,F,D;let L=(0,s.useContext)(f.u),{data:G,error:E,isLoading:O,mutate:H}=(0,C.Ay)("/config",(0,y.AD)(W.hF.method.load),{revalidateOnFocus:!1}),{data:T}=(0,C.Ay)((null==G?void 0:null===(e=G.platform)||void 0===e?void 0:e.androidApp)?null:"/interfaces",(0,y.AD)(I.Yl.method.get_interface),{revalidateOnFocus:!0});if(void 0!==E)return(0,n.jsx)(k(),{statusCode:E.code,title:E.msg});if(O||void 0===G)return(0,n.jsx)(A.A,{});let Y=e=>{H(l=>{let a=(0,P.o)(S.QN,l);return e(a),a},!1)},B=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:()=>H((0,R.v)(S.QN,{...G,ipv6:!G.ipv6}),!1)}),(0,n.jsx)(x.a9,{label:"Network Interface",value:G.netInterface,onChange:e=>Y(l=>l.netInterface=e),reminds:null==T?void 0:T.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:B(G),value:B(G),onChange:e=>{let l=!1,a=!1;for(var n of e)1===n&&(l=!0),2===n&&(a=!0);Y(e=>{e.systemProxy=(0,R.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:()=>Y(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:()=>Y(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:()=>Y(e=>{var l;return e.server.sniff=(0,R.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:()=>Y(e=>e.logcat.save=!e.logcat.save)}),(0,n.jsx)(Z,{label:"Level",value:G.logcat.level,onChange:e=>Y(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,R.v)(b.ct,G.dns),onChange:e=>Y(l=>l.dns=(0,P.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,y.kP)(W.hF.method.save,"/config","POST",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"),H())})},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,{Yl:()=>i});var n=a(6788),s=a(4395),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,[295,995,515,920,637,347,306,863,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-fb8b19cec5ea0e60.js b/_next/static/chunks/app/docs/config/page-fb8b19cec5ea0e60.js new file mode 100644 index 00000000..9958a391 --- /dev/null +++ b/_next/static/chunks/app/docs/config/page-fb8b19cec5ea0e60.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[779],{6381:(e,a,l)=>{Promise.resolve().then(l.bind(l,493))},7294:(e,a,l)=>{"use strict";l.d(a,{R:()=>h,O:()=>v});var n=l(2115),s=l(4995),t=l(6788),r=l(4395),i=l(9297);let o=(0,t.w)("ChF0b29scy90b29scy5wcm90bxINeXVoYWlpbi50b29scyI6CgpJbnRlcmZhY2VzEiwKCmludGVyZmFjZXMYASADKAsyGC55dWhhaWluLnRvb2xzLkludGVyZmFjZSIsCglJbnRlcmZhY2USDAoEbmFtZRgBIAEoCRIRCglhZGRyZXNzZXMYAiADKAkySwoFdG9vbHMSQgoNZ2V0X2ludGVyZmFjZRIWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRoZLnl1aGFpaW4udG9vbHMuSW50ZXJmYWNlc0IvWi1naXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3MvdG9vbHNiBnByb3RvMw",[i.t]),c=(0,r.Z)(o,0);var d=l(8927);let v=(0,n.createContext)([]);function h(){let{data:e}=(0,s.Ay)("/interfaces",(0,d.AD)(c.method.get_interface),{revalidateOnFocus:!1});return e?e.interfaces:[]}},2859:(e,a,l)=>{"use strict";l.d(a,{$:()=>i});var n=l(5155),s=l(6180),t=l(6121),r=l(3667);let i=e=>{let{label:a,checked:l,onChange:i}=e;return(0,n.jsxs)(s.A.Group,{as:t.A,className:"mb-2",children:[(0,n.jsx)(s.A.Label,{column:!0,sm:2,children:a}),(0,n.jsx)(r.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:l,onChange:e=>i(e.target.checked)})})]})}},148:(e,a,l)=>{"use strict";l.d(a,{u:()=>i,y:()=>o});var n=l(5155),s=l(2115),t=l(1757),r=l(491);let i=(0,s.createContext)({Info:e=>{},Error:e=>{}}),o=e=>{let{children:a}=e,[l,o]=(0,s.useState)([]),c=(e,a)=>o(l=>[...l,{text:e,type:a}]);return(0,n.jsxs)(i.Provider,{value:{Info:e=>{console.log(e),c(e,"success")},Error:e=>{console.error(e),c(e,"danger")}},children:[(0,n.jsx)(t.A,{className:"p-3",position:"top-center",containerPosition:"fixed",style:{zIndex:999999},children:l.map((e,a)=>(0,n.jsxs)(r.A,{role:"alert","aria-live":"assertive",show:!0,bg:e.type,onClose:()=>{o(e=>[...e.slice(0,a),...e.slice(a+1)])},"aria-atomic":"true",delay:4e3,autohide:!0,animation:!0,children:[(0,n.jsxs)(r.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)(r.A.Body,{className:"text-center",children:e.text})]},"toast"+a))}),a]})}},493:(e,a,l)=>{"use strict";l.r(a),l.d(a,{default:()=>W});var n=l(5155),s=l(3577),t=l(5554),r=l.n(t),i=l(2115),o=l(7471),c=l(2981),d=l(3360),v=l(6180),h=l(6121),u=l(3667),x=l(5166),m=l(8627),j=l(2963),g=l(4995),b=l(7294),A=l(9169),C=l(8927),p=l(2859),f=l(148),y=l(878),k=l(1463),N=l(6863),S=l(4431),R=l(7204),I=l(8003);let F=e=>{let{title:a,value:l,onChange:s}=e;return(0,n.jsx)(R.mc,{title:a,hideClose:!0,children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(R.a9,{label:"Host",value:l.host,onChange:e=>s({...l,host:e})}),(0,n.jsx)(P,{label:"Type",value:l.type,onChange:e=>s({...l,type:e})}),(0,n.jsx)(R.a9,{label:"Subnet",value:l.subnet,onChange:e=>s({...l,subnet:e})}),(0,n.jsx)(R.a9,{label:"SNI",value:l.tlsServername,onChange:e=>s({...l,tlsServername:e})})]})})};function P(e){var a;return(0,n.jsxs)(v.A.Group,{as:h.A,className:"mb-3",children:[(0,n.jsx)(v.A.Label,{column:!0,sm:2,children:e.label}),(0,n.jsx)(u.A,{sm:10,children:(0,n.jsx)(v.A.Select,{value:k.NW[null!==(a=e.value)&&void 0!==a?a:k.NW.udp],onChange:a=>e.onChange(k.NW[a.target.value]),children:k.m9.values.filter(e=>0!==e.number).map(e=>(0,n.jsx)("option",{value:k.NW[e.number],children:e.name},e.number))})})]})}let w=e=>{var a,l,t;let[r,o]=(0,i.useState)({key:"",value:""});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(R.a9,{label:"Server",value:e.value.server,onChange:a=>e.onChange({...e.value,server:a})}),(0,n.jsx)(R.mc,{title:"FakeDNS",hideClose:!0,children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(p.$,{label:"Enabled",checked:e.value.fakedns,onChange:()=>e.onChange({...e.value,fakedns:!e.value.fakedns})}),(0,n.jsx)(R.a9,{label:"IPv4 Range",value:e.value.fakednsIpRange,onChange:a=>e.onChange({...e.value,fakednsIpRange:a})}),(0,n.jsx)(R.a9,{label:"IPv6 Range",value:e.value.fakednsIpv6Range,onChange:a=>e.onChange({...e.value,fakednsIpv6Range:a})}),(0,n.jsx)(R.e9,{title:"Whitelist",data:e.value.fakednsWhitelist,onChange:a=>e.onChange({...e.value,fakednsWhitelist:a})})]})}),(0,n.jsx)(F,{title:"Local DNS",value:null!==(a=e.value.local)&&void 0!==a?a:(0,s.v)(k.Rx,{}),onChange:a=>e.onChange({...e.value,local:a})}),(0,n.jsx)(F,{title:"Remote DNS",value:null!==(l=e.value.remote)&&void 0!==l?l:(0,s.v)(k.Rx,{}),onChange:a=>e.onChange({...e.value,remote:a})}),(0,n.jsx)(F,{title:"Bootstrap DNS",value:null!==(t=e.value.bootstrap)&&void 0!==t?t:(0,s.v)(k.Rx,{}),onChange:a=>e.onChange({...e.value,bootstrap:a})}),(0,n.jsx)(R.mc,{title:"Hosts",hideClose:!0,children:(0,n.jsxs)(n.Fragment,{children:[Object.entries(e.value.hosts).sort((e,a)=>{let[l]=e,[n]=a;return l>n?-1:1}).map(a=>{let[l,s]=a;return(0,n.jsxs)(I.A,{className:"mb-2",children:[(0,n.jsx)(v.A.Control,{readOnly:!0,value:l}),(0,n.jsx)(I.A.Text,{children:(0,n.jsx)("i",{className:"bi bi-arrow-right"})}),(0,n.jsx)(v.A.Control,{value:s,onChange:a=>e.onChange({...e.value,hosts:{...e.value.hosts,[l]:a.target.value}})}),(0,n.jsx)(j.A,{variant:"outline-danger",onClick:()=>{let a={...e.value.hosts};delete a[l],e.onChange({...e.value,hosts:a})},children:(0,n.jsx)("i",{className:"bi bi-x-lg"})})]},"hosts"+l)}),(0,n.jsxs)(I.A,{className:"mb-2",children:[(0,n.jsx)(v.A.Control,{value:r.key,onChange:e=>o({...r,key:e.target.value})}),(0,n.jsx)(I.A.Text,{children:(0,n.jsx)("i",{className:"bi bi-arrow-right"})}),(0,n.jsx)(v.A.Control,{value:r.value,onChange:e=>o({...r,value:e.target.value})}),(0,n.jsx)(j.A,{variant:"outline-success",onClick:()=>{""!==r.key&&void 0===e.value.hosts[r.key]&&e.onChange({...e.value,hosts:{...e.value.hosts,[r.key]:r.value}})},children:(0,n.jsx)("i",{className:"bi bi-plus-lg"})})]})]})})]})},W=function(){var e,a,l,t,S,I,F;let P=(0,i.useContext)(f.u),{data:W,error:Z,isLoading:L,mutate:G}=(0,g.Ay)("/config",(0,C.AD)(N.hF.method.load),{revalidateOnFocus:!1}),E=(0,b.R)();if(void 0!==Z)return(0,n.jsx)(r(),{statusCode:Z.code,title:Z.msg});if(L||void 0===W)return(0,n.jsx)(A.A,{});let O=e=>{var a,l,n=[];return(null===(a=e.systemProxy)||void 0===a?void 0:a.http)&&n.push(1),(null===(l=e.systemProxy)||void 0===l?void 0:l.socks5)&&n.push(2),n};return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(o.A.Container,{defaultActiveKey:"home",children:(0,n.jsxs)(c.A,{className:"mb-3",children:[(0,n.jsx)(c.A.Header,{children:(0,n.jsxs)(d.A,{variant:"tabs",style:{flexWrap:"nowrap",overflow:"auto hidden"},children:[(0,n.jsx)(d.A.Item,{children:(0,n.jsx)(d.A.Link,{eventKey:"home",children:"Setting"})}),(0,n.jsx)(d.A.Item,{children:(0,n.jsx)(d.A.Link,{eventKey:"dns",children:"DNS"})})]})}),(0,n.jsx)(c.A.Body,{children:(0,n.jsxs)(o.A.Content,{children:[(0,n.jsx)(o.A.Pane,{eventKey:"home",children:(0,n.jsxs)("fieldset",{disabled:null===(e=W.platform)||void 0===e?void 0:e.androidApp,children:[(0,n.jsx)(p.$,{label:"IPv6",checked:W.ipv6,onChange:()=>G({...W,ipv6:!W.ipv6},!1)}),(0,n.jsx)(R.a9,{label:"Network Interface",value:W.netInterface,onChange:e=>G({...W,netInterface:e},!1),reminds:E.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,n.jsxs)(v.A.Group,{as:h.A,className:"mb-2",children:[(0,n.jsx)(v.A.Label,{column:!0,sm:2,className:"nowrap",children:"System Proxy"}),(0,n.jsx)(u.A,{sm:10,children:(0,n.jsxs)(x.A,{type:"checkbox",className:"d-flex",defaultValue:O(W),value:O(W),onChange:e=>{let a=!1,l=!1;for(var n of e)1===n&&(a=!0),2===n&&(l=!0);G({...W,systemProxy:(0,s.v)(y.Oe,{http:a,socks5:l})},!1)},children:[(0,n.jsx)(m.A,{variant:"outline-primary",className:"w-100",id:"system-proxy-tbg-btn-1",value:1,children:"HTTP"}),(0,n.jsx)(m.A,{variant:"outline-primary",className:"w-100",id:"system-proxy-tbg-btn-2",value:2,children:"SOCKS5"})]})})]}),(0,n.jsx)("hr",{}),(0,n.jsx)(c.A.Title,{className:"mb-2",children:"Inbound"}),(0,n.jsx)(p.$,{label:"DNS Hijack",checked:null!==(a=W.server)&&void 0!==a&&!!a.hijackDns,onChange:()=>G({...W,server:{...W.server,hijackDns:!W.server.hijackDns}},!1)}),(0,n.jsx)(p.$,{label:"Fakedns",checked:null!==(l=W.server)&&void 0!==l&&!!l.hijackDnsFakeip,onChange:()=>G({...W,server:{...W.server,hijackDnsFakeip:!W.server.hijackDnsFakeip}},!1)}),(0,n.jsx)(p.$,{label:"Sniff",checked:null!==(S=W.server)&&void 0!==S&&null!==(t=S.sniff)&&void 0!==t&&!!t.enabled,onChange:()=>G({...W,server:{...W.server,sniff:{...W.server.sniff,enabled:!W.server.sniff.enabled}}},!1)}),(0,n.jsx)("hr",{}),(0,n.jsx)(c.A.Title,{className:"mb-2",children:"Logcat"}),(0,n.jsx)(p.$,{label:"Save",checked:W.logcat.save,onChange:e=>G({...W,logcat:{...W.logcat,save:e}},!1)}),(0,n.jsx)(D,{label:"Level",value:W.logcat.level,onChange:e=>G({...W,logcat:{...W.logcat,level:e}},!1)})]})}),(0,n.jsx)(o.A.Pane,{eventKey:"dns",title:"DNS",children:(0,n.jsx)("fieldset",{disabled:null===(I=W.platform)||void 0===I?void 0:I.androidApp,children:(0,n.jsx)(w,{value:(0,s.v)(k.ct,W.dns),onChange:e=>G({...W,dns:e},!1)})})})]})}),!(null===(F=W.platform)||void 0===F?void 0:F.androidApp)&&(0,n.jsx)(c.A.Footer,{className:"d-flex justify-content-md-end",children:(0,n.jsx)(j.A,{variant:"outline-primary",onClick:()=>{(0,C.kP)(N.hF.method.save,"/config","POST",W).then(async e=>{let{error:a}=e;void 0!==a?P.Error("save config failed, ".concat(a.code,"| ").concat(await a.msg)):(P.Info("Save Config Successfully"),G())})},children:"Save"})})]})})})};function D(e){return(0,n.jsxs)(v.A.Group,{as:h.A,className:"mb-3",children:[(0,n.jsx)(v.A.Label,{column:!0,sm:2,children:e.label}),(0,n.jsx)(u.A,{sm:10,children:(0,n.jsxs)(v.A.Select,{value:S.cP[e.value],onChange:a=>e.onChange(S.cP[a.target.value]),children:[(0,n.jsx)("option",{value:S.cP[S.cP.debug],children:"DEBUG"}),(0,n.jsx)("option",{value:S.cP[S.cP.info],children:"INFO"}),(0,n.jsx)("option",{value:S.cP[S.cP.warning],children:"WARN"}),(0,n.jsx)("option",{value:S.cP[S.cP.error],children:"ERROR"})]})})]})}}},e=>{var a=a=>e(e.s=a);e.O(0,[295,375,515,920,637,681,922,863,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-6e6fbeb2d3f1d635.js b/_next/static/chunks/app/docs/connections/failed/page-6e6fbeb2d3f1d635.js deleted file mode 100644 index 44377d2c..00000000 --- a/_next/static/chunks/app/docs/connections/failed/page-6e6fbeb2d3f1d635.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[894],{4776:(e,l,t)=>{Promise.resolve().then(t.bind(t,368))},744:(e,l,t)=>{"use strict";t.d(l,{DH:()=>d,G_:()=>m,Ow:()=>i,Oz:()=>c,VN:()=>R,X3:()=>s,_s:()=>h,dp:()=>b,h$:()=>g,kP:()=>n,mv:()=>p,oH:()=>a,r3:()=>o,u1:()=>u});var n="",c="https://clients3.google.com/generate_204",o="dns.nextdns.io:853",a=!0,d="http://ip.sb",u="stun.syncthing.net:3478",s="stun.nextcloud.com:443";let r=()=>{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"))&&(u=e),null!==(e=localStorage.getItem("latency_stun_tcp_url"))&&(s=e)},i=e=>{v("api_url",e)},b=e=>{v("latency_dns_url",e)},m=e=>{v("latency_http_url",e)},p=e=>{v("latency_ipv6",e.toString())},g=e=>{v("latency_ip_url",e)},h=e=>{v("latency_stun_url",e)},R=e=>{v("latency_stun_tcp_url",e)},v=(e,l)=>{""===l?localStorage.removeItem(e):localStorage.setItem(e,l),r()};r()},9169:(e,l,t)=>{"use strict";t.d(l,{A:()=>d});var n=t(5155),c=t(4216),o=t(5554),a=t.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,l,t)=>{"use strict";t.d(l,{AD:()=>d,gR:()=>s,kP:()=>u});var n=t(744),c=t(950),o=t(7558),a=t(6989);function d(e,l,t,d){return u=>d?(0,c.o)(e.output,d):fetch("".concat(n.kP).concat(u),{method:l,body:t?(0,o.R)(e.input,t):void 0}).then(async l=>{if(!l.ok)throw{code:l.status,msg:l.statusText,raw:l.text()};return(0,a.Er)(e.output,new Uint8Array(await l.arrayBuffer()))})}async function u(e,l,t,c){let d=await fetch("".concat(n.kP).concat(l),{method:t,body:c?(0,o.R)(e.input,c):void 0});return d.ok?{data:(0,a.Er)(e.output,new Uint8Array(await d.arrayBuffer()))}:{error:{code:d.status,msg:await d.text()}}}function s(e,l,t){return(c,o)=>{let d,{next:u}=o,s=new URL(""!==n.kP?n.kP:window.location.toString());s.pathname=c,s.protocol="https:"===s.protocol?"wss:":"ws:";let r=!1,i=()=>{r||(console.log("connecting to: ".concat(s)),(d=new WebSocket(s)).binaryType="arraybuffer",d.addEventListener("open",l=>{console.log("connect to: ".concat(s,", event type: ").concat(l.type)),null==d||d.send(e)}),d.addEventListener("message",e=>{let n=(0,a.Er)(l,new Uint8Array(e.data));u(null,e=>t(e,n))}),d.addEventListener("error",e=>{let l="websocket have some error";u({msg:l,code:500}),console.log(l,e.type)}),d.addEventListener("close",e=>{console.log("websocket closed, code: "+e.code),u(null,void 0),r||(console.log("reconnect after 1 seconds"),setTimeout(i,1e3))}))};return i(),()=>{r=!0,void 0!==d&&(console.log("close: ".concat(c)),d.close(),d=void 0)}}}},368:(e,l,t)=>{"use strict";t.r(l),t.d(l,{default:()=>R});var n=t(5155),c=t(2963),o=t(9141),a=t(4995),d=t(8927),u=t(3577),s=t(9678),r=t(8170),i=t(9169),b=t(6903),m=t(2115),p=t(700),g=t.n(p);let h=(0,u.v)(s.w,{seconds:BigInt(0),nanos:0}),R=function(){var e;let[l,t]=(0,m.useState)("Time"),[u,s]=(0,m.useState)(1),p=e=>e===l?s(-u):t(e),R=e=>e===l?(0,n.jsx)("i",{className:-1===u?"bi bi-sort-up-alt":"bi bi-sort-down-alt"}):(0,n.jsx)(n.Fragment,{}),v=(e,l)=>e>l?-1*u:1*u,A=e=>(0,n.jsxs)("th",{className:g().clickable,onClick:()=>p(e),children:[e,R(e)]}),{data:G,error:y,isLoading:W,mutate:Z}=(0,a.Ay)("/conn/failed_history",(0,d.AD)(b.oQ.method.failed_history));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,t)=>{var n,c;return"Host"===l?v(e.host,t.host):"Proc"===l?v(e.process,t.process):"Count"===l?v(e.failedCount,t.failedCount):v((0,r.FP)(null!==(n=e.time)&&void 0!==n?n:h),(0,r.FP)(null!==(c=t.time)&&void 0!==c?c:h))}).map((e,l)=>(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,r.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-"+l))})]})]})}},6342:(e,l,t)=>{"use strict";t.d(l,{L9:()=>n,NW:()=>c});let n=(0,t(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,l,t)=>{"use strict";t.d(l,{SE:()=>i,YA:()=>r,oQ:()=>b});var n=t(6788),c=t(8123),o=t(4395),a=t(9297),d=t(9678),u=t(6342);let s=(0,n.w)("ChtzdGF0aXN0aWMvZ3JwYy9jb25maWcucHJvdG8SIHl1aGFpaW4ucHJvdG9zLnN0YXRpc3RpYy5zZXJ2aWNlIi4KCnRvdGFsX2Zsb3cSEAoIZG93bmxvYWQYASABKAQSDgoGdXBsb2FkGAIgASgEIpcCCgtub3RpZnlfZGF0YRJCCgp0b3RhbF9mbG93GAMgASgLMiwueXVoYWlpbi5wcm90b3Muc3RhdGlzdGljLnNlcnZpY2UudG90YWxfZmxvd0gAEloKFm5vdGlmeV9uZXdfY29ubmVjdGlvbnMYASABKAsyOC55dWhhaWluLnByb3Rvcy5zdGF0aXN0aWMuc2VydmljZS5ub3RpZnlfbmV3X2Nvbm5lY3Rpb25zSAASYAoZbm90aWZ5X3JlbW92ZV9jb25uZWN0aW9ucxgCIAEoCzI7Lnl1aGFpaW4ucHJvdG9zLnN0YXRpc3RpYy5zZXJ2aWNlLm5vdGlmeV9yZW1vdmVfY29ubmVjdGlvbnNIAEIGCgRkYXRhIkwKFm5vdGlmeV9uZXdfY29ubmVjdGlvbnMSMgoLY29ubmVjdGlvbnMYASADKAsyHS55dWhhaWluLnN0YXRpc3RpYy5jb25uZWN0aW9uIigKGW5vdGlmeV9yZW1vdmVfY29ubmVjdGlvbnMSCwoDaWRzGAEgAygEIp4BCg5mYWlsZWRfaGlzdG9yeRIQCghwcm90b2NvbBgBIAEoCRIMCgRob3N0GAIgASgJEg0KBWVycm9yGAMgASgJEg8KB3Byb2Nlc3MYBCABKAkSKAoEdGltZRgFIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASIgoMZmFpbGVkX2NvdW50GAYgASgEUgxmYWlsZWRfY291bnQijAEKE2ZhaWxlZF9oaXN0b3J5X2xpc3QSQQoHb2JqZWN0cxgBIAMoCzIwLnl1aGFpaW4ucHJvdG9zLnN0YXRpc3RpYy5zZXJ2aWNlLmZhaWxlZF9oaXN0b3J5EjIKFGR1bXBfcHJvY2Vzc19lbmFibGVkGAIgASgIUhRkdW1wX3Byb2Nlc3NfZW5hYmxlZDLOAwoLY29ubmVjdGlvbnMSWQoFY29ubnMSFi5nb29nbGUucHJvdG9idWYuRW1wdHkaOC55dWhhaWluLnByb3Rvcy5zdGF0aXN0aWMuc2VydmljZS5ub3RpZnlfbmV3X2Nvbm5lY3Rpb25zEmEKCmNsb3NlX2Nvbm4SOy55dWhhaWluLnByb3Rvcy5zdGF0aXN0aWMuc2VydmljZS5ub3RpZnlfcmVtb3ZlX2Nvbm5lY3Rpb25zGhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5Ek0KBXRvdGFsEhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5GiwueXVoYWlpbi5wcm90b3Muc3RhdGlzdGljLnNlcnZpY2UudG90YWxfZmxvdxJRCgZub3RpZnkSFi5nb29nbGUucHJvdG9idWYuRW1wdHkaLS55dWhhaWluLnByb3Rvcy5zdGF0aXN0aWMuc2VydmljZS5ub3RpZnlfZGF0YTABEl8KDmZhaWxlZF9oaXN0b3J5EhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5GjUueXVoYWlpbi5wcm90b3Muc3RhdGlzdGljLnNlcnZpY2UuZmFpbGVkX2hpc3RvcnlfbGlzdEI7WjlnaXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3Mvc3RhdGlzdGljL3NlcnZpY2ViBnByb3RvMw",[a.t,u.L9,d.i]),r=(0,c.Z)(s,1),i=(0,c.Z)(s,3),b=(0,o.Z)(s,0)},700:e=>{e.exports={clickable:"clickable_clickable__ytaUf"}}},e=>{var l=l=>e(e.s=l);e.O(0,[607,295,995,923,441,517,358],()=>l(4776)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/connections/failed/page-e4efc6d1fca7f08c.js b/_next/static/chunks/app/docs/connections/failed/page-e4efc6d1fca7f08c.js new file mode 100644 index 00000000..760bb32e --- /dev/null +++ b/_next/static/chunks/app/docs/connections/failed/page-e4efc6d1fca7f08c.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:()=>h,X3:()=>u,_s:()=>v,dp:()=>b,h$:()=>g,kP:()=>n,mv:()=>p,oH:()=>o,r3:()=>a,u1:()=>r});var n="",c="https://clients3.google.com/generate_204",a="dns.nextdns.io:853",o=!0,d="http://ip.sb",r="stun.syncthing.net:3478",u="stun.nextcloud.com:443";let s=()=>{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"))&&(a=t),null!==(t=localStorage.getItem("latency_ipv6"))&&(o="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"))&&(u=t)},i=t=>{R("api_url",t)},b=t=>{R("latency_dns_url",t)},m=t=>{R("latency_http_url",t)},p=t=>{R("latency_ipv6",t.toString())},g=t=>{R("latency_ip_url",t)},v=t=>{R("latency_stun_url",t)},h=t=>{R("latency_stun_tcp_url",t)},R=(t,e)=>{""===e?localStorage.removeItem(t):localStorage.setItem(t,e),s()};s()},9169:(t,e,l)=>{"use strict";l.d(e,{A:()=>d});var n=l(5155),c=l(5554),a=l.n(c),o=l(4216);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)(o.A,{})})]})}},8927:(t,e,l)=>{"use strict";l.d(e,{AD:()=>d,kP:()=>r,zZ:()=>u});var n=l(950),c=l(7558),a=l(6989),o=l(744);function d(t,e,l,d){return r=>d?(0,n.o)(t.output,d):fetch("".concat(o.kP).concat(r),{method:e,body:l?(0,c.R)(t.input,l):void 0}).then(async e=>{if(!e.ok)throw{code:e.status,msg:e.statusText,raw:e.text()};return(0,a.Er)(t.output,new Uint8Array(await e.arrayBuffer()))})}async function r(t,e,l,n){let d=await fetch("".concat(o.kP).concat(e),{method:l,body:n?(0,c.R)(t.input,n):void 0});return d.ok?{data:(0,a.Er)(t.output,new Uint8Array(await d.arrayBuffer()))}:{error:{code:d.status,msg:await d.text()}}}function u(t,e){return(l,n)=>{let d,{next:r}=n,u=new URL(""!==o.kP?o.kP:window.location.toString());u.pathname=l.url,u.protocol="https:"===u.protocol?"wss:":"ws:";let s=!1,i=()=>{s||(console.log("connecting to: ".concat(u)),(d=new WebSocket(u)).binaryType="arraybuffer",d.addEventListener("open",l=>{console.log("connect to: ".concat(u,", event type: ").concat(l.type)),null==d||d.send((0,c.R)(t.input,e))}),d.addEventListener("message",e=>{let n=(0,a.Er)(t.output,new Uint8Array(e.data));r(null,t=>l.stream(n,t))}),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),s||(console.log("reconnect after 1 seconds"),setTimeout(i,1e3))}))};return i(),()=>{s=!0,void 0!==d&&(console.log("close: ".concat(l)),d.close(),d=void 0)}}}},368:(t,e,l)=>{"use strict";l.r(e),l.d(e,{default:()=>h});var n=l(5155),c=l(3577),a=l(9678),o=l(8170),d=l(2115),r=l(2963),u=l(9141),s=l(4995),i=l(700),b=l.n(i),m=l(9169),p=l(8927),g=l(6903);let v=(0,c.v)(a.w,{seconds:BigInt(0),nanos:0}),h=function(){var t;let[e,l]=(0,d.useState)("Time"),[c,a]=(0,d.useState)(1),i=t=>t===e?a(-c):l(t),h=t=>t===e?(0,n.jsx)("i",{className:-1===c?"bi bi-sort-up-alt":"bi bi-sort-down-alt"}):(0,n.jsx)(n.Fragment,{}),R=(t,e)=>t>e?-1*c:1*c,G=t=>(0,n.jsxs)("th",{className:b().clickable,onClick:()=>i(t),children:[t,h(t)]}),{data:A,error:y,isLoading:W,mutate:Z}=(0,s.Ay)("/conn/failed_history",(0,p.AD)(g.oQ.method.failed_history));return y?(0,n.jsx)(m.A,{code:y.code,children:y.msg}):W||void 0===A?(0,n.jsx)(m.A,{}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.A,{variant:"outline-primary",className:"mb-3",onClick:()=>Z(),children:"Refresh"}),(0,n.jsxs)(u.A,{hover:!0,striped:!0,size:"sm",children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[G("Time"),(0,n.jsx)("th",{children:"Net"}),G("Host"),G("Count"),(0,n.jsx)("th",{children:"Err"}),A.dumpProcessEnabled&&G("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,o.FP)(null!==(n=t.time)&&void 0!==n?n:v),(0,o.FP)(null!==(c=l.time)&&void 0!==c?c:v))}).map((t,e)=>(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,o.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,{SE:()=>s,oQ:()=>i});var n=l(6788),c=l(8123),a=l(4395),o=l(9297),d=l(9678),r=l(6342);let u=(0,n.w)("ChtzdGF0aXN0aWMvZ3JwYy9jb25maWcucHJvdG8SIHl1aGFpaW4ucHJvdG9zLnN0YXRpc3RpYy5zZXJ2aWNlIi4KCnRvdGFsX2Zsb3cSEAoIZG93bmxvYWQYASABKAQSDgoGdXBsb2FkGAIgASgEIpcCCgtub3RpZnlfZGF0YRJCCgp0b3RhbF9mbG93GAMgASgLMiwueXVoYWlpbi5wcm90b3Muc3RhdGlzdGljLnNlcnZpY2UudG90YWxfZmxvd0gAEloKFm5vdGlmeV9uZXdfY29ubmVjdGlvbnMYASABKAsyOC55dWhhaWluLnByb3Rvcy5zdGF0aXN0aWMuc2VydmljZS5ub3RpZnlfbmV3X2Nvbm5lY3Rpb25zSAASYAoZbm90aWZ5X3JlbW92ZV9jb25uZWN0aW9ucxgCIAEoCzI7Lnl1aGFpaW4ucHJvdG9zLnN0YXRpc3RpYy5zZXJ2aWNlLm5vdGlmeV9yZW1vdmVfY29ubmVjdGlvbnNIAEIGCgRkYXRhIkwKFm5vdGlmeV9uZXdfY29ubmVjdGlvbnMSMgoLY29ubmVjdGlvbnMYASADKAsyHS55dWhhaWluLnN0YXRpc3RpYy5jb25uZWN0aW9uIigKGW5vdGlmeV9yZW1vdmVfY29ubmVjdGlvbnMSCwoDaWRzGAEgAygEIp4BCg5mYWlsZWRfaGlzdG9yeRIQCghwcm90b2NvbBgBIAEoCRIMCgRob3N0GAIgASgJEg0KBWVycm9yGAMgASgJEg8KB3Byb2Nlc3MYBCABKAkSKAoEdGltZRgFIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASIgoMZmFpbGVkX2NvdW50GAYgASgEUgxmYWlsZWRfY291bnQijAEKE2ZhaWxlZF9oaXN0b3J5X2xpc3QSQQoHb2JqZWN0cxgBIAMoCzIwLnl1aGFpaW4ucHJvdG9zLnN0YXRpc3RpYy5zZXJ2aWNlLmZhaWxlZF9oaXN0b3J5EjIKFGR1bXBfcHJvY2Vzc19lbmFibGVkGAIgASgIUhRkdW1wX3Byb2Nlc3NfZW5hYmxlZDLOAwoLY29ubmVjdGlvbnMSWQoFY29ubnMSFi5nb29nbGUucHJvdG9idWYuRW1wdHkaOC55dWhhaWluLnByb3Rvcy5zdGF0aXN0aWMuc2VydmljZS5ub3RpZnlfbmV3X2Nvbm5lY3Rpb25zEmEKCmNsb3NlX2Nvbm4SOy55dWhhaWluLnByb3Rvcy5zdGF0aXN0aWMuc2VydmljZS5ub3RpZnlfcmVtb3ZlX2Nvbm5lY3Rpb25zGhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5Ek0KBXRvdGFsEhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5GiwueXVoYWlpbi5wcm90b3Muc3RhdGlzdGljLnNlcnZpY2UudG90YWxfZmxvdxJRCgZub3RpZnkSFi5nb29nbGUucHJvdG9idWYuRW1wdHkaLS55dWhhaWluLnByb3Rvcy5zdGF0aXN0aWMuc2VydmljZS5ub3RpZnlfZGF0YTABEl8KDmZhaWxlZF9oaXN0b3J5EhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5GjUueXVoYWlpbi5wcm90b3Muc3RhdGlzdGljLnNlcnZpY2UuZmFpbGVkX2hpc3RvcnlfbGlzdEI7WjlnaXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3Mvc3RhdGlzdGljL3NlcnZpY2ViBnByb3RvMw",[o.t,r.L9,d.i]),s=(0,c.Z)(u,3),i=(0,a.Z)(u,0)},2773:(t,e,l)=>{"use strict";l.d(e,{Am:()=>o,Ay:()=>r});var n=l(2115),c=l(5155);let a=["as","disabled"];function o({tagName:t,disabled:e,href:l,target:n,rel:c,role:a,onClick:o,tabIndex:d=0,type:r}){t||(t=null!=l||null!=n||null!=c?"a":"button");let u={tagName:t};if("button"===t)return[{type:r||"button",disabled:e},u];let s=n=>{var c;if(!e&&("a"!==t||(c=l)&&"#"!==c.trim())||n.preventDefault(),e){n.stopPropagation();return}null==o||o(n)};return"a"===t&&(l||(l="#"),e&&(l=void 0)),[{role:null!=a?a:"button",disabled:void 0,tabIndex:e?void 0:d,href:l,target:"a"===t?n:void 0,"aria-disabled":e||void 0,rel:"a"===t?c:void 0,onClick:s,onKeyDown:t=>{" "===t.key&&(t.preventDefault(),s(t))}},u]}let d=n.forwardRef((t,e)=>{let{as:l,disabled:n}=t,d=function(t,e){if(null==t)return{};var l={};for(var n in t)if(({}).hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;l[n]=t[n]}return l}(t,a),[r,{tagName:u}]=o(Object.assign({tagName:l,disabled:n},d));return(0,c.jsx)(u,Object.assign({},d,r,{ref:e}))});d.displayName="Button";let r=d},2963:(t,e,l)=>{"use strict";l.d(e,{A:()=>s});var n=l(4617),c=l.n(n),a=l(2115),o=l(2773),d=l(1653),r=l(5155);let u=a.forwardRef((t,e)=>{let{as:l,bsPrefix:n,variant:a="primary",size:u,active:s=!1,disabled:i=!1,className:b,...m}=t,p=(0,d.oU)(n,"btn"),[g,{tagName:v}]=(0,o.Am)({tagName:l,disabled:i,...m});return(0,r.jsx)(v,{...g,...m,ref:e,disabled:i,className:c()(b,p,s&&"active",a&&"".concat(p,"-").concat(a),u&&"".concat(p,"-").concat(u),m.href&&i&&"disabled")})});u.displayName="Button";let s=u},9141:(t,e,l)=>{"use strict";l.d(e,{A:()=>r});var n=l(4617),c=l.n(n),a=l(2115),o=l(1653),d=l(5155);let r=a.forwardRef((t,e)=>{let{bsPrefix:l,className:n,striped:a,bordered:r,borderless:u,hover:s,size:i,variant:b,responsive:m,...p}=t,g=(0,o.oU)(l,"table"),v=c()(n,g,b&&"".concat(g,"-").concat(b),i&&"".concat(g,"-").concat(i),a&&"".concat(g,"-").concat("string"==typeof a?"striped-".concat(a):"striped"),r&&"".concat(g,"-bordered"),u&&"".concat(g,"-borderless"),s&&"".concat(g,"-hover")),h=(0,d.jsx)("table",{...p,className:v,ref:e});if(m){let t="".concat(g,"-responsive");return"string"==typeof m&&(t="".concat(t,"-").concat(m)),(0,d.jsx)("div",{className:t,children:h})}return h})},700:t=>{t.exports={clickable:"clickable_clickable__ytaUf"}},9678:(t,e,l)=>{"use strict";l.d(e,{i:()=>a,w:()=>o});var n=l(6788),c=l(8123);let a=(0,n.w)("Ch9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvEg9nb29nbGUucHJvdG9idWYiKwoJVGltZXN0YW1wEg8KB3NlY29uZHMYASABKAMSDQoFbmFub3MYAiABKAVChQEKE2NvbS5nb29nbGUucHJvdG9idWZCDlRpbWVzdGFtcFByb3RvUAFaMmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3RpbWVzdGFtcHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),o=(0,c.Z)(a,0)},8170:(t,e,l)=>{"use strict";function n(t){return new Date(1e3*Number(t.seconds)+Math.ceil(t.nanos/1e6))}l.d(e,{FP:()=>n})}},t=>{var e=e=>t(t.s=e);t.O(0,[607,295,375,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-019e7d2048640179.js b/_next/static/chunks/app/docs/connections/page-019e7d2048640179.js new file mode 100644 index 00000000..15962986 --- /dev/null +++ b/_next/static/chunks/app/docs/connections/page-019e7d2048640179.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[706],{8438:(a,d,l)=>{Promise.resolve().then(l.bind(l,2988))},2988:(a,d,l)=>{"use strict";l.r(d),l.d(d,{default:()=>Z});var e=l(5155),n=l(3577),o=l(9297),t=l(2115),s=l(2981),c=l(57),i=l(8900),u=l(1566),m=l(2963),r=l(4216),h=l(4995),b=l(1149),p=l(9169),g=l(8927),v=l(148),A=l(1731),R=l(6342),G=l(6903);let x=function(){let a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(!+a)return"0B";let l=Math.floor(Math.log(a)/Math.log(1024)),e=parseFloat((a/Math.pow(1024,l)).toFixed(0>d?0:d)),n=["B","KB","MB","GB","TB","PB","EB","ZB","YB"][l];return isNaN(e)||void 0===n?"":"".concat(e).concat(n)},W=(a,d)=>{let l=(a.download-(d.download!==BigInt(0)?d.download:a.download))/BigInt(2),e=(a.upload-(d.upload!==BigInt(0)?d.upload:a.upload))/BigInt(2);return{download:"(".concat(x(Number(a.download)),"): ").concat(x(Number(l)),"/S"),upload:"(".concat(x(Number(a.upload)),"): ").concat(x(Number(e)),"/S")}},N=t.memo(a=>(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(c.A.Item,{children:(0,e.jsxs)("div",{className:"d-sm-flex",children:[(0,e.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate",children:a.itemKey}),(0,e.jsx)("div",{className:"notranslate text-break",style:{opacity:.6},children:"Hash"!==a.itemKey?a.itemValue:(0,e.jsx)("a",{href:"#",onClick:d=>{d.preventDefault(),a.showModal(a.itemValue)},children:a.itemValue})})]})})})),y=t.memo(a=>{var d,l,o,s,h,b;let p=(0,t.useContext)(v.u),[A,x]=(0,t.useState)(!1);return(0,e.jsxs)(i.A.Item,{eventKey:a.data.id.toString(),children:[(0,e.jsx)(i.A.Header,{children:(0,e.jsxs)("div",{className:"d-line text-break",children:[(0,e.jsx)("code",{className:"ms-2",children:a.data.id.toString()}),(0,e.jsx)("span",{className:"ms-2",children:a.data.addr}),(0,e.jsx)(u.A,{className:"bg-light rounded-pill text-dark ms-1 text-uppercase",children:a.data.extra.MODE}),(0,e.jsx)(u.A,{className:"bg-light rounded-pill text-dark ms-1 text-uppercase",children:R.NW[null!==(s=null===(d=a.data.type)||void 0===d?void 0:d.connType)&&void 0!==s?s:0]}),void 0!==a.data.extra.Tag&&(0,e.jsx)(u.A,{className:"bg-light rounded-pill text-dark ms-1 text-uppercase",children:a.data.extra.Tag})]})}),(0,e.jsx)(i.A.Body,{children:(0,e.jsxs)(c.A,{variant:"flush",children:[(0,e.jsx)(N,{itemKey:"Type",itemValue:R.NW[null!==(h=null===(l=a.data.type)||void 0===l?void 0:l.connType)&&void 0!==h?h:0],showModal:a.showModal}),(0,e.jsx)(N,{itemKey:"Underlying",itemValue:R.NW[null!==(b=null===(o=a.data.type)||void 0===o?void 0:o.underlyingType)&&void 0!==b?b:0],showModal:a.showModal}),Object.entries(a.data.extra).sort((a,d)=>a<=d?-1:1).map(d=>{let[l,n]=d;return(0,e.jsx)(N,{itemKey:l,itemValue:n,showModal:a.showModal},l)}),(0,e.jsx)(c.A.Item,{children:(0,e.jsx)("div",{className:"d-sm-flex",children:(0,e.jsxs)(m.A,{variant:"outline-danger",className:"flex-grow-1 notranslate",disabled:A,onClick:()=>{x(!0),(0,g.kP)(G.oQ.method.close_conn,"/conn","DELETE",(0,n.v)(G.SE,{ids:[a.data.id]})).then(async d=>{let{error:l}=d;l?(p.Error("code ".concat(a.data.id," failed, ").concat(l.code,"| ").concat(l.msg)),x(!1)):setTimeout(()=>{x(!1)},5e3)})},children:["Close",A&&(0,e.jsxs)(e.Fragment,{children:["\xa0",(0,e.jsx)(r.A,{size:"sm",animation:"border",variant:"danger"})]})]})})})]})})]},a.data.id)}),Z=function(){let[a,d]=(0,t.useState)({show:!1,hash:""}),[l,u]=(0,t.useState)({download:BigInt(0),upload:BigInt(0)}),{data:m,error:r}=(0,h.Ay)("/flow/total",async a=>(0,g.kP)(G.oQ.method.total,a).then(async a=>{let{data:d,error:e}=a;if(e)throw e;if(d){let a=W(d,{download:l.download,upload:l.upload});return u({download:d.download,upload:d.upload}),a}}),{refreshInterval:2e3}),{data:v,error:R}=(0,b.A)({url:"/conn",stream:(a,d)=>{switch(void 0===d&&(d=new Map),a.data.case){case"notifyNewConnections":a.data.value.connections.sort((a,d)=>a.id>d.id?1:-1).forEach(a=>{d.set(a.id,a)});break;case"notifyRemoveConnections":a.data.value.ids.forEach(a=>{d.delete(a)})}return d}},(0,g.zZ)(G.oQ.method.notify,(0,n.v)(o.v)));return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(A.y,{show:a.show,hash:a.hash,editable:!1,onHide:()=>d({...a,show:!1})}),(0,e.jsx)(s.A,{className:"mb-3",children:(0,e.jsxs)(c.A,{variant:"flush",children:[(0,e.jsx)(c.A.Item,{children:(0,e.jsxs)("div",{className:"d-sm-flex",children:[(0,e.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate",children:"Download"}),(0,e.jsx)("div",{className:"notranslate",style:{opacity:.6},id:"statistic-download",children:m?m.download:void 0!==r?r.msg:"Loading..."})]})}),(0,e.jsx)(c.A.Item,{children:(0,e.jsxs)("div",{className:"d-sm-flex",children:[(0,e.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate",children:"Upload"}),(0,e.jsx)("div",{className:"notranslate",style:{opacity:.6},id:"statistic-upload",children:m?m.upload:void 0!==r?r.msg:"Loading..."})]})})]})}),void 0!==R?(0,e.jsx)(p.A,{code:R.code,children:R.msg}):void 0===v?(0,e.jsx)(p.A,{}):(0,e.jsx)(i.A,{className:"mb-3",alwaysOpen:!0,id:"connections",children:[...v.values()].reverse().map(a=>(0,e.jsx)(y,{data:a,showModal:a=>d({show:!0,hash:a})},a.id))})]})}},6342:(a,d,l)=>{"use strict";l.d(d,{L9:()=>e,NW:()=>n});let e=(0,l(6788).w)("ChZzdGF0aXN0aWMvY29uZmlnLnByb3RvEhF5dWhhaWluLnN0YXRpc3RpYyKEAQoIbmV0X3R5cGUSNQoJY29ubl90eXBlGAEgASgOMhcueXVoYWlpbi5zdGF0aXN0aWMudHlwZVIJY29ubl90eXBlEkEKD3VuZGVybHlpbmdfdHlwZRgCIAEoDjIXLnl1aGFpaW4uc3RhdGlzdGljLnR5cGVSD3VuZGVybHlpbmdfdHlwZSK4AQoKY29ubmVjdGlvbhIMCgRhZGRyGAEgASgJEgoKAmlkGAIgASgEEikKBHR5cGUYAyABKAsyGy55dWhhaWluLnN0YXRpc3RpYy5uZXRfdHlwZRI3CgVleHRyYRgEIAMoCzIoLnl1aGFpaW4uc3RhdGlzdGljLmNvbm5lY3Rpb24uRXh0cmFFbnRyeRosCgpFeHRyYUVudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToCOAEqjwEKBHR5cGUSCwoHdW5rbm93bhAAEgcKA3RjcBABEggKBHRjcDQQAhIICgR0Y3A2EAMSBwoDdWRwEAQSCAoEdWRwNBAFEggKBHVkcDYQBhIGCgJpcBAHEgcKA2lwNBAIEgcKA2lwNhAJEggKBHVuaXgQChIMCgh1bml4Z3JhbRALEg4KCnVuaXhwYWNrZXQQDEIzWjFnaXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3Mvc3RhdGlzdGljYgZwcm90bzM");var n=function(a){return a[a.unknown=0]="unknown",a[a.tcp=1]="tcp",a[a.tcp4=2]="tcp4",a[a.tcp6=3]="tcp6",a[a.udp=4]="udp",a[a.udp4=5]="udp4",a[a.udp6=6]="udp6",a[a.ip=7]="ip",a[a.ip4=8]="ip4",a[a.ip6=9]="ip6",a[a.unix=10]="unix",a[a.unixgram=11]="unixgram",a[a.unixpacket=12]="unixpacket",a}({})},6903:(a,d,l)=>{"use strict";l.d(d,{SE:()=>u,oQ:()=>m});var e=l(6788),n=l(8123),o=l(4395),t=l(9297),s=l(9678),c=l(6342);let i=(0,e.w)("ChtzdGF0aXN0aWMvZ3JwYy9jb25maWcucHJvdG8SIHl1aGFpaW4ucHJvdG9zLnN0YXRpc3RpYy5zZXJ2aWNlIi4KCnRvdGFsX2Zsb3cSEAoIZG93bmxvYWQYASABKAQSDgoGdXBsb2FkGAIgASgEIpcCCgtub3RpZnlfZGF0YRJCCgp0b3RhbF9mbG93GAMgASgLMiwueXVoYWlpbi5wcm90b3Muc3RhdGlzdGljLnNlcnZpY2UudG90YWxfZmxvd0gAEloKFm5vdGlmeV9uZXdfY29ubmVjdGlvbnMYASABKAsyOC55dWhhaWluLnByb3Rvcy5zdGF0aXN0aWMuc2VydmljZS5ub3RpZnlfbmV3X2Nvbm5lY3Rpb25zSAASYAoZbm90aWZ5X3JlbW92ZV9jb25uZWN0aW9ucxgCIAEoCzI7Lnl1aGFpaW4ucHJvdG9zLnN0YXRpc3RpYy5zZXJ2aWNlLm5vdGlmeV9yZW1vdmVfY29ubmVjdGlvbnNIAEIGCgRkYXRhIkwKFm5vdGlmeV9uZXdfY29ubmVjdGlvbnMSMgoLY29ubmVjdGlvbnMYASADKAsyHS55dWhhaWluLnN0YXRpc3RpYy5jb25uZWN0aW9uIigKGW5vdGlmeV9yZW1vdmVfY29ubmVjdGlvbnMSCwoDaWRzGAEgAygEIp4BCg5mYWlsZWRfaGlzdG9yeRIQCghwcm90b2NvbBgBIAEoCRIMCgRob3N0GAIgASgJEg0KBWVycm9yGAMgASgJEg8KB3Byb2Nlc3MYBCABKAkSKAoEdGltZRgFIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASIgoMZmFpbGVkX2NvdW50GAYgASgEUgxmYWlsZWRfY291bnQijAEKE2ZhaWxlZF9oaXN0b3J5X2xpc3QSQQoHb2JqZWN0cxgBIAMoCzIwLnl1aGFpaW4ucHJvdG9zLnN0YXRpc3RpYy5zZXJ2aWNlLmZhaWxlZF9oaXN0b3J5EjIKFGR1bXBfcHJvY2Vzc19lbmFibGVkGAIgASgIUhRkdW1wX3Byb2Nlc3NfZW5hYmxlZDLOAwoLY29ubmVjdGlvbnMSWQoFY29ubnMSFi5nb29nbGUucHJvdG9idWYuRW1wdHkaOC55dWhhaWluLnByb3Rvcy5zdGF0aXN0aWMuc2VydmljZS5ub3RpZnlfbmV3X2Nvbm5lY3Rpb25zEmEKCmNsb3NlX2Nvbm4SOy55dWhhaWluLnByb3Rvcy5zdGF0aXN0aWMuc2VydmljZS5ub3RpZnlfcmVtb3ZlX2Nvbm5lY3Rpb25zGhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5Ek0KBXRvdGFsEhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5GiwueXVoYWlpbi5wcm90b3Muc3RhdGlzdGljLnNlcnZpY2UudG90YWxfZmxvdxJRCgZub3RpZnkSFi5nb29nbGUucHJvdG9idWYuRW1wdHkaLS55dWhhaWluLnByb3Rvcy5zdGF0aXN0aWMuc2VydmljZS5ub3RpZnlfZGF0YTABEl8KDmZhaWxlZF9oaXN0b3J5EhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5GjUueXVoYWlpbi5wcm90b3Muc3RhdGlzdGljLnNlcnZpY2UuZmFpbGVkX2hpc3RvcnlfbGlzdEI7WjlnaXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3Mvc3RhdGlzdGljL3NlcnZpY2ViBnByb3RvMw",[t.t,c.L9,s.i]),u=(0,n.Z)(i,3),m=(0,o.Z)(i,0)}},a=>{var d=d=>a(a.s=d);a.O(0,[295,375,515,920,637,354,340,190,723,424,922,969,112,441,517,358],()=>d(8438)),_N_E=a.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/connections/page-5f44073f511200ca.js b/_next/static/chunks/app/docs/connections/page-5f44073f511200ca.js deleted file mode 100644 index d7bb0353..00000000 --- a/_next/static/chunks/app/docs/connections/page-5f44073f511200ca.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[706],{8438:(a,d,l)=>{Promise.resolve().then(l.bind(l,2988))},2988:(a,d,l)=>{"use strict";l.r(d),l.d(d,{default:()=>Y});var e=l(5155),n=l(2115),o=l(2981),t=l(57),s=l(8900),c=l(1566),i=l(2963),u=l(4216),m=l(1149),r=l(9169),h=l(8927),b=l(148),p=l(6342),g=l(6903),v=l(7558),A=l(3577),R=l(4995),G=l(9297),x=l(698);let W=function(){let a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(!+a)return"0B";let l=Math.floor(Math.log(a)/Math.log(1024)),e=parseFloat((a/Math.pow(1024,l)).toFixed(0>d?0:d)),n=["B","KB","MB","GB","TB","PB","EB","ZB","YB"][l];return isNaN(e)||void 0===n?"":"".concat(e).concat(n)},N=(a,d)=>{let l=(a.download-(d.download!==BigInt(0)?d.download:a.download))/BigInt(2),e=(a.upload-(d.upload!==BigInt(0)?d.upload:a.upload))/BigInt(2);return{download:"(".concat(W(Number(a.download)),"): ").concat(W(Number(l)),"/S"),upload:"(".concat(W(Number(a.upload)),"): ").concat(W(Number(e)),"/S")}},Z=n.memo(a=>(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(t.A.Item,{children:(0,e.jsxs)("div",{className:"d-sm-flex",children:[(0,e.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate",children:a.itemKey}),(0,e.jsx)("div",{className:"notranslate text-break",style:{opacity:.6},children:"Hash"!==a.itemKey?a.itemValue:(0,e.jsx)("a",{href:"#",onClick:d=>{d.preventDefault(),a.showModal(a.itemValue)},children:a.itemValue})})]})})})),y=n.memo(a=>{var d,l,o,m,r,v;let R=(0,n.useContext)(b.u),[G,x]=(0,n.useState)(!1);return(0,e.jsxs)(s.A.Item,{eventKey:a.data.id.toString(),children:[(0,e.jsx)(s.A.Header,{children:(0,e.jsxs)("div",{className:"d-line text-break",children:[(0,e.jsx)("code",{className:"ms-2",children:a.data.id.toString()}),(0,e.jsx)("span",{className:"ms-2",children:a.data.addr}),(0,e.jsx)(c.A,{className:"bg-light rounded-pill text-dark ms-1 text-uppercase",children:a.data.extra.MODE}),(0,e.jsx)(c.A,{className:"bg-light rounded-pill text-dark ms-1 text-uppercase",children:p.NW[null!==(m=null===(d=a.data.type)||void 0===d?void 0:d.connType)&&void 0!==m?m:0]}),void 0!==a.data.extra.Tag&&(0,e.jsx)(c.A,{className:"bg-light rounded-pill text-dark ms-1 text-uppercase",children:a.data.extra.Tag})]})}),(0,e.jsx)(s.A.Body,{children:(0,e.jsxs)(t.A,{variant:"flush",children:[(0,e.jsx)(Z,{itemKey:"Type",itemValue:p.NW[null!==(r=null===(l=a.data.type)||void 0===l?void 0:l.connType)&&void 0!==r?r:0],showModal:a.showModal}),(0,e.jsx)(Z,{itemKey:"Underlying",itemValue:p.NW[null!==(v=null===(o=a.data.type)||void 0===o?void 0:o.underlyingType)&&void 0!==v?v:0],showModal:a.showModal}),Object.entries(a.data.extra).sort((a,d)=>a<=d?-1:1).map(d=>{let[l,n]=d;return(0,e.jsx)(Z,{itemKey:l,itemValue:n,showModal:a.showModal},l)}),(0,e.jsx)(t.A.Item,{children:(0,e.jsx)("div",{className:"d-sm-flex",children:(0,e.jsxs)(i.A,{variant:"outline-danger",className:"flex-grow-1 notranslate",disabled:G,onClick:()=>{x(!0),(0,h.kP)(g.oQ.method.close_conn,"/conn","DELETE",(0,A.v)(g.SE,{ids:[a.data.id]})).then(async d=>{let{error:l}=d;l?(R.Error("code ".concat(a.data.id," failed, ").concat(l.code,"| ").concat(l.msg)),x(!1)):setTimeout(()=>{x(!1)},5e3)})},children:["Close",G&&(0,e.jsxs)(e.Fragment,{children:["\xa0",(0,e.jsx)(u.A,{size:"sm",animation:"border",variant:"danger"})]})]})})})]})})]},a.data.id)}),Y=function(){let[a,d]=(0,n.useState)({show:!1,hash:""}),[l,c]=(0,n.useState)({download:BigInt(0),upload:BigInt(0)}),{data:i,error:u}=(0,R.Ay)("/flow/total",async a=>(0,h.kP)(g.oQ.method.total,a).then(async a=>{let{data:d,error:e}=a;if(e)throw e;if(d){let a=N(d,{download:l.download,upload:l.upload});return c({download:d.download,upload:d.upload}),a}}),{refreshInterval:2e3}),{data:b,error:p}=(0,m.A)("/conn",(0,h.gR)((0,v.R)(G.v,(0,A.v)(G.v)),g.YA,(a,d)=>{switch(void 0===a&&(a=new Map),d.data.case){case"notifyNewConnections":d.data.value.connections.sort((a,d)=>a.id>d.id?1:-1).forEach(d=>{a.set(d.id,d)});break;case"notifyRemoveConnections":d.data.value.ids.forEach(d=>{a.delete(d)})}return a}));return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(x.y,{show:a.show,hash:a.hash,editable:!1,onHide:()=>d({...a,show:!1})}),(0,e.jsx)(o.A,{className:"mb-3",children:(0,e.jsxs)(t.A,{variant:"flush",children:[(0,e.jsx)(t.A.Item,{children:(0,e.jsxs)("div",{className:"d-sm-flex",children:[(0,e.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate",children:"Download"}),(0,e.jsx)("div",{className:"notranslate",style:{opacity:.6},id:"statistic-download",children:i?i.download:void 0!==u?u.msg:"Loading..."})]})}),(0,e.jsx)(t.A.Item,{children:(0,e.jsxs)("div",{className:"d-sm-flex",children:[(0,e.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate",children:"Upload"}),(0,e.jsx)("div",{className:"notranslate",style:{opacity:.6},id:"statistic-upload",children:i?i.upload:void 0!==u?u.msg:"Loading..."})]})})]})}),void 0!==p?(0,e.jsx)(r.A,{code:p.code,children:p.msg}):void 0===b?(0,e.jsx)(r.A,{}):(0,e.jsx)(s.A,{className:"mb-3",alwaysOpen:!0,id:"connections",children:[...b.values()].reverse().map(a=>(0,e.jsx)(y,{data:a,showModal:a=>d({show:!0,hash:a})},a.id))})]})}},6342:(a,d,l)=>{"use strict";l.d(d,{L9:()=>e,NW:()=>n});let e=(0,l(6788).w)("ChZzdGF0aXN0aWMvY29uZmlnLnByb3RvEhF5dWhhaWluLnN0YXRpc3RpYyKEAQoIbmV0X3R5cGUSNQoJY29ubl90eXBlGAEgASgOMhcueXVoYWlpbi5zdGF0aXN0aWMudHlwZVIJY29ubl90eXBlEkEKD3VuZGVybHlpbmdfdHlwZRgCIAEoDjIXLnl1aGFpaW4uc3RhdGlzdGljLnR5cGVSD3VuZGVybHlpbmdfdHlwZSK4AQoKY29ubmVjdGlvbhIMCgRhZGRyGAEgASgJEgoKAmlkGAIgASgEEikKBHR5cGUYAyABKAsyGy55dWhhaWluLnN0YXRpc3RpYy5uZXRfdHlwZRI3CgVleHRyYRgEIAMoCzIoLnl1aGFpaW4uc3RhdGlzdGljLmNvbm5lY3Rpb24uRXh0cmFFbnRyeRosCgpFeHRyYUVudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToCOAEqjwEKBHR5cGUSCwoHdW5rbm93bhAAEgcKA3RjcBABEggKBHRjcDQQAhIICgR0Y3A2EAMSBwoDdWRwEAQSCAoEdWRwNBAFEggKBHVkcDYQBhIGCgJpcBAHEgcKA2lwNBAIEgcKA2lwNhAJEggKBHVuaXgQChIMCgh1bml4Z3JhbRALEg4KCnVuaXhwYWNrZXQQDEIzWjFnaXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3Mvc3RhdGlzdGljYgZwcm90bzM");var n=function(a){return a[a.unknown=0]="unknown",a[a.tcp=1]="tcp",a[a.tcp4=2]="tcp4",a[a.tcp6=3]="tcp6",a[a.udp=4]="udp",a[a.udp4=5]="udp4",a[a.udp6=6]="udp6",a[a.ip=7]="ip",a[a.ip4=8]="ip4",a[a.ip6=9]="ip6",a[a.unix=10]="unix",a[a.unixgram=11]="unixgram",a[a.unixpacket=12]="unixpacket",a}({})},6903:(a,d,l)=>{"use strict";l.d(d,{SE:()=>m,YA:()=>u,oQ:()=>r});var e=l(6788),n=l(8123),o=l(4395),t=l(9297),s=l(9678),c=l(6342);let i=(0,e.w)("ChtzdGF0aXN0aWMvZ3JwYy9jb25maWcucHJvdG8SIHl1aGFpaW4ucHJvdG9zLnN0YXRpc3RpYy5zZXJ2aWNlIi4KCnRvdGFsX2Zsb3cSEAoIZG93bmxvYWQYASABKAQSDgoGdXBsb2FkGAIgASgEIpcCCgtub3RpZnlfZGF0YRJCCgp0b3RhbF9mbG93GAMgASgLMiwueXVoYWlpbi5wcm90b3Muc3RhdGlzdGljLnNlcnZpY2UudG90YWxfZmxvd0gAEloKFm5vdGlmeV9uZXdfY29ubmVjdGlvbnMYASABKAsyOC55dWhhaWluLnByb3Rvcy5zdGF0aXN0aWMuc2VydmljZS5ub3RpZnlfbmV3X2Nvbm5lY3Rpb25zSAASYAoZbm90aWZ5X3JlbW92ZV9jb25uZWN0aW9ucxgCIAEoCzI7Lnl1aGFpaW4ucHJvdG9zLnN0YXRpc3RpYy5zZXJ2aWNlLm5vdGlmeV9yZW1vdmVfY29ubmVjdGlvbnNIAEIGCgRkYXRhIkwKFm5vdGlmeV9uZXdfY29ubmVjdGlvbnMSMgoLY29ubmVjdGlvbnMYASADKAsyHS55dWhhaWluLnN0YXRpc3RpYy5jb25uZWN0aW9uIigKGW5vdGlmeV9yZW1vdmVfY29ubmVjdGlvbnMSCwoDaWRzGAEgAygEIp4BCg5mYWlsZWRfaGlzdG9yeRIQCghwcm90b2NvbBgBIAEoCRIMCgRob3N0GAIgASgJEg0KBWVycm9yGAMgASgJEg8KB3Byb2Nlc3MYBCABKAkSKAoEdGltZRgFIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASIgoMZmFpbGVkX2NvdW50GAYgASgEUgxmYWlsZWRfY291bnQijAEKE2ZhaWxlZF9oaXN0b3J5X2xpc3QSQQoHb2JqZWN0cxgBIAMoCzIwLnl1aGFpaW4ucHJvdG9zLnN0YXRpc3RpYy5zZXJ2aWNlLmZhaWxlZF9oaXN0b3J5EjIKFGR1bXBfcHJvY2Vzc19lbmFibGVkGAIgASgIUhRkdW1wX3Byb2Nlc3NfZW5hYmxlZDLOAwoLY29ubmVjdGlvbnMSWQoFY29ubnMSFi5nb29nbGUucHJvdG9idWYuRW1wdHkaOC55dWhhaWluLnByb3Rvcy5zdGF0aXN0aWMuc2VydmljZS5ub3RpZnlfbmV3X2Nvbm5lY3Rpb25zEmEKCmNsb3NlX2Nvbm4SOy55dWhhaWluLnByb3Rvcy5zdGF0aXN0aWMuc2VydmljZS5ub3RpZnlfcmVtb3ZlX2Nvbm5lY3Rpb25zGhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5Ek0KBXRvdGFsEhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5GiwueXVoYWlpbi5wcm90b3Muc3RhdGlzdGljLnNlcnZpY2UudG90YWxfZmxvdxJRCgZub3RpZnkSFi5nb29nbGUucHJvdG9idWYuRW1wdHkaLS55dWhhaWluLnByb3Rvcy5zdGF0aXN0aWMuc2VydmljZS5ub3RpZnlfZGF0YTABEl8KDmZhaWxlZF9oaXN0b3J5EhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5GjUueXVoYWlpbi5wcm90b3Muc3RhdGlzdGljLnNlcnZpY2UuZmFpbGVkX2hpc3RvcnlfbGlzdEI7WjlnaXRodWIuY29tL0FzdXRvcnVmYS95dWhhaWluL3BrZy9wcm90b3Mvc3RhdGlzdGljL3NlcnZpY2ViBnByb3RvMw",[t.t,c.L9,s.i]),u=(0,n.Z)(i,1),m=(0,n.Z)(i,3),r=(0,o.Z)(i,0)}},a=>{var d=d=>a(a.s=d);a.O(0,[295,995,515,920,637,354,340,734,723,424,306,145,698,441,517,358],()=>d(8438)),_N_E=a.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/group/page-1e657329e64932b4.js b/_next/static/chunks/app/docs/group/page-1e657329e64932b4.js new file mode 100644 index 00000000..c1a14b0b --- /dev/null +++ b/_next/static/chunks/app/docs/group/page-1e657329e64932b4.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[564],{5880:(e,t,s)=>{Promise.resolve().then(s.bind(s,8646))},8646:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>D});var n=s(5155),a=s(3577),i=s(1936),l=s(5554),d=s.n(l),c=s(2115),o=s(3667),r=s(2981),p=s(57),u=s(3614),h=s(8143),x=s(9637),m=s(2963),v=s(4216),g=s(6121),j=s(4995),A=s(744),N=s(9169),y=s(8927),w=s(148),f=s(1731),b=s(9969),I=s(2197),_=s(2049),k=function(e){return e.TCP="tcp",e.UDP="udp",e.IP="ip",e.STUN="stun",e.STUNTCP="stun-tcp",e}(k||{});class P{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 S=e=>{switch(e){case I.HZ.NAT_UNKNOWN:return"unknown";case I.HZ.NAT_NO_RESULT:return"noresult";case I.HZ.NAT_AddressAndPortDependent:return"address-and-port-dependent";case I.HZ.NAT_AddressDependent:return"address-dependent";case I.HZ.NAT_EndpointIndependent:return"endpoint-independent";case I.HZ.NAT_EndpointIndependentNoNAT:return"endpoint-independent-no-nat";case I.HZ.NAT_ServerNotSupportChangePort:return"server-not-support";default:return"unknown"}},T=e=>{var t,s;let{title:i,hash:l,latency:d,onChangeLatency:g,onClickEdit:j}=e,N=(0,c.useContext)(w.u),f=e=>{e(d),g(d)},_=e=>{switch(e){case"tcp":f(e=>{e.tcp.loading=!0}),k((0,a.v)(I._1,{protocol:{case:"http",value:(0,a.v)(I.UM,{url:A.Oz})}}),e=>{f(async t=>{t.tcp={loading:!1,value:e.Latency}})});break;case"udp":f(e=>{e.udp.loading=!0}),k((0,a.v)(I._1,{protocol:{case:"dnsOverQuic",value:(0,a.v)(I.Jc,{host:A.r3,targetDomain:"www.google.com"})}}),e=>{f(async t=>{t.udp={loading:!1,value:e.Latency}})});break;case"ip":f(e=>{e.ip.loading=!0}),k((0,a.v)(I._1,{protocol:{case:"ip",value:(0,a.v)(I.B$,{url:A.DH})}}),e=>{f(async t=>{t.ip.loading=!1,t.ip.ipv4=e.IPv4,t.ip.ipv6=e.IPv6})});break;case"stun-tcp":f(e=>{e.stun_tcp.loading=!0}),k((0,a.v)(I._1,{protocol:{case:"stun",value:(0,a.v)(I._t,{host:A.X3,tcp:!0})}}),e=>{f(async t=>{var s;t.stun_tcp={loading:!1,ip:null===(s=e.Stun)||void 0===s?void 0:s.mappedAddress}})});break;case"stun":f(e=>{e.stun.loading=!0}),k((0,a.v)(I._1,{protocol:{case:"stun",value:(0,a.v)(I._t,{host:A.u1})}}),e=>{f(async t=>{var s,n,a;t.stun={loading:!1,mapping:null===(s=e.Stun)||void 0===s?void 0:s.mapping,filtering:null===(n=e.Stun)||void 0===n?void 0:n.filter,mappedAddress:null===(a=e.Stun)||void 0===a?void 0:a.mappedAddress}})})}},k=(e,t)=>{(0,y.kP)(b.rH.method.latency,"/latency","POST",(0,a.v)(I.oL,{requests:[{hash:l,id:"latency",ipv6:A.oH,protocol:e}]})).then(async e=>{let{data:s,error:n}=e;n&&N.Error("test failed ".concat(n.code,"| ").concat(n.msg));let a={Latency:"timeout"};if(s&&s.idLatencyMap.latency){let e=s.idLatencyMap.latency.reply;switch(e.case){case"latency":a={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")}(e.value)};break;case"ip":a={IPv4:e.value.ipv4,IPv6:e.value.ipv6};break;case"stun":a={Stun:{mapping:S(e.value.Mapping),filter:S(e.value.Filtering),mappedAddress:e.value.mappedAddress}}}}t(a)})};return(0,n.jsx)(o.A,{className:"mb-3",children:(0,n.jsxs)(r.A,{className:"h-100 shadow-sm",children:[(0,n.jsx)(r.A.Header,{children:i}),(0,n.jsx)(r.A.Body,{children:(0,n.jsxs)(p.A,{variant:"flush",children:[(0,n.jsx)(p.A.Item,{children:(0,n.jsxs)("div",{className:"d-xl-flex",children:[(0,n.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate",children:"TCP"}),(0,n.jsx)("div",{className:"notranslate text-break",style:{opacity:.6},id:"statistic-download",children:null!==(t=d.tcp.value)&&void 0!==t?t:"N/A"})]})}),(0,n.jsx)(p.A.Item,{children:(0,n.jsxs)("div",{className:"d-xl-flex",children:[(0,n.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate",children:"UDP"}),(0,n.jsx)("div",{className:"notranslate text-break",style:{opacity:.6},id:"statistic-upload",children:null!==(s=d.udp.value)&&void 0!==s?s:"N/A"})]})}),d.ip.ipv4&&(0,n.jsx)(p.A.Item,{children:(0,n.jsxs)("div",{className:"d-xl-flex",children:[(0,n.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate",children:"IPv4"}),(0,n.jsx)("div",{className:"notranslate text-break",style:{opacity:.6},id:"statistic-upload",children:d.ip.ipv4})]})}),d.ip.ipv6&&(0,n.jsx)(p.A.Item,{children:(0,n.jsxs)("div",{className:"d-xl-flex",children:[(0,n.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate",children:"IPv6"}),(0,n.jsx)("div",{className:"notranslate text-break",style:{opacity:.6},id:"statistic-upload",children:d.ip.ipv6})]})}),d.stun.mapping&&(0,n.jsx)(p.A.Item,{children:(0,n.jsxs)("div",{className:"d-xl-flex text-truncate",children:[(0,n.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate text-truncate",children:"Mapping"}),(0,n.jsx)("div",{className:"notranslate text-break",style:{opacity:.6},id:"statistic-upload",children:d.stun.mapping})]})}),d.stun.filtering&&(0,n.jsx)(p.A.Item,{children:(0,n.jsxs)("div",{className:"d-xl-flex text-truncate",children:[(0,n.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate text-truncate",children:"Filtering"}),(0,n.jsx)("div",{className:"notranslate text-break",style:{opacity:.6},id:"statistic-upload",children:d.stun.filtering})]})}),d.stun.mappedAddress&&(0,n.jsx)(p.A.Item,{children:(0,n.jsxs)("div",{className:"d-xl-flex text-truncate",children:[(0,n.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate text-truncate",children:"MappedAddress"}),(0,n.jsx)("div",{className:"notranslate text-break",style:{opacity:.6},id:"statistic-upload",children:d.stun.mappedAddress})]})}),d.stun_tcp.ip&&(0,n.jsx)(p.A.Item,{children:(0,n.jsxs)("div",{className:"d-xl-flex text-truncate",children:[(0,n.jsx)("div",{className:"endpoint-name flex-grow-1 notranslate text-truncate",children:"STUN IP"}),(0,n.jsx)("div",{className:"notranslate text-break",style:{opacity:.6},id:"statistic-upload",children:d.stun_tcp.ip})]})}),(0,n.jsx)(p.A.Item,{className:"text-center text-break",children:(0,n.jsxs)(u.A,{className:"d-xl-flex",children:[(0,n.jsxs)(h.A,{onSelect:async e=>{(0,y.kP)(b.rH.method.use,"/node","PUT",(0,a.v)(b.q,{tcp:"tcp"===e||"tcpudp"===e,udp:"udp"===e||"tcpudp"===e,hash:l})).then(async t=>{let{error:s}=t;void 0!==s?N.Error("change node failed, ".concat(s.code,"| ").concat(s.msg)):N.Info("Change ".concat(e," Node To ").concat(l," Successful"))})},as:u.A,variant:"outline-primary",title:"USE",children:[(0,n.jsx)(x.A.Item,{eventKey:"tcpudp",children:"TCP and UDP"}),(0,n.jsx)(x.A.Item,{eventKey:"tcp",children:"TCP"}),(0,n.jsx)(x.A.Item,{eventKey:"udp",children:"UDP"})]}),(0,n.jsx)(m.A,{variant:"outline-primary",className:"w-100",onClick:j,children:"Edit"}),(0,n.jsxs)(h.A,{onSelect:async e=>{_(e)},as:u.A,variant:"outline-primary",title:(0,n.jsxs)(n.Fragment,{children:["Test",d.haveLoading()&&(0,n.jsxs)(n.Fragment,{children:["\xa0",(0,n.jsx)(v.A,{size:"sm",animation:"border"})]})]}),children:[(0,n.jsxs)(x.A.Item,{disabled:d.tcp.loading,eventKey:"tcp",children:["TCP\xa0",d.tcp.loading&&(0,n.jsx)(v.A,{size:"sm",animation:"border"})]}),(0,n.jsxs)(x.A.Item,{disabled:d.udp.loading,eventKey:"udp",children:["UDP\xa0",d.udp.loading&&(0,n.jsx)(v.A,{size:"sm",animation:"border"})," "]}),(0,n.jsxs)(x.A.Item,{disabled:d.stun.loading,eventKey:"stun",children:["STUN\xa0",d.stun.loading&&(0,n.jsx)(v.A,{size:"sm",animation:"border"})]}),(0,n.jsxs)(x.A.Item,{disabled:d.stun_tcp.loading,eventKey:"stun-tcp",children:["STUN TCP\xa0",d.stun_tcp.loading&&(0,n.jsx)(v.A,{size:"sm",animation:"border"})]}),(0,n.jsxs)(x.A.Item,{disabled:d.ip.loading,eventKey:"ip",children:["IP\xa0",d.ip.loading&&(0,n.jsx)(v.A,{size:"sm",animation:"border"})]})]})]})})]})})]})})};class C{constructor(e){var t,s;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!==(s=null==e?void 0:e.show)&&void 0!==s&&s,this.onDelete=null==e?void 0:e.onDelete}}let D=function(){let e=(0,c.useContext)(w.u),[t,s]=(0,c.useState)("Select..."),[l,r]=(0,c.useState)(new C),[p,h]=(0,c.useState)({data:!1}),[v,A]=(0,c.useState)({}),{data:I,error:k,isLoading:S,mutate:D}=(0,j.Ay)("/nodes",(0,y.AD)(b.rH.method.list));return void 0!==k?(0,n.jsx)(d(),{statusCode:k.code,title:k.msg}):S||void 0===I?(0,n.jsx)(N.A,{}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(f.y,{show:l.show,hash:l.hash,point:l.point,isNew:l.isNew,onDelete:l.onDelete,editable:!0,onHide:()=>r({...l,show:!1}),onSave:()=>D(),groups:Object.keys(I.groups).sort((e,t)=>e<=t?-1:1)}),(0,n.jsx)(f.E,{show:p.data,onSave:()=>D(),onHide:()=>h({data:!1}),isNew:!0}),(0,n.jsxs)("div",{children:[(0,n.jsx)(g.A,{children:(0,n.jsxs)(o.A,{className:"mb-4 d-flex",children:[(0,n.jsxs)(x.A,{onSelect:e=>{s(null!=e?e:"Select...")},children:[(0,n.jsx)(x.A.Toggle,{variant:"light",children:null!=t?t:"GROUP"}),(0,n.jsxs)(x.A.Menu,{children:[(0,n.jsx)(x.A.Item,{eventKey:"Select...",children:"Select..."}),I.groups&&Object.keys(I.groups).sort((e,t)=>e<=t?-1:1).map(e=>(0,n.jsx)(x.A.Item,{eventKey:e,children:e},e))]})]}),(0,n.jsxs)(u.A,{className:"ms-2 d-flex",children:[(0,n.jsx)(m.A,{variant:"outline-success",className:"w-100",onClick:()=>{r({point:(0,a.v)(_.Ac,{group:"template_group",name:"template_name",origin:_.TG.manual}),hash:"new node",show:!0,onDelete:void 0,isNew:!0})},children:"New"}),(0,n.jsx)(m.A,{variant:"outline-success",className:"w-100",onClick:()=>{h({data:!0})},children:"Import"})]})]})}),t&&I.groups&&I.groups[t]?(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(g.A,{className:"row-cols-sm-1 row-cols-md-2 row-cols-xl-3 justify-content-md-center",children:Object.entries(I.groups[t].nodesV2).sort((e,t)=>e<=t?-1:1).map(t=>{var s;let[l,d]=t;return(0,n.jsx)(T,{hash:d,title:l,latency:null!==(s=v[d])&&void 0!==s?s:new P({}),onChangeLatency:e=>{A(t=>({...t,[d]:e}))},onClickEdit:()=>{r({hash:d,show:!0,onDelete:()=>{(0,y.kP)(b.rH.method.remove,"/node","DELETE",(0,a.v)(i.g8,{value:d})).then(async t=>{let{error:s}=t;void 0!==s?e.Error("Delete Node ".concat(d," Failed ").concat(s.code,"| ").concat(s.msg)):(e.Info("Delete Node ".concat(d," Successful.")),D())})}})}},l)})})}):(0,n.jsx)(n.Fragment,{})]})]})}}},e=>{var t=t=>e(e.s=t);e.O(0,[295,375,515,920,637,354,340,190,723,922,969,112,441,517,358],()=>t(5880)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/docs/group/page-3a3d5c6a3c456395.js b/_next/static/chunks/app/docs/group/page-3a3d5c6a3c456395.js deleted file mode 100644 index b9d68ad0..00000000 --- a/_next/static/chunks/app/docs/group/page-3a3d5c6a3c456395.js +++ /dev/null @@ -1 +0,0 @@ -(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:()=>D});var s=n(5155),a=n(2115),l=n(3667),i=n(2981),c=n(57),d=n(3614),o=n(8143),r=n(9637),p=n(2963),u=n(4216),h=n(6121),m=n(9169),x=n(148),v=n(4995),g=n(8927),y=n(5554),j=n.n(y),A=n(744),N=n(2197),w=n(9969),f=n(2049),b=n(3577),I=n(1936),_=n(698),k=function(e){return e.TCP="tcp",e.UDP="udp",e.IP="ip",e.STUN="stun",e.STUNTCP="stun-tcp",e}(k||{});class P{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 S=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"}},T=a.memo(e=>{var t,n;let h=(0,a.useContext)(x.u),m=t=>{t(e.latency),e.onChangeLatency(e.latency)},v=e=>{switch(e){case"tcp":m(e=>{e.tcp.loading=!0}),y((0,b.v)(N._1,{protocol:{case:"http",value:(0,b.v)(N.UM,{url:A.Oz})}}),e=>{m(async t=>{t.tcp={loading:!1,value:e.Latency}})});break;case"udp":m(e=>{e.udp.loading=!0}),y((0,b.v)(N._1,{protocol:{case:"dnsOverQuic",value:(0,b.v)(N.Jc,{host:A.r3,targetDomain:"www.google.com"})}}),e=>{m(async t=>{t.udp={loading:!1,value:e.Latency}})});break;case"ip":m(e=>{e.ip.loading=!0}),y((0,b.v)(N._1,{protocol:{case:"ip",value:(0,b.v)(N.B$,{url:A.DH})}}),e=>{m(async t=>{t.ip.loading=!1,t.ip.ipv4=e.IPv4,t.ip.ipv6=e.IPv6})});break;case"stun-tcp":m(e=>{e.stun_tcp.loading=!0}),y((0,b.v)(N._1,{protocol:{case:"stun",value:(0,b.v)(N._t,{host:A.X3,tcp:!0})}}),e=>{m(async t=>{var n;t.stun_tcp={loading:!1,ip:null===(n=e.Stun)||void 0===n?void 0:n.mappedAddress}})});break;case"stun":m(e=>{e.stun.loading=!0}),y((0,b.v)(N._1,{protocol:{case:"stun",value:(0,b.v)(N._t,{host:A.u1})}}),e=>{m(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.kP)(w.rH.method.latency,"/latency","POST",(0,b.v)(N.oL,{requests:[{hash:e.hash,id:"latency",ipv6:A.oH,protocol:t}]})).then(async e=>{let{data:t,error:s}=e;s&&h.Error("test failed ".concat(s.code,"| ").concat(s.msg));let a={Latency:"timeout"};if(t&&t.idLatencyMap.latency){let e=t.idLatencyMap.latency.reply;switch(e.case){case"latency":a={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")}(e.value)};break;case"ip":a={IPv4:e.value.ipv4,IPv6:e.value.ipv6};break;case"stun":a={Stun:{mapping:S(e.value.Mapping),filter:S(e.value.Filtering),mappedAddress:e.value.mappedAddress}}}}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)(c.A,{variant:"flush",children:[(0,s.jsx)(c.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)(c.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)(c.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)(c.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)(c.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)(c.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)(c.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)(c.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)(c.A.Item,{className:"text-center text-break",children:(0,s.jsxs)(d.A,{className:"d-xl-flex",children:[(0,s.jsxs)(o.A,{onSelect:async t=>{(0,g.kP)(w.rH.method.use,"/node","PUT",(0,b.v)(w.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(s.msg)):h.Info("Change ".concat(t," Node To ").concat(e.hash," Successful"))})},as:d.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)(p.A,{variant:"outline-primary",className:"w-100",onClick:e.onClickEdit,children:"Edit"}),(0,s.jsxs)(o.A,{onSelect:async e=>{v(e)},as:d.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)(u.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)(u.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)(u.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)(u.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)(u.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)(u.A,{size:"sm",animation:"border"})]})]})]})})]})})]})})});class C{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 D=function(){let e=(0,a.useContext)(x.u),[t,n]=(0,a.useState)("Select..."),[i,c]=(0,a.useState)(new C),[o,u]=(0,a.useState)({data:!1}),[y,A]=(0,a.useState)({}),{data:N,error:k,isLoading:S,mutate:D}=(0,v.Ay)("/nodes",(0,g.AD)(w.rH.method.list));return void 0!==k?(0,s.jsx)(j(),{statusCode:k.code,title:k.msg}):S||void 0===N?(0,s.jsx)(m.A,{}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(_.y,{show:i.show,hash:i.hash,point:i.point,isNew:i.isNew,onDelete:i.onDelete,editable:!0,onHide:()=>c({...i,show:!1}),onSave:()=>D(),groups:Object.keys(N.groups).sort((e,t)=>e<=t?-1:1)}),(0,s.jsx)(_.E,{show:o.data,onSave:()=>D(),onHide:()=>u({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)(d.A,{className:"ms-2 d-flex",children:[(0,s.jsx)(p.A,{variant:"outline-success",className:"w-100",onClick:()=>{c({point:(0,b.v)(f.Ac,{group:"template_group",name:"template_name",origin:f.TG.manual}),hash:"new node",show:!0,onDelete:void 0,isNew:!0})},children:"New"}),(0,s.jsx)(p.A,{variant:"outline-success",className:"w-100",onClick:()=>{u({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)(T,{hash:l,title:a,latency:null!==(n=y[l])&&void 0!==n?n:new P({}),onChangeLatency:e=>{A(t=>({...t,[l]:e}))},onClickEdit:()=>{c({hash:l,show:!0,onDelete:()=>{(0,g.kP)(w.rH.method.remove,"/node","DELETE",(0,b.v)(I.g8,{value:l})).then(async t=>{let{error:n}=t;void 0!==n?e.Error("Delete Node ".concat(l," Failed ").concat(n.code,"| ").concat(n.msg)):(e.Info("Delete Node ".concat(l," Successful.")),D())})}})}},a)})})}):(0,s.jsx)(s.Fragment,{})]})]})}}},e=>{var t=t=>e(e.s=t);e.O(0,[295,995,515,920,637,354,340,734,723,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-4ad9b12bd6635096.js b/_next/static/chunks/app/docs/subscribe/page-4ad9b12bd6635096.js deleted file mode 100644 index 2a27b209..00000000 --- a/_next/static/chunks/app/docs/subscribe/page-4ad9b12bd6635096.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[943],{2673:(e,t,n)=>{Promise.resolve().then(n.bind(n,7981))},744:(e,t,n)=>{"use strict";n.d(t,{DH:()=>s,G_:()=>h,Ow:()=>u,Oz:()=>l,VN:()=>x,X3:()=>i,_s:()=>p,dp:()=>m,h$:()=>g,kP:()=>a,mv:()=>v,oH:()=>r,r3:()=>o,u1:()=>c});var a="",l="https://clients3.google.com/generate_204",o="dns.nextdns.io:853",r=!0,s="http://ip.sb",c="stun.syncthing.net:3478",i="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"))&&(r="true"===e),null!==(e=localStorage.getItem("latency_ip_url"))&&(s=e),null!==(e=localStorage.getItem("latency_stun_url"))&&(c=e),null!==(e=localStorage.getItem("latency_stun_tcp_url"))&&(i=e)},u=e=>{y("api_url",e)},m=e=>{y("latency_dns_url",e)},h=e=>{y("latency_http_url",e)},v=e=>{y("latency_ipv6",e.toString())},g=e=>{y("latency_ip_url",e)},p=e=>{y("latency_stun_url",e)},x=e=>{y("latency_stun_tcp_url",e)},y=(e,t)=>{""===t?localStorage.removeItem(e):localStorage.setItem(e,t),d()};d()},8927:(e,t,n)=>{"use strict";n.d(t,{AD:()=>s,gR:()=>i,kP:()=>c});var a=n(744),l=n(950),o=n(7558),r=n(6989);function s(e,t,n,s){return c=>s?(0,l.o)(e.output,s):fetch("".concat(a.kP).concat(c),{method:t,body:n?(0,o.R)(e.input,n):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()))})}async function c(e,t,n,l){let s=await fetch("".concat(a.kP).concat(t),{method:n,body:l?(0,o.R)(e.input,l):void 0});return s.ok?{data:(0,r.Er)(e.output,new Uint8Array(await s.arrayBuffer()))}:{error:{code:s.status,msg:await s.text()}}}function i(e,t,n){return(l,o)=>{let s,{next:c}=o,i=new URL(""!==a.kP?a.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)),(s=new WebSocket(i)).binaryType="arraybuffer",s.addEventListener("open",t=>{console.log("connect to: ".concat(i,", event type: ").concat(t.type)),null==s||s.send(e)}),s.addEventListener("message",e=>{let a=(0,r.Er)(t,new Uint8Array(e.data));c(null,e=>n(e,a))}),s.addEventListener("error",e=>{let t="websocket have some error";c({msg:t,code:500}),console.log(t,e.type)}),s.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!==s&&(console.log("close: ".concat(l)),s.close(),s=void 0)}}}},148:(e,t,n)=>{"use strict";n.d(t,{u:()=>s,y:()=>c});var a=n(5155),l=n(2115),o=n(1757),r=n(491);let s=(0,l.createContext)({Info:e=>{},Error:e=>{}}),c=e=>{let{children:t}=e,[n,c]=(0,l.useState)({value:{},index:0}),i=(e,t)=>c(n=>({value:{...n.value,[n.index]:{text:e,type:t}},index:n.index+1}));return(0,a.jsxs)(s.Provider,{value:{Info:e=>{console.log(e),i(e,"success")},Error:e=>{console.error(e),i(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)(r.A,{role:"alert","aria-live":"assertive",show:!0,bg:l.type,onClose:()=>{let e=n.value;delete e[t],c({...n,value:e})},"aria-atomic":"true",delay:4e3,autohide:!0,animation:!0,children:[(0,a.jsxs)(r.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)(r.A.Body,{className:"text-center",children:l.text})]},"toast"+t)})}),t]})}},7981:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var a=n(5155),l=n(2115),o=n(6121),r=n(3667),s=n(2981),c=n(3614),i=n(2963),d=n(4216),u=n(8143),m=n(9637),h=n(2926),v=n(6180),g=n(9169),p=n(148),x=n(4995),y=n(8927),A=n(5554),_=n.n(A),j=n(4601),w=n(9969),k=n(3577);let f=function(){let[e,t]=(0,l.useState)({}),[n,A]=(0,l.useState)((0,k.v)(j.Yk,{name:"",url:"",type:j.NW.reserve})),{data:f,error:b,isLoading:N,mutate:E}=(0,x.Ay)("/sublist",(0,y.AD)(w.B1.method.get)),S=(0,l.useContext)(p.u);if(void 0!==b)return(0,a.jsx)(_(),{statusCode:b.code,title:b.msg});if(N||void 0===f)return(0,a.jsx)(g.A,{});let I=n=>{t({...e,[n]:!0}),(0,y.kP)(w.B1.method.update,"/sub","PATCH",(0,k.v)(w.tA,{names:[n]})).then(async a=>{let{error:l}=a;void 0!==l?S.Error("Update failed ".concat(l.code,"| ").concat(l.msg)):S.Info("Update successfully"),t({...e,[n]:!1})})},C=e=>{(0,y.kP)(w.B1.method.remove,"/sub","DELETE",(0,k.v)(w.tA,{names:[e]})).then(async t=>{let{error:n}=t;void 0!==n?S.Error("delete ".concat(e," failed, ").concat(n.code,"| ").concat(n.msg)):E()})};return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(o.A,{className:"row-cols-1 row-cols-sm-2 row-cols-md-3 row-cols-lg-4",children:[f.links&&Object.entries(f.links).sort((e,t)=>e<=t?-1:1).map(t=>{let[n,l]=t;return(0,a.jsx)(r.A,{className:"mb-3",children:(0,a.jsxs)(s.A,{className:"h-100",children:[(0,a.jsx)(s.A.Header,{children:l.name}),(0,a.jsx)(s.A.Body,{children:l.url}),(0,a.jsxs)(c.A,{as:s.A.Footer,className:"d-flex",children:[(0,a.jsxs)(i.A,{variant:"outline-primary",onClick:()=>I(l.name),disabled:e[l.name],className:"w-100",children:[e[l.name]&&(0,a.jsx)(d.A,{size:"sm",animation:"border",variant:"primary"}),"Update"]}),(0,a.jsxs)(u.A,{onSelect:e=>{"ok"===e&&C(l.name)},as:c.A,variant:"outline-danger",title:"Remove",className:"w-100",children:[(0,a.jsx)(m.A.Item,{eventKey:"ok",children:"OK"}),(0,a.jsx)(m.A.Item,{eventKey:"cancel",children:"Cancel"})]})]})]})},n)}),(0,a.jsx)(r.A,{className:"mb-3",children:(0,a.jsxs)(s.A,{className:"h-100",children:[(0,a.jsx)(s.A.Header,{children:"Add"}),(0,a.jsxs)(s.A.Body,{children:[(0,a.jsx)(h.A,{label:"Name",className:"mb-3",children:(0,a.jsx)(v.A.Control,{placeholder:"group1",value:n.name,onChange:e=>A((0,k.v)(j.Yk,{...n,name:e.target.value}))})}),(0,a.jsx)(h.A,{label:"Link",className:"mb-3",children:(0,a.jsx)(v.A.Control,{placeholder:"https://www.example.com",value:n.url,onChange:e=>A((0,k.v)(j.Yk,{...n,url:e.target.value}))})})]}),(0,a.jsx)(c.A,{as:s.A.Footer,children:(0,a.jsx)(i.A,{variant:"outline-primary",onClick:async()=>{""!==n.name&&""!==n.url&&(0,y.kP)(w.B1.method.save,"/sub","POST",(0,k.v)(w.bT,{links:[n]})).then(async e=>{let{error:t}=e;void 0!==t?S.Error("save link ".concat(n.url," failed, ").concat(t.code,"| ").concat(t.msg)):E()})},children:"ADD"})})]})})]})})}}},e=>{var t=t=>e(e.s=t);e.O(0,[295,995,515,920,637,376,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-c22b7159fbbaa9d0.js b/_next/static/chunks/app/docs/subscribe/page-c22b7159fbbaa9d0.js new file mode 100644 index 00000000..5cf15ec8 --- /dev/null +++ b/_next/static/chunks/app/docs/subscribe/page-c22b7159fbbaa9d0.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[943],{2673:(e,t,n)=>{Promise.resolve().then(n.bind(n,7981))},744:(e,t,n)=>{"use strict";n.d(t,{DH:()=>r,G_:()=>h,Ow:()=>u,Oz:()=>s,VN:()=>A,X3:()=>i,_s:()=>b,dp:()=>m,h$:()=>v,kP:()=>l,mv:()=>g,oH:()=>a,r3:()=>o,u1:()=>c});var l="",s="https://clients3.google.com/generate_204",o="dns.nextdns.io:853",a=!0,r="http://ip.sb",c="stun.syncthing.net:3478",i="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"))&&(s=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"))&&(r=e),null!==(e=localStorage.getItem("latency_stun_url"))&&(c=e),null!==(e=localStorage.getItem("latency_stun_tcp_url"))&&(i=e)},u=e=>{p("api_url",e)},m=e=>{p("latency_dns_url",e)},h=e=>{p("latency_http_url",e)},g=e=>{p("latency_ipv6",e.toString())},v=e=>{p("latency_ip_url",e)},b=e=>{p("latency_stun_url",e)},A=e=>{p("latency_stun_tcp_url",e)},p=(e,t)=>{""===t?localStorage.removeItem(e):localStorage.setItem(e,t),d()};d()},9169:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var l=n(5155),s=n(5554),o=n.n(s),a=n(4216);let r=function(e){return(0,l.jsxs)("div",{className:"z-1090 d-flex flex-column justify-content-center align-items-center",style:{height:"100px"},children:[void 0!==e.children&&(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(o(),{className:"p2",statusCode:void 0!==e.code?e.code:500,title:e.children})}),(0,l.jsx)("div",{className:"p2",children:(0,l.jsx)(a.A,{})})]})}},8927:(e,t,n)=>{"use strict";n.d(t,{AD:()=>r,kP:()=>c,zZ:()=>i});var l=n(950),s=n(7558),o=n(6989),a=n(744);function r(e,t,n,r){return c=>r?(0,l.o)(e.output,r):fetch("".concat(a.kP).concat(c),{method:t,body:n?(0,s.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()))})}async function c(e,t,n,l){let r=await fetch("".concat(a.kP).concat(t),{method:n,body:l?(0,s.R)(e.input,l):void 0});return r.ok?{data:(0,o.Er)(e.output,new Uint8Array(await r.arrayBuffer()))}:{error:{code:r.status,msg:await r.text()}}}function i(e,t){return(n,l)=>{let r,{next:c}=l,i=new URL(""!==a.kP?a.kP:window.location.toString());i.pathname=n.url,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",n=>{console.log("connect to: ".concat(i,", event type: ").concat(n.type)),null==r||r.send((0,s.R)(e.input,t))}),r.addEventListener("message",t=>{let l=(0,o.Er)(e.output,new Uint8Array(t.data));c(null,e=>n.stream(l,e))}),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(n)),r.close(),r=void 0)}}}},148:(e,t,n)=>{"use strict";n.d(t,{u:()=>r,y:()=>c});var l=n(5155),s=n(2115),o=n(1757),a=n(491);let r=(0,s.createContext)({Info:e=>{},Error:e=>{}}),c=e=>{let{children:t}=e,[n,c]=(0,s.useState)([]),i=(e,t)=>c(n=>[...n,{text:e,type:t}]);return(0,l.jsxs)(r.Provider,{value:{Info:e=>{console.log(e),i(e,"success")},Error:e=>{console.error(e),i(e,"danger")}},children:[(0,l.jsx)(o.A,{className:"p-3",position:"top-center",containerPosition:"fixed",style:{zIndex:999999},children:n.map((e,t)=>(0,l.jsxs)(a.A,{role:"alert","aria-live":"assertive",show:!0,bg:e.type,onClose:()=>{c(e=>[...e.slice(0,t),...e.slice(t+1)])},"aria-atomic":"true",delay:4e3,autohide:!0,animation:!0,children:[(0,l.jsxs)(a.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)(a.A.Body,{className:"text-center",children:e.text})]},"toast"+t))}),t]})}},7981:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>N});var l=n(5155),s=n(3577),o=n(5554),a=n.n(o),r=n(2115),c=n(6121),i=n(3667),d=n(2981),u=n(3614),m=n(2963),h=n(4216),g=n(8143),v=n(9637),b=n(2926),A=n(6180),p=n(4995),x=n(9169),y=n(8927),f=n(148),w=n(9969),j=n(4601);let N=function(){let[e,t]=(0,r.useState)({}),[n,o]=(0,r.useState)((0,s.v)(j.Yk,{name:"",url:"",type:j.NW.reserve})),{data:N,error:S,isLoading:B,mutate:E}=(0,p.Ay)("/sublist",(0,y.AD)(w.B1.method.get)),_=(0,r.useContext)(f.u);if(void 0!==S)return(0,l.jsx)(a(),{statusCode:S.code,title:S.msg});if(B||void 0===N)return(0,l.jsx)(x.A,{});let k=n=>{t({...e,[n]:!0}),(0,y.kP)(w.B1.method.update,"/sub","PATCH",(0,s.v)(w.tA,{names:[n]})).then(async l=>{let{error:s}=l;void 0!==s?_.Error("Update failed ".concat(s.code,"| ").concat(s.msg)):_.Info("Update successfully"),t({...e,[n]:!1})})},C=e=>{(0,y.kP)(w.B1.method.remove,"/sub","DELETE",(0,s.v)(w.tA,{names:[e]})).then(async t=>{let{error:n}=t;void 0!==n?_.Error("delete ".concat(e," failed, ").concat(n.code,"| ").concat(n.msg)):E()})};return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)(c.A,{className:"row-cols-1 row-cols-sm-2 row-cols-md-3 row-cols-lg-4",children:[N.links&&Object.entries(N.links).sort((e,t)=>e<=t?-1:1).map(t=>{let[n,s]=t;return(0,l.jsx)(i.A,{className:"mb-3",children:(0,l.jsxs)(d.A,{className:"h-100",children:[(0,l.jsx)(d.A.Header,{children:s.name}),(0,l.jsx)(d.A.Body,{children:s.url}),(0,l.jsxs)(u.A,{as:d.A.Footer,className:"d-flex",children:[(0,l.jsxs)(m.A,{variant:"outline-primary",onClick:()=>k(s.name),disabled:e[s.name],className:"w-100",children:[e[s.name]&&(0,l.jsx)(h.A,{size:"sm",animation:"border",variant:"primary"}),"Update"]}),(0,l.jsxs)(g.A,{onSelect:e=>{"ok"===e&&C(s.name)},as:u.A,variant:"outline-danger",title:"Remove",className:"w-100",children:[(0,l.jsx)(v.A.Item,{eventKey:"ok",children:"OK"}),(0,l.jsx)(v.A.Item,{eventKey:"cancel",children:"Cancel"})]})]})]})},n)}),(0,l.jsx)(i.A,{className:"mb-3",children:(0,l.jsxs)(d.A,{className:"h-100",children:[(0,l.jsx)(d.A.Header,{children:"Add"}),(0,l.jsxs)(d.A.Body,{children:[(0,l.jsx)(b.A,{label:"Name",className:"mb-3",children:(0,l.jsx)(A.A.Control,{placeholder:"group1",value:n.name,onChange:e=>o((0,s.v)(j.Yk,{...n,name:e.target.value}))})}),(0,l.jsx)(b.A,{label:"Link",className:"mb-3",children:(0,l.jsx)(A.A.Control,{placeholder:"https://www.example.com",value:n.url,onChange:e=>o((0,s.v)(j.Yk,{...n,url:e.target.value}))})})]}),(0,l.jsx)(u.A,{as:d.A.Footer,children:(0,l.jsx)(m.A,{variant:"outline-primary",onClick:async()=>{""!==n.name&&""!==n.url&&(0,y.kP)(w.B1.method.save,"/sub","POST",(0,s.v)(w.bT,{links:[n]})).then(async e=>{let{error:t}=e;void 0!==t?_.Error("save link ".concat(n.url," failed, ").concat(t.code,"| ").concat(t.msg)):E()})},children:"ADD"})})]})})]})})}},3614:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var l=n(4617),s=n.n(l),o=n(2115),a=n(1653),r=n(5155);let c=o.forwardRef((e,t)=>{let{bsPrefix:n,size:l,vertical:o=!1,className:c,role:i="group",as:d="div",...u}=e,m=(0,a.oU)(n,"btn-group"),h=m;return o&&(h="".concat(m,"-vertical")),(0,r.jsx)(d,{...u,ref:t,role:i,className:s()(c,h,l&&"".concat(m,"-").concat(l))})});c.displayName="ButtonGroup";let i=c},8143:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var l=n(2115),s=n(1996),o=n.n(s),a=n(9637),r=n(5570),c=n(3381);let i=o().oneOf(["start","end"]),d=o().oneOfType([i,o().shape({sm:i}),o().shape({md:i}),o().shape({lg:i}),o().shape({xl:i}),o().shape({xxl:i}),o().object]);var u=n(5155);let m={id:o().string,href:o().string,onClick:o().func,title:o().node.isRequired,disabled:o().bool,align:d,menuRole:o().string,renderMenuOnMount:o().bool,rootCloseEvent:o().string,menuVariant:o().oneOf(["dark"]),flip:o().bool,bsPrefix:o().string,variant:o().string,size:o().string},h=l.forwardRef((e,t)=>{let{title:n,children:l,bsPrefix:s,rootCloseEvent:o,variant:i,size:d,menuRole:m,renderMenuOnMount:h,disabled:g,href:v,id:b,menuVariant:A,flip:p,...x}=e;return(0,u.jsxs)(a.A,{ref:t,...x,children:[(0,u.jsx)(r.A,{id:b,href:v,size:d,variant:i,disabled:g,childBsPrefix:s,children:n}),(0,u.jsx)(c.A,{role:m,renderOnMount:h,rootCloseEvent:o,variant:A,flip:p,children:l})]})});h.displayName="DropdownButton",h.propTypes=m;let g=h},6121:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var l=n(4617),s=n.n(l),o=n(2115),a=n(1653),r=n(5155);let c=o.forwardRef((e,t)=>{let{bsPrefix:n,className:l,as:o="div",...c}=e,i=(0,a.oU)(n,"row"),d=(0,a.gy)(),u=(0,a.Jm)(),m="".concat(i,"-cols"),h=[];return d.forEach(e=>{let t;let n=c[e];delete c[e],null!=n&&"object"==typeof n?{cols:t}=n:t=n,null!=t&&h.push("".concat(m).concat(e!==u?"-".concat(e):"","-").concat(t))}),(0,r.jsx)(o,{ref:t,...c,className:s()(l,i,...h)})});c.displayName="Row";let i=c},3620:(e,t,n)=>{"use strict";n.d(t,{U:()=>l});let l=(0,n(6788).w)("Ch5nb29nbGUvcHJvdG9idWYvZHVyYXRpb24ucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIqCghEdXJhdGlvbhIPCgdzZWNvbmRzGAEgASgDEg0KBW5hbm9zGAIgASgFQoMBChNjb20uZ29vZ2xlLnByb3RvYnVmQg1EdXJhdGlvblByb3RvUAFaMWdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2R1cmF0aW9ucGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw")},1936:(e,t,n)=>{"use strict";n.d(t,{Ax:()=>o,g8:()=>a});var l=n(6788),s=n(8123);let o=(0,l.w)("Ch5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIcCgtEb3VibGVWYWx1ZRINCgV2YWx1ZRgBIAEoASIbCgpGbG9hdFZhbHVlEg0KBXZhbHVlGAEgASgCIhsKCkludDY0VmFsdWUSDQoFdmFsdWUYASABKAMiHAoLVUludDY0VmFsdWUSDQoFdmFsdWUYASABKAQiGwoKSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoBSIcCgtVSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoDSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUSDQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDEKDAQoTY29tLmdvb2dsZS5wcm90b2J1ZkINV3JhcHBlcnNQcm90b1ABWjFnb29nbGUuZ29sYW5nLm9yZy9wcm90b2J1Zi90eXBlcy9rbm93bi93cmFwcGVyc3Bi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"),a=(0,s.Z)(o,7)}},e=>{var t=t=>e(e.s=t);e.O(0,[295,375,515,920,637,969,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-422f94f7dd04c501.js b/_next/static/chunks/app/docs/tag/page-422f94f7dd04c501.js deleted file mode 100644 index 46497584..00000000 --- a/_next/static/chunks/app/docs/tag/page-422f94f7dd04c501.js +++ /dev/null @@ -1 +0,0 @@ -(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:()=>S});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),x=t(4995),v=t(8927),j=t(5554),p=t.n(j),b=t(148),f=t(9969),w=t(1649),C=t(3577),y=t(1936),A=t(698);let N=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)(F,{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)(T,{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"})]})]})}),k=(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""},T=e=>{var a,t;let[r,o]=(0,n.useState)({data:k(e.hash,e.data)});return(0,n.useEffect)(()=>{o({data:k(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)})]})})]})},F=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))]})}),S=function(){let e=(0,n.useContext)(b.u),{data:a,error:t,isLoading:d,mutate:h}=(0,x.Ay)("/tags",(0,v.AD)(f.Tc.method.list)),{data:c}=(0,x.Ay)("/nodes",(0,v.AD)(f.rH.method.list)),[g,m]=(0,n.useState)({hash:"",show:!1}),[j,k]=(0,n.useState)({show:!1,tag:(0,C.v)(f.hf,{tag:"",hash:"",type:w.mm.node}),new:!0});if(void 0!==t)return(0,s.jsx)(p(),{statusCode:t.code,title:t.msg});if(d||void 0==a)return(0,s.jsx)(u.A,{});let T=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=>{k({show:!0,tag:(0,C.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,v.kP)(f.Tc.method.remove,"/tag","DELETE",(0,C.v)(y.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(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)(A.y,{show:g.show,hash:g.hash,onHide:()=>m({...g,show:!1})}),(0,s.jsx)(N,{show:j.show,nodes:c,data:a,tag:j.tag,onChangeTag:e=>k({...j,tag:e}),new:j.new,onHide:()=>k({...j,show:!1}),onSave:()=>{""!==j.tag.tag&&""!==j.tag.hash&&(0,v.kP)(f.Tc.method.save,"/tag","POST",j.tag).then(async a=>{let{error:t}=a;void 0!==t?e.Error("save tag ".concat(j.tag.tag," failed, ").concat(t.code,"| ").concat(t.msg)):(e.Info("Set tag ".concat(j.tag.tag," to ").concat(j.tag.hash," successful")),await h()),k({...j,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)(T,{k:a,v:(0,C.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:()=>k({show:!0,tag:(0,C.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:x,inputRef:v,...j}=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:v,autoComplete:"off",checked:!!h,disabled:!!u,onChange:g||d,id:x}),(0,i.jsx)(l.A,{...j,ref:a,className:n()(r,u&&"disabled"),type:void 0,role:void 0,as:"label",htmlFor:x})]})});h.displayName="ToggleButton";let c=h}},e=>{var a=a=>e(e.s=a);e.O(0,[295,995,515,920,637,354,340,734,723,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/tag/page-f7d0d0334d473695.js b/_next/static/chunks/app/docs/tag/page-f7d0d0334d473695.js new file mode 100644 index 00000000..1ca35f97 --- /dev/null +++ b/_next/static/chunks/app/docs/tag/page-f7d0d0334d473695.js @@ -0,0 +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:()=>S});var s=t(5155),n=t(3577),r=t(1936),o=t(5554),l=t.n(o),i=t(2115),d=t(57),h=t(1566),c=t(2963),g=t(2981),m=t(0),u=t(3614),x=t(8627),v=t(2926),j=t(6180),p=t(4995),b=t(9169),f=t(8927),w=t(148),C=t(1731),y=t(9969),A=t(1649);let N=e=>(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(m.A,{show:e.show,onHide:()=>{e.onHide()},children:[(0,s.jsx)(m.A.Header,{closeButton:!0,children:e.tag.tag}),(0,s.jsxs)(m.A.Body,{children:[(0,s.jsxs)(u.A,{className:"mb-3 d-flex",children:[(0,s.jsx)(x.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)(x.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)(v.A,{label:"Tag",className:"mb-2",children:(0,s.jsx)(j.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)(F,{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)(T,{data:e.nodes,hash:e.tag.hash,onChangeNode:a=>{e.tag.hash=a,e.onChangeTag(e.tag)}})})]}),(0,s.jsxs)(m.A.Footer,{children:[(0,s.jsx)(c.A,{variant:"outline-secondary",onClick:()=>{e.onHide()},children:"Close"}),(0,s.jsx)(c.A,{variant:"outline-primary",onClick:()=>{e.onSave()},children:"Save"})]})]})}),k=(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""},T=e=>{var a,t;let[n,r]=(0,i.useState)({data:k(e.hash,e.data)});return(0,i.useEffect)(()=>{r({data:k(e.hash,e.data)})},[e.hash,e.data]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(v.A,{label:"Group",className:"mb-2",children:(0,s.jsxs)(j.A.Select,{defaultValue:n.data,onChange:e=>r({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)(v.A,{label:"Node",className:"mb-2",children:(0,s.jsxs)(j.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[n.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)})]})})]})},F=e=>(0,s.jsx)(v.A,{label:"Mirror",className:"mb-2",children:(0,s.jsxs)(j.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))]})}),S=function(){let e=(0,i.useContext)(w.u),{data:a,error:t,isLoading:o,mutate:m}=(0,p.Ay)("/tags",(0,f.AD)(y.Tc.method.list)),{data:u}=(0,p.Ay)("/nodes",(0,f.AD)(y.rH.method.list)),[x,v]=(0,i.useState)({hash:"",show:!1}),[j,k]=(0,i.useState)({show:!1,tag:(0,n.v)(y.hf,{tag:"",hash:"",type:A.mm.node}),new:!0});if(void 0!==t)return(0,s.jsx)(l(),{statusCode:t.code,title:t.msg});if(o||void 0==a)return(0,s.jsx)(b.A,{});let T=a=>(0,s.jsxs)(d.A.Item,{className:"align-items-center d-flex justify-content-between",style:{border:"0ch",borderBottom:"1px solid #dee2e6"},action:!0,onClick:e=>{k({show:!0,tag:(0,n.v)(y.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)(h.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(),v({hash:a.v.hash[0],show:!0})},children:a.v.hash})]})})]}),(0,s.jsx)(c.A,{variant:"outline-danger",as:"span",size:"sm",onClick:t=>{t.stopPropagation(),(0,f.kP)(y.Tc.method.remove,"/tag","DELETE",(0,n.v)(r.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(s.msg)):(e.Info("delete tag ".concat(a.k," success")),await m())})},children:(0,s.jsx)("i",{className:"bi-trash"})})]},a.k);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(C.y,{show:x.show,hash:x.hash,onHide:()=>v({...x,show:!1})}),(0,s.jsx)(N,{show:j.show,nodes:u,data:a,tag:j.tag,onChangeTag:e=>k({...j,tag:e}),new:j.new,onHide:()=>k({...j,show:!1}),onSave:()=>{""!==j.tag.tag&&""!==j.tag.hash&&(0,f.kP)(y.Tc.method.save,"/tag","POST",j.tag).then(async a=>{let{error:t}=a;void 0!==t?e.Error("save tag ".concat(j.tag.tag," failed, ").concat(t.code,"| ").concat(t.msg)):(e.Info("Set tag ".concat(j.tag.tag," to ").concat(j.tag.hash," successful")),await m()),k({...j,show:!1})})}}),(0,s.jsx)(g.A,{className:"mb-3",children:(0,s.jsxs)(d.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)(T,{k:a,v:(0,n.v)(A.xN,t)},a)}),(0,s.jsx)(d.A.Item,{className:"d-sm-flex",children:(0,s.jsxs)(c.A,{variant:"outline-success",className:"flex-grow-1",onClick:()=>k({show:!0,tag:(0,n.v)(y.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:()=>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:x,inputRef:v,...j}=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:v,autoComplete:"off",checked:!!h,disabled:!!u,onChange:g||d,id:x}),(0,i.jsx)(l.A,{...j,ref:a,className:n()(r,u&&"disabled"),type:void 0,role:void 0,as:"label",htmlFor:x})]})});h.displayName="ToggleButton";let c=h}},e=>{var a=a=>e(e.s=a);e.O(0,[295,375,515,920,637,354,340,190,723,922,969,112,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 deleted file mode 100644 index 7690a088..00000000 --- a/_next/static/chunks/app/docs/webui/page-270cf575227966d0.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:()=>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-9683aee09706e66c.js b/_next/static/chunks/app/docs/webui/page-9683aee09706e66c.js new file mode 100644 index 00000000..30b72869 --- /dev/null +++ b/_next/static/chunks/app/docs/webui/page-9683aee09706e66c.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:()=>s,VN:()=>f,X3:()=>i,_s:()=>g,dp:()=>m,h$:()=>x,kP:()=>l,mv:()=>p,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=>{y("api_url",e)},m=e=>{y("latency_dns_url",e)},h=e=>{y("latency_http_url",e)},p=e=>{y("latency_ipv6",e.toString())},x=e=>{y("latency_ip_url",e)},g=e=>{y("latency_stun_url",e)},f=e=>{y("latency_stun_tcp_url",e)},y=(e,t)=>{""===t?localStorage.removeItem(e):localStorage.setItem(e,t),u()};u()},2859:(e,t,n)=>{"use strict";n.d(t,{$:()=>c});var l=n(5155),s=n(6180),a=n(6121),r=n(3667);let c=e=>{let{label:t,checked:n,onChange:c}=e;return(0,l.jsxs)(s.A.Group,{as:a.A,className:"mb-2",children:[(0,l.jsx)(s.A.Label,{column:!0,sm:2,children:t}),(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:n,onChange:e=>c(e.target.checked)})})]})}},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)([]),i=(e,t)=>o(n=>[...n,{text:e,type:t}]);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:n.map((e,t)=>(0,l.jsxs)(r.A,{role:"alert","aria-live":"assertive",show:!0,bg:e.type,onClose:()=>{o(e=>[...e.slice(0,t),...e.slice(t+1)])},"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:e.text})]},"toast"+t))}),t]})}},7305:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>x});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(2859),h=n(148);let p=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"})]})})]})})}),x=function(){let e=(0,s.useContext)(h.u),[t,n]=(0,s.useState)(d.kP),[a,r]=(0,s.useState)(d.Oz),[c,o]=(0,s.useState)(d.r3),[i,x]=(0,s.useState)(d.oH),[g,f]=(0,s.useState)(d.DH),[y,v]=(0,s.useState)(d.u1),[S,_]=(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)(p,{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)(m.$,{label:"IPv6",checked:i,onChange:()=>{x(!i),(0,d.mv)(!i)}}),(0,l.jsx)(p,{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)(p,{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)(p,{title:"IP",placeholder:"http://ip.sb",value:g,onChange:f,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)(p,{title:"STUN",placeholder:"stun.syncthing.net:3478",value:y,onChange:v,onClick:()=>{(0,d._s)(y),""!==y?e.Info("Set Latency STUN Url: ".concat(y," success.")):e.Info("Remove Latency STUN Url success.")}}),(0,l.jsx)(p,{title:"STUN TCP",placeholder:"stun.syncthing.net:3478",value:S,onChange:_,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-44477b5deafae6cb.js b/_next/static/chunks/app/layout-44477b5deafae6cb.js new file mode 100644 index 00000000..c96512ad --- /dev/null +++ b/_next/static/chunks/app/layout-44477b5deafae6cb.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_:()=>m,Ow:()=>u,Oz:()=>a,VN:()=>h,X3:()=>c,_s:()=>x,dp:()=>f,h$:()=>v,kP:()=>r,mv:()=>p,oH:()=>s,r3:()=>l,u1:()=>i});var r="",a="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");r=null!==e?e:"",e=localStorage.getItem("remote_bypass"),null!==(e=localStorage.getItem("latency_http_url"))&&(a=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)},m=e=>{g("latency_http_url",e)},p=e=>{g("latency_ipv6",e.toString())},v=e=>{g("latency_ip_url",e)},x=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 r=n(5155),a=n(2115),l=n(1757),s=n(491);let o=(0,a.createContext)({Info:e=>{},Error:e=>{}}),i=e=>{let{children:t}=e,[n,i]=(0,a.useState)([]),c=(e,t)=>i(n=>[...n,{text:e,type:t}]);return(0,r.jsxs)(o.Provider,{value:{Info:e=>{console.log(e),c(e,"success")},Error:e=>{console.error(e),c(e,"danger")}},children:[(0,r.jsx)(l.A,{className:"p-3",position:"top-center",containerPosition:"fixed",style:{zIndex:999999},children:n.map((e,t)=>(0,r.jsxs)(s.A,{role:"alert","aria-live":"assertive",show:!0,bg:e.type,onClose:()=>{i(e=>[...e.slice(0,t),...e.slice(t+1)])},"aria-atomic":"true",delay:4e3,autohide:!0,animation:!0,children:[(0,r.jsxs)(s.A.Header,{children:[(0,r.jsx)("strong",{className:"me-auto",children:"Notification"}),(0,r.jsx)("small",{className:"text-muted",children:"just now"})]}),(0,r.jsx)(s.A.Body,{className:"text-center",children:e.text})]},"toast"+t))}),t]})}},8319:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>Q});var r=n(5155);n(3386),n(5685);var a=n(4617),l=n.n(a),s=n(2115),o=n(1653);let i=s.forwardRef((e,t)=>{let{bsPrefix:n,fluid:a=!1,as:s="div",className:i,...c}=e,d=(0,o.oU)(n,"container");return(0,r.jsx)(s,{ref:t,...c,className:l()(i,a?"".concat(d).concat("string"==typeof a?"-".concat(a):"-fluid"):d)})});i.displayName="Container";var c=n(148),d=n(6658),u=n(7644),f=n(6647);let m=s.forwardRef((e,t)=>{let{bsPrefix:n,className:a,as:s,...i}=e;n=(0,o.oU)(n,"navbar-brand");let c=s||(i.href?"a":"span");return(0,r.jsx)(c,{...i,ref:t,className:l()(a,n)})});m.displayName="NavbarBrand";var p=n(896),v=n(1668);let x=s.forwardRef((e,t)=>{let{children:n,bsPrefix:a,...l}=e;a=(0,o.oU)(a,"navbar-collapse");let i=(0,s.useContext)(v.A);return(0,r.jsx)(p.A,{in:!!(i&&i.expanded),...l,children:(0,r.jsx)("div",{ref:t,className:a,children:n})})});x.displayName="NavbarCollapse";var h=n(3853);let g=s.forwardRef((e,t)=>{let{bsPrefix:n,className:a,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)||{},x=(0,h.A)(e=>{u&&u(e),m&&m()});return"button"===d&&(f.type="button"),(0,r.jsx)(d,{...f,ref:t,onClick:x,"aria-label":c,className:l()(a,n,!p&&"collapsed"),children:i||(0,r.jsx)("span",{className:"".concat(n,"-icon")})})});g.displayName="NavbarToggle";var y=n(1146);let j=new WeakMap,b=(e,t)=>{if(!e||!t)return;let n=j.get(t)||new Map;j.set(t,n);let r=n.get(e);return r||((r=t.matchMedia(e)).refCount=0,n.set(r.media,r)),r},A=function(e){let t=Object.keys(e);function n(e,t){return e===t?t:e?`${e} and ${t}`:t}return function(r,a,l){let o;return"object"==typeof r?(o=r,l=a,a=!0):o={[r]:a=a||!0},function(e,t="undefined"==typeof window?void 0:window){let n=b(e,t),[r,a]=(0,s.useState)(()=>!!n&&n.matches);return(0,y.A)(()=>{let n=b(e,t);if(!n)return a(!1);let r=j.get(t),l=()=>{a(n.matches)};return n.refCount++,n.addListener(l),l(),()=>{n.removeListener(l),n.refCount--,n.refCount<=0&&(null==r||r.delete(n.media)),n=void 0}},[e]),r}((0,s.useMemo)(()=>Object.entries(o).reduce((r,[a,l])=>{if("up"===l||!0===l){let t;r=n(r,("number"==typeof(t=e[a])&&(t=`${t}px`),`(min-width: ${t})`))}if("down"===l||!0===l){let l;r=n(r,(l="number"==typeof(l=e[t[Math.min(t.indexOf(a)+1,t.length-1)]])?`${l-.2}px`:`calc(${l} - 0.2px)`,`(max-width: ${l})`))}return r},""),[JSON.stringify(o)]),l)}}({xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400});var N=n(9952),w=n(3281);let I=s.forwardRef((e,t)=>{let{className:n,bsPrefix:a,as:s="div",...i}=e;return a=(0,o.oU)(a,"offcanvas-body"),(0,r.jsx)(s,{ref:t,className:l()(n,a),...i})});I.displayName="OffcanvasBody";var _=n(2400),C=n(5998),k=n(4837),O=n(4579);let E={[_.ns]:"show",[_._K]:"show"},S=s.forwardRef((e,t)=>{let{bsPrefix:n,className:a,children:i,in:c=!1,mountOnEnter:d=!1,unmountOnExit:u=!1,appear:f=!1,...m}=e;return n=(0,o.oU)(n,"offcanvas"),(0,r.jsx)(O.A,{ref:t,addEndListener:k.A,in:c,mountOnEnter:d,unmountOnExit:u,appear:f,...m,childRef:(0,C.am)(i),children:(e,t)=>s.cloneElement(i,{...t,className:l()(a,i.props.className,(e===_.ns||e===_.ze)&&"".concat(n,"-toggling"),E[e])})})});S.displayName="OffcanvasToggling";var R=n(7467),T=n(2243);let U=s.forwardRef((e,t)=>{let{bsPrefix:n,className:a,closeLabel:s="Close",closeButton:i=!1,...c}=e;return n=(0,o.oU)(n,"offcanvas-header"),(0,r.jsx)(T.A,{ref:t,...c,className:l()(a,n),closeLabel:s,closeButton:i})});U.displayName="OffcanvasHeader";let K=(0,n(7449).A)("h5"),P=s.forwardRef((e,t)=>{let{className:n,bsPrefix:a,as:s=K,...i}=e;return a=(0,o.oU)(a,"offcanvas-title"),(0,r.jsx)(s,{ref:t,className:l()(n,a),...i})});P.displayName="OffcanvasTitle";var M=n(3876);function B(e){return(0,r.jsx)(S,{...e})}function H(e){return(0,r.jsx)(w.A,{...e})}let L=s.forwardRef((e,t)=>{let{bsPrefix:n,className:a,children:i,"aria-labelledby":c,placement:d="start",responsive:u,show:f=!1,backdrop:m=!0,keyboard:p=!0,scroll:v=!1,onEscapeKeyDown:x,onShow:g,onHide:y,container:j,autoFocus:b=!0,enforceFocus:w=!0,restoreFocus:I=!0,restoreFocusOptions:_,onEntered:C,onExit:k,onExiting:O,onEnter:E,onEntering:S,onExited:T,backdropClassName:U,manager:K,renderStaticNode:P=!1,...L}=e,D=(0,s.useRef)();n=(0,o.oU)(n,"offcanvas");let[F,$]=(0,s.useState)(!1),W=(0,h.A)(y),z=A(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,r.jsx)("div",{...e,className:l()("".concat(n,"-backdrop"),U)}),[U,n]),Y=e=>(0,r.jsx)("div",{...e,...L,className:l()(a,u?"".concat(n,"-").concat(u):n,"".concat(n,"-").concat(d)),"aria-labelledby":c,children:i});return(0,r.jsxs)(r.Fragment,{children:[!F&&(u||P)&&Y({}),(0,r.jsx)(R.A.Provider,{value:G,children:(0,r.jsx)(N.A,{show:F,ref:t,backdrop:m,container:j,keyboard:p,autoFocus:b,enforceFocus:w&&!v,restoreFocus:I,restoreFocusOptions:_,onEscapeKeyDown:x,onShow:g,onHide:W,onEnter:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r1?t-1:0),r=1;r{let{onHide:n,...a}=e,l=(0,s.useContext)(v.A),o=(0,h.A)(()=>{null==l||null==l.onToggle||l.onToggle(),null==n||n()});return(0,r.jsx)(D,{ref:t,show:!!(null!=l&&l.expanded),...a,renderStaticNode:!0,onHide:o})});F.displayName="NavbarOffcanvas";let $=s.forwardRef((e,t)=>{let{className:n,bsPrefix:a,as:s="span",...i}=e;return a=(0,o.oU)(a,"navbar-text"),(0,r.jsx)(s,{ref:t,className:l()(n,a),...i})});$.displayName="NavbarText";let W=s.forwardRef((e,t)=>{let{bsPrefix:n,expand:a=!0,variant:i="light",bg:c,fixed:d,sticky:m,className:p,as:x="nav",expanded:h,onToggle:g,onSelect:y,collapseOnSelect:j=!1,...b}=(0,f.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:a}),[A,h,a,g]);return(0,r.jsx)(v.A.Provider,{value:I,children:(0,r.jsx)(u.A.Provider,{value:N,children:(0,r.jsx)(x,{ref:t,...b,className:l()(p,A,a&&w,i&&"".concat(A,"-").concat(i),c&&"bg-".concat(c),m&&"sticky-".concat(m),d&&"fixed-".concat(d))})})})});W.displayName="Navbar";let z=Object.assign(W,{Brand:m,Collapse:x,Offcanvas:F,Text:$,Toggle:g});var G=n(3360),J=n(9637),Y=n(5748);let Z=s.forwardRef((e,t)=>{let{id:n,title:a,children:s,bsPrefix:i,className:c,rootCloseEvent:d,menuRole:u,disabled:f,active:m,renderMenuOnMount:p,menuVariant:v,...x}=e,h=(0,o.oU)(void 0,"nav-item");return(0,r.jsxs)(J.A,{ref:t,...x,className:l()(c,h),children:[(0,r.jsx)(J.A.Toggle,{id:n,eventKey:null,active:m,disabled:f,childBsPrefix:i,as:Y.A,children:a}),(0,r.jsx)(J.A.Menu,{role:u,renderOnMount:p,rootCloseEvent:d,variant:v,children:s})]})});Z.displayName="NavDropdown";let V=Object.assign(Z,{Item:J.A.Item,ItemText:J.A.ItemText,Divider:J.A.Divider,Header:J.A.Header});var X=n(744);let q=function(e){let t=(0,d.useRouter)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(z,{collapseOnSelect:!0,expand:"lg",style:{backdropFilter:"blur(50px)"},className:"shadow-sm",sticky:"top",children:(0,r.jsxs)(i,{fluid:!0,children:[(0,r.jsx)(z.Toggle,{"aria-controls":"responsive-navbar-nav"}),(0,r.jsx)(z.Collapse,{children:(0,r.jsxs)(G.A,{activeKey:(0,d.usePathname)(),onSelect:(e,n)=>{n.preventDefault(),e&&t.push(e)},children:[(0,r.jsx)(G.A.Item,{children:(0,r.jsx)(G.A.Link,{eventKey:"/",children:"HOME"})}),(0,r.jsx)(G.A.Item,{children:(0,r.jsx)(G.A.Link,{eventKey:"/docs/group/",children:"OUTBOUND"})}),(0,r.jsx)(G.A.Item,{children:(0,r.jsx)(G.A.Link,{eventKey:"/docs/tag/",children:"TAG"})}),(0,r.jsx)(G.A.Item,{children:(0,r.jsx)(G.A.Link,{eventKey:"/docs/subscribe/",children:"SUBSCRIBE"})}),(0,r.jsxs)(V,{title:"CONNECTIONS",active:(0,d.usePathname)().startsWith("/docs/connections/"),children:[(0,r.jsx)(V.Item,{eventKey:"/docs/connections/",children:"Connections"}),(0,r.jsx)(V.Item,{eventKey:"/docs/connections/failed",children:"Failed History"})]}),(0,r.jsxs)(V,{title:"BYPASS",active:(0,d.usePathname)().startsWith("/docs/bypass/"),children:[(0,r.jsx)(V.Item,{eventKey:"/docs/bypass/",children:"Config"}),(0,r.jsx)(V.Item,{eventKey:"/docs/bypass/test",children:"Test Route"}),(0,r.jsx)(V.Item,{eventKey:"/docs/bypass/block",children:"Block History"})]}),(0,r.jsxs)(V,{title:"SETTING",active:(0,d.usePathname)().startsWith("/docs/config/")||(0,d.usePathname)().startsWith("/docs/webui/"),children:[(0,r.jsx)(V.Item,{eventKey:"/docs/config/",children:"Config"}),(0,r.jsx)(V.Item,{eventKey:"/docs/config/inbounds/",children:"Inbound"}),(0,r.jsx)(V.Item,{eventKey:"/docs/webui/",children:"WebUI"}),(0,r.jsx)(V.Divider,{}),(0,r.jsx)(V.Item,{eventKey:X.kP+"/debug/pprof",children:"Pprof"}),(0,r.jsx)(V.Divider,{}),(0,r.jsx)(V.Item,{eventKey:"/docs/config/about",children:"About"})]})]})})]})}),e.children]})};function Q(e){let{children:t}=e;return(0,r.jsxs)("html",{lang:"en","data-bs-theme":"auto",children:[(0,r.jsxs)("head",{children:[(0,r.jsx)("meta",{charSet:"utf-8"}),(0,r.jsx)("title",{children:"Yuhaiin"}),(0,r.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,r.jsx)("link",{rel:"icon",href:"/docs/faviconv2.ico"}),(0,r.jsx)("meta",{name:"description",content:"yuhaiin"}),(0,r.jsx)("link",{rel:"apple-touch-icon",href:"/docs/logov2192.png"})]}),(0,r.jsx)("body",{children:(0,r.jsx)(q,{children:(0,r.jsx)(i,{className:"mt-3 mb-3",children:(0,r.jsx)(c.y,{children:t})})})})]})}},896:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(4617),a=n.n(r),l=n(3762),s=n(2115),o=n(2400),i=n(5998),c=n(4837),d=n(4309),u=n(3557),f=n(4579),m=n(5155);let p={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function v(e,t){let n=t["offset".concat(e[0].toUpperCase()).concat(e.slice(1))],r=p[e];return n+parseInt((0,l.A)(t,r[0]),10)+parseInt((0,l.A)(t,r[1]),10)}let x={[o.kp]:"collapse",[o.ze]:"collapsing",[o.ns]:"collapsing",[o._K]:"collapse show"},h=s.forwardRef((e,t)=>{let{onEnter:n,onEntering:r,onEntered:l,onExit:o,onExiting:p,className:h,children:g,dimension:y="height",in:j=!1,timeout:b=300,mountOnEnter:A=!1,unmountOnExit:N=!1,appear:w=!1,getDimensionValue:I=v,..._}=e,C="function"==typeof y?y():y,k=(0,s.useMemo)(()=>(0,d.A)(e=>{e.style[C]="0"},n),[C,n]),O=(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")},r),[C,r]),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},p),[C,p]);return(0,m.jsx)(f.A,{ref:t,addEndListener:c.A,..._,"aria-expanded":_.role?j:null,onEnter:k,onEntering:O,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:a()(h,g.props.className,x[e],"width"===C&&"collapse-horizontal")})})})},3360:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(4617),a=n.n(r),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:r,as:l="div",...s}=e;return r=(0,i.oU)(r,"nav-item"),(0,u.jsx)(l,{ref:t,className:a()(n,r),...s})});f.displayName="NavItem";var m=n(5748);let p=l.forwardRef((e,t)=>{let n,r;let{as:f="div",bsPrefix:m,variant:p,fill:v=!1,justify:x=!1,navbar:h,navbarScroll:g,className:y,activeKey:j,...b}=(0,s.Zw)(e,{activeKey:"onSelect"}),A=(0,i.oU)(m,"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:r}=I),(0,u.jsx)(o.A,{as:f,ref:t,activeKey:j,className:a()(y,{[A]:!N,["".concat(n,"-nav")]:N,["".concat(n,"-nav-scroll")]:N&&g,["".concat(r,"-").concat(p)]:!!r,["".concat(A,"-").concat(p)]:!!p,["".concat(A,"-fill")]:v,["".concat(A,"-justified")]:x}),...b})});p.displayName="Nav";let v=Object.assign(p,{Item:f,Link:m.A})},5748:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(4617),a=n.n(r),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:r,as:l=s.A,active:u,eventKey:f,disabled:m=!1,...p}=e;n=(0,c.oU)(n,"nav-link");let[v,x]=(0,o.M)({key:(0,i.u)(f,p.href),active:u,disabled:m,...p});return(0,d.jsx)(l,{...p,...v,ref:t,disabled:m,className:a()(r,n,m&&"disabled",x.isActive&&"active")})});u.displayName="NavLink";let f=u},1653:(e,t,n)=>{"use strict";n.d(t,{Jm:()=>u,Jy:()=>a,Wz:()=>f,ff:()=>l,gy:()=>d,oU:()=>c});var r=n(2115);n(5155);let a=["xxl","xl","lg","md","sm","xs"],l="xs",s=r.createContext({prefixes:{},breakpoints:a,minBreakpoint:l}),{Consumer:o,Provider:i}=s;function c(e,t){let{prefixes:n}=(0,r.useContext)(s);return e||n[t]||t}function d(){let{breakpoints:e}=(0,r.useContext)(s);return e}function u(){let{minBreakpoint:e}=(0,r.useContext)(s);return e}function f(){let{dir:e}=(0,r.useContext)(s);return"rtl"===e}},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),a=0;a{},5685:()=>{},4617:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e="",t=0;t{var t=t=>e(e.s=t);e.O(0,[675,740,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-77724a14572beb8f.js b/_next/static/chunks/app/layout-77724a14572beb8f.js deleted file mode 100644 index 8f035d94..00000000 --- a/_next/static/chunks/app/layout-77724a14572beb8f.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})},"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/page-13f84e18ea7bc760.js b/_next/static/chunks/app/page-13f84e18ea7bc760.js deleted file mode 100644 index b1256714..00000000 --- a/_next/static/chunks/app/page-13f84e18ea7bc760.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[974],{9490:(e,t,n)=>{Promise.resolve().then(n.bind(n,9567))},744:(e,t,n)=>{"use strict";n.d(t,{DH:()=>a,G_:()=>g,Ow:()=>i,Oz:()=>l,VN:()=>h,X3:()=>u,_s:()=>m,dp:()=>p,h$:()=>y,kP:()=>o,mv:()=>_,oH:()=>c,r3:()=>r,u1:()=>s});var o="",l="https://clients3.google.com/generate_204",r="dns.nextdns.io:853",c=!0,a="http://ip.sb",s="stun.syncthing.net:3478",u="stun.nextcloud.com:443";let d=()=>{let e=localStorage.getItem("api_url");o=null!==e?e:"",e=localStorage.getItem("remote_bypass"),null!==(e=localStorage.getItem("latency_http_url"))&&(l=e),null!==(e=localStorage.getItem("latency_dns_url"))&&(r=e),null!==(e=localStorage.getItem("latency_ipv6"))&&(c="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"))&&(u=e)},i=e=>{v("api_url",e)},p=e=>{v("latency_dns_url",e)},g=e=>{v("latency_http_url",e)},_=e=>{v("latency_ipv6",e.toString())},y=e=>{v("latency_ip_url",e)},m=e=>{v("latency_stun_url",e)},h=e=>{v("latency_stun_tcp_url",e)},v=(e,t)=>{""===t?localStorage.removeItem(e):localStorage.setItem(e,t),d()};d()},8927:(e,t,n)=>{"use strict";n.d(t,{AD:()=>a,gR:()=>u,kP:()=>s});var o=n(744),l=n(950),r=n(7558),c=n(6989);function a(e,t,n,a){return s=>a?(0,l.o)(e.output,a):fetch("".concat(o.kP).concat(s),{method:t,body:n?(0,r.R)(e.input,n):void 0}).then(async t=>{if(!t.ok)throw{code:t.status,msg:t.statusText,raw:t.text()};return(0,c.Er)(e.output,new Uint8Array(await t.arrayBuffer()))})}async function s(e,t,n,l){let a=await fetch("".concat(o.kP).concat(t),{method:n,body:l?(0,r.R)(e.input,l):void 0});return a.ok?{data:(0,c.Er)(e.output,new Uint8Array(await a.arrayBuffer()))}:{error:{code:a.status,msg:await a.text()}}}function u(e,t,n){return(l,r)=>{let a,{next:s}=r,u=new URL(""!==o.kP?o.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)),(a=new WebSocket(u)).binaryType="arraybuffer",a.addEventListener("open",t=>{console.log("connect to: ".concat(u,", event type: ").concat(t.type)),null==a||a.send(e)}),a.addEventListener("message",e=>{let o=(0,c.Er)(t,new Uint8Array(e.data));s(null,e=>n(e,o))}),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),d||(console.log("reconnect after 1 seconds"),setTimeout(i,1e3))}))};return i(),()=>{d=!0,void 0!==a&&(console.log("close: ".concat(l)),a.close(),a=void 0)}}}},9567:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y});var o=n(5155),l=n(2981),r=n(9169),c=n(4995),a=n(8927),s=n(5554),u=n.n(s),d=n(9969),i=n(9093),p=n(3577),g=n(2049);let _=function(){var e,t;let{data:n,error:s,isLoading:_}=(0,c.Ay)("/node/now",(0,a.AD)(d.rH.method.now));return void 0!==s?(0,o.jsx)(u(),{statusCode:s.code,title:s.msg}):_||void 0===n?(0,o.jsx)(r.A,{}):(0,o.jsxs)("div",{children:[(0,o.jsxs)(l.A,{className:"mb-3",children:[(0,o.jsx)(l.A.Header,{children:"TCP"}),(0,o.jsx)(l.A.Body,{children:(0,o.jsx)("pre",{children:(0,i.J7)(g.Ac,null!==(e=n.tcp)&&void 0!==e?e:(0,p.v)(g.Ac,{}),{prettySpaces:2})})})]}),(0,o.jsxs)(l.A,{className:"mb-3",children:[(0,o.jsx)(l.A.Header,{children:"UDP"}),(0,o.jsx)(l.A.Body,{children:(0,o.jsx)("pre",{children:(0,i.J7)(g.Ac,null!==(t=n.udp)&&void 0!==t?t:(0,p.v)(g.Ac,{}),{prettySpaces:2})})})]})]})};function y(){return(0,o.jsx)("div",{children:(0,o.jsx)(_,{})})}}},e=>{var t=t=>e(e.s=t);e.O(0,[295,995,340,190,145,441,517,358],()=>t(9490)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/page-51d2dc7d6ab14c2c.js b/_next/static/chunks/app/page-51d2dc7d6ab14c2c.js new file mode 100644 index 00000000..506e7d1d --- /dev/null +++ b/_next/static/chunks/app/page-51d2dc7d6ab14c2c.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[974],{9490:(e,t,r)=>{Promise.resolve().then(r.bind(r,9567))},744:(e,t,r)=>{"use strict";r.d(t,{DH:()=>o,G_:()=>v,Ow:()=>u,Oz:()=>l,VN:()=>g,X3:()=>d,_s:()=>f,dp:()=>m,h$:()=>y,kP:()=>a,mv:()=>p,oH:()=>n,r3:()=>s,u1:()=>c});var a="",l="https://clients3.google.com/generate_204",s="dns.nextdns.io:853",n=!0,o="http://ip.sb",c="stun.syncthing.net:3478",d="stun.nextcloud.com:443";let i=()=>{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"))&&(s=e),null!==(e=localStorage.getItem("latency_ipv6"))&&(n="true"===e),null!==(e=localStorage.getItem("latency_ip_url"))&&(o=e),null!==(e=localStorage.getItem("latency_stun_url"))&&(c=e),null!==(e=localStorage.getItem("latency_stun_tcp_url"))&&(d=e)},u=e=>{h("api_url",e)},m=e=>{h("latency_dns_url",e)},v=e=>{h("latency_http_url",e)},p=e=>{h("latency_ipv6",e.toString())},y=e=>{h("latency_ip_url",e)},f=e=>{h("latency_stun_url",e)},g=e=>{h("latency_stun_tcp_url",e)},h=(e,t)=>{""===t?localStorage.removeItem(e):localStorage.setItem(e,t),i()};i()},9169:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(5155),l=r(5554),s=r.n(l),n=r(4216);let o=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)(s(),{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,{})})]})}},8927:(e,t,r)=>{"use strict";r.d(t,{AD:()=>o,kP:()=>c,zZ:()=>d});var a=r(950),l=r(7558),s=r(6989),n=r(744);function o(e,t,r,o){return c=>o?(0,a.o)(e.output,o):fetch("".concat(n.kP).concat(c),{method:t,body:r?(0,l.R)(e.input,r):void 0}).then(async t=>{if(!t.ok)throw{code:t.status,msg:t.statusText,raw:t.text()};return(0,s.Er)(e.output,new Uint8Array(await t.arrayBuffer()))})}async function c(e,t,r,a){let o=await fetch("".concat(n.kP).concat(t),{method:r,body:a?(0,l.R)(e.input,a):void 0});return o.ok?{data:(0,s.Er)(e.output,new Uint8Array(await o.arrayBuffer()))}:{error:{code:o.status,msg:await o.text()}}}function d(e,t){return(r,a)=>{let o,{next:c}=a,d=new URL(""!==n.kP?n.kP:window.location.toString());d.pathname=r.url,d.protocol="https:"===d.protocol?"wss:":"ws:";let i=!1,u=()=>{i||(console.log("connecting to: ".concat(d)),(o=new WebSocket(d)).binaryType="arraybuffer",o.addEventListener("open",r=>{console.log("connect to: ".concat(d,", event type: ").concat(r.type)),null==o||o.send((0,l.R)(e.input,t))}),o.addEventListener("message",t=>{let a=(0,s.Er)(e.output,new Uint8Array(t.data));c(null,e=>r.stream(a,e))}),o.addEventListener("error",e=>{let t="websocket have some error";c({msg:t,code:500}),console.log(t,e.type)}),o.addEventListener("close",e=>{console.log("websocket closed, code: "+e.code),c(null,void 0),i||(console.log("reconnect after 1 seconds"),setTimeout(u,1e3))}))};return u(),()=>{i=!0,void 0!==o&&(console.log("close: ".concat(r)),o.close(),o=void 0)}}}},9567:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>y});var a=r(5155),l=r(9093),s=r(3577),n=r(5554),o=r.n(n),c=r(2981),d=r(4995),i=r(9169),u=r(8927),m=r(9969),v=r(2049);let p=function(){var e,t;let{data:r,error:n,isLoading:p}=(0,d.Ay)("/node/now",(0,u.AD)(m.rH.method.now));return void 0!==n?(0,a.jsx)(o(),{statusCode:n.code,title:n.msg}):p||void 0===r?(0,a.jsx)(i.A,{}):(0,a.jsxs)("div",{children:[(0,a.jsxs)(c.A,{className:"mb-3",children:[(0,a.jsx)(c.A.Header,{children:"TCP"}),(0,a.jsx)(c.A.Body,{children:(0,a.jsx)("pre",{children:(0,l.J7)(v.Ac,null!==(e=r.tcp)&&void 0!==e?e:(0,s.v)(v.Ac,{}),{prettySpaces:2})})})]}),(0,a.jsxs)(c.A,{className:"mb-3",children:[(0,a.jsx)(c.A.Header,{children:"UDP"}),(0,a.jsx)(c.A.Body,{children:(0,a.jsx)("pre",{children:(0,l.J7)(v.Ac,null!==(t=r.udp)&&void 0!==t?t:(0,s.v)(v.Ac,{}),{prettySpaces:2})})})]})]})};function y(){return(0,a.jsx)("div",{children:(0,a.jsx)(p,{})})}},2981:(e,t,r)=>{"use strict";r.d(t,{A:()=>N});var a=r(4617),l=r.n(a),s=r(2115),n=r(1653),o=r(5155);let c=s.forwardRef((e,t)=>{let{className:r,bsPrefix:a,as:s="div",...c}=e;return a=(0,n.oU)(a,"card-body"),(0,o.jsx)(s,{ref:t,className:l()(r,a),...c})});c.displayName="CardBody";let d=s.forwardRef((e,t)=>{let{className:r,bsPrefix:a,as:s="div",...c}=e;return a=(0,n.oU)(a,"card-footer"),(0,o.jsx)(s,{ref:t,className:l()(r,a),...c})});d.displayName="CardFooter";var i=r(7251);let u=s.forwardRef((e,t)=>{let{bsPrefix:r,className:a,as:c="div",...d}=e,u=(0,n.oU)(r,"card-header"),m=(0,s.useMemo)(()=>({cardHeaderBsPrefix:u}),[u]);return(0,o.jsx)(i.A.Provider,{value:m,children:(0,o.jsx)(c,{ref:t,...d,className:l()(a,u)})})});u.displayName="CardHeader";let m=s.forwardRef((e,t)=>{let{bsPrefix:r,className:a,variant:s,as:c="img",...d}=e,i=(0,n.oU)(r,"card-img");return(0,o.jsx)(c,{ref:t,className:l()(s?"".concat(i,"-").concat(s):i,a),...d})});m.displayName="CardImg";let v=s.forwardRef((e,t)=>{let{className:r,bsPrefix:a,as:s="div",...c}=e;return a=(0,n.oU)(a,"card-img-overlay"),(0,o.jsx)(s,{ref:t,className:l()(r,a),...c})});v.displayName="CardImgOverlay";let p=s.forwardRef((e,t)=>{let{className:r,bsPrefix:a,as:s="a",...c}=e;return a=(0,n.oU)(a,"card-link"),(0,o.jsx)(s,{ref:t,className:l()(r,a),...c})});p.displayName="CardLink";var y=r(7449);let f=(0,y.A)("h6"),g=s.forwardRef((e,t)=>{let{className:r,bsPrefix:a,as:s=f,...c}=e;return a=(0,n.oU)(a,"card-subtitle"),(0,o.jsx)(s,{ref:t,className:l()(r,a),...c})});g.displayName="CardSubtitle";let h=s.forwardRef((e,t)=>{let{className:r,bsPrefix:a,as:s="p",...c}=e;return a=(0,n.oU)(a,"card-text"),(0,o.jsx)(s,{ref:t,className:l()(r,a),...c})});h.displayName="CardText";let x=(0,y.A)("h5"),b=s.forwardRef((e,t)=>{let{className:r,bsPrefix:a,as:s=x,...c}=e;return a=(0,n.oU)(a,"card-title"),(0,o.jsx)(s,{ref:t,className:l()(r,a),...c})});b.displayName="CardTitle";let w=s.forwardRef((e,t)=>{let{bsPrefix:r,className:a,bg:s,text:d,border:i,body:u=!1,children:m,as:v="div",...p}=e,y=(0,n.oU)(r,"card");return(0,o.jsx)(v,{ref:t,...p,className:l()(a,y,s&&"bg-".concat(s),d&&"text-".concat(d),i&&"border-".concat(i)),children:u?(0,o.jsx)(c,{children:m}):m})});w.displayName="Card";let N=Object.assign(w,{Img:m,Title:b,Subtitle:g,Body:c,Link:p,Text:h,Header:u,Footer:d,ImgOverlay:v})},7251:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});let a=r(2115).createContext(null);a.displayName="CardHeaderContext";let l=a},7449:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(2115),l=r(4617),s=r.n(l),n=r(5155);let o=e=>a.forwardRef((t,r)=>(0,n.jsx)("div",{...t,ref:r,className:s()(t.className,e)}))},3620:(e,t,r)=>{"use strict";r.d(t,{U:()=>a});let a=(0,r(6788).w)("Ch5nb29nbGUvcHJvdG9idWYvZHVyYXRpb24ucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIqCghEdXJhdGlvbhIPCgdzZWNvbmRzGAEgASgDEg0KBW5hbm9zGAIgASgFQoMBChNjb20uZ29vZ2xlLnByb3RvYnVmQg1EdXJhdGlvblByb3RvUAFaMWdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2R1cmF0aW9ucGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw")}},e=>{var t=t=>e(e.s=t);e.O(0,[295,375,340,969,441,517,358],()=>t(9490)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/webpack-5968a889513f40e8.js b/_next/static/chunks/webpack-2dcb55085e4ed709.js similarity index 96% rename from _next/static/chunks/webpack-5968a889513f40e8.js rename to _next/static/chunks/webpack-2dcb55085e4ed709.js index 860d510a..df2e72f2 100644 --- a/_next/static/chunks/webpack-5968a889513f40e8.js +++ b/_next/static/chunks/webpack-2dcb55085e4ed709.js @@ -1 +1 @@ -(()=>{"use strict";var e={},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var a=t[o]={exports:{}},i=!0;try{e[o](a,a.exports,r),i=!1}finally{i&&delete t[o]}return a.exports}r.m=e,(()=>{var e=[];r.O=(t,o,n,a)=>{if(o){a=a||0;for(var i=e.length;i>0&&e[i-1][2]>a;i--)e[i]=e[i-1];e[i]=[o,n,a];return}for(var u=1/0,i=0;i=a)&&Object.keys(r.O).every(e=>r.O[e](o[c]))?o.splice(c--,1):(l=!1,a{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;r.t=function(o,n){if(1&n&&(o=this(o)),8&n||"object"==typeof o&&o&&(4&n&&o.__esModule||16&n&&"function"==typeof o.then))return o;var a=Object.create(null);r.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var u=2&n&&o;"object"==typeof u&&!~e.indexOf(u);u=t(u))Object.getOwnPropertyNames(u).forEach(e=>i[e]=()=>o[e]);return i.default=()=>o,r.d(a,i),a}})(),r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,o)=>(r.f[o](e,t),t),[])),r.u=e=>{},r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="_N_E:";r.l=(o,n,a,i)=>{if(e[o]){e[o].push(n);return}if(void 0!==a)for(var u,l,c=document.getElementsByTagName("script"),d=0;d{u.onerror=u.onload=null,clearTimeout(p);var n=e[o];if(delete e[o],u.parentNode&&u.parentNode.removeChild(u),n&&n.forEach(e=>e(r)),t)return t(r)},p=setTimeout(s.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=s.bind(null,u.onerror),u.onload=s.bind(null,u.onload),l&&document.head.appendChild(u)}})(),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:e=>e},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("nextjs#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="/_next/",(()=>{var e={68:0,740:0,675:0,607:0};r.f.j=(t,o)=>{var n=r.o(e,t)?e[t]:void 0;if(0!==n){if(n)o.push(n[2]);else if(/^(6(07|75|8)|740)$/.test(t))e[t]=0;else{var a=new Promise((r,o)=>n=e[t]=[r,o]);o.push(n[2]=a);var i=r.p+r.u(t),u=Error();r.l(i,o=>{if(r.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=o&&("load"===o.type?"missing":o.type),i=o&&o.target&&o.target.src;u.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",u.name="ChunkLoadError",u.type=a,u.request=i,n[1](u)}},"chunk-"+t,t)}}},r.O.j=t=>0===e[t];var t=(t,o)=>{var n,a,[i,u,l]=o,c=0;if(i.some(t=>0!==e[t])){for(n in u)r.o(u,n)&&(r.m[n]=u[n]);if(l)var d=l(r)}for(t&&t(o);c{"use strict";var e={},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var a=t[o]={exports:{}},i=!0;try{e[o](a,a.exports,r),i=!1}finally{i&&delete t[o]}return a.exports}r.m=e,(()=>{var e=[];r.O=(t,o,n,a)=>{if(o){a=a||0;for(var i=e.length;i>0&&e[i-1][2]>a;i--)e[i]=e[i-1];e[i]=[o,n,a];return}for(var u=1/0,i=0;i=a)&&Object.keys(r.O).every(e=>r.O[e](o[c]))?o.splice(c--,1):(l=!1,a{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;r.t=function(o,n){if(1&n&&(o=this(o)),8&n||"object"==typeof o&&o&&(4&n&&o.__esModule||16&n&&"function"==typeof o.then))return o;var a=Object.create(null);r.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var u=2&n&&o;"object"==typeof u&&!~e.indexOf(u);u=t(u))Object.getOwnPropertyNames(u).forEach(e=>i[e]=()=>o[e]);return i.default=()=>o,r.d(a,i),a}})(),r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,o)=>(r.f[o](e,t),t),[])),r.u=e=>{},r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="_N_E:";r.l=(o,n,a,i)=>{if(e[o]){e[o].push(n);return}if(void 0!==a)for(var u,l,c=document.getElementsByTagName("script"),d=0;d{u.onerror=u.onload=null,clearTimeout(p);var n=e[o];if(delete e[o],u.parentNode&&u.parentNode.removeChild(u),n&&n.forEach(e=>e(r)),t)return t(r)},p=setTimeout(s.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=s.bind(null,u.onerror),u.onload=s.bind(null,u.onload),l&&document.head.appendChild(u)}})(),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:e=>e},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("nextjs#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="/_next/",(()=>{var e={68:0,675:0,740:0,607:0};r.f.j=(t,o)=>{var n=r.o(e,t)?e[t]:void 0;if(0!==n){if(n)o.push(n[2]);else if(/^(6(07|75|8)|740)$/.test(t))e[t]=0;else{var a=new Promise((r,o)=>n=e[t]=[r,o]);o.push(n[2]=a);var i=r.p+r.u(t),u=Error();r.l(i,o=>{if(r.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=o&&("load"===o.type?"missing":o.type),i=o&&o.target&&o.target.src;u.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",u.name="ChunkLoadError",u.type=a,u.request=i,n[1](u)}},"chunk-"+t,t)}}},r.O.j=t=>0===e[t];var t=(t,o)=>{var n,a,[i,u,l]=o,c=0;if(i.some(t=>0!==e[t])){for(n in u)r.o(u,n)&&(r.m[n]=u[n]);if(l)var d=l(r)}for(t&&t(o);cYuhaiin
\ 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 a0cda1bb..45a1b3dd 100644 --- a/docs/bypass/block/index.txt +++ b/docs/bypass/block/index.txt @@ -1,18 +1,18 @@ 4:"$Sreact.fragment" 5:I[4547,[],"ClientSegmentRoot"] -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"] +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-44477b5deafae6cb.js"],"default"] 7:I[5244,[],""] 8:I[3866,[],""] a:I[7033,[],"ClientPageRoot"] -b:I[3878,["295","static/chunks/295-904a8207611ff9bf.js","995","static/chunks/995-cbcf5fbb16c93355.js","923","static/chunks/923-d163b95e50725223.js","863","static/chunks/863-f3d5b783a0f7c754.js","755","static/chunks/app/docs/bypass/block/page-983d96e3b97b2b43.js"],"default"] +b:I[3878,["295","static/chunks/295-904a8207611ff9bf.js","375","static/chunks/375-52ec0affffdac139.js","863","static/chunks/863-310b872d1fe82a60.js","755","static/chunks/app/docs/bypass/block/page-6be7bf111bddb962.js"],"default"] e:I[6213,[],"OutletBoundary"] 10:I[6213,[],"MetadataBoundary"] 12:I[6213,[],"ViewportBoundary"] 14:I[4835,[],""] -1:HL["/_next/static/css/d3df112486f97f47.css","style"] -2:HL["/_next/static/css/8419bf7e20c871f2.css","style"] +1:HL["/_next/static/css/8419bf7e20c871f2.css","style"] +2:HL["/_next/static/css/d3df112486f97f47.css","style"] 3:HL["/_next/static/css/8547d2c8ab3fc9f5.css","style"] -0:{"P":null,"b":"CE9E0xKFn1F7O966DkvJx","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","WlrsZH4tgSAJQYrueKVcy",{"children":[["$","$L10",null,{"children":"$L11"}],["$","$L12",null,{"children":"$L13"}],null]}]]}]]],"m":"$undefined","G":["$14","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"q72O8UwDnyj2qlt-A6G9N","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/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.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","B4aYPcJjGb-NDyqN-lVZJ",{"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 1dcf42ea..1b64521b 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 ee69bf6a..b895488f 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-078a367ea03fcd21.js","637","static/chunks/637-3fac29710c054d67.js","354","static/chunks/354-013980f156d66e72.js","177","static/chunks/app/layout-77724a14572beb8f.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-44477b5deafae6cb.js"],"default"] 6:I[5244,[],""] 7:I[3866,[],""] 9:I[7033,[],"ClientPageRoot"] -a:I[5297,["295","static/chunks/295-904a8207611ff9bf.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","392","static/chunks/392-4c91a2b8ad700123.js","306","static/chunks/306-dbe962c571aef3ab.js","863","static/chunks/863-f3d5b783a0f7c754.js","753","static/chunks/app/docs/bypass/page-e6b788eb02e44a0e.js"],"default"] +a:I[3678,["295","static/chunks/295-904a8207611ff9bf.js","375","static/chunks/375-52ec0affffdac139.js","515","static/chunks/515-078a367ea03fcd21.js","920","static/chunks/920-437e11c17ba11844.js","637","static/chunks/637-3fac29710c054d67.js","922","static/chunks/922-502c405a536f7842.js","863","static/chunks/863-310b872d1fe82a60.js","753","static/chunks/app/docs/bypass/page-933ac4351dc7b6bd.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":"CE9E0xKFn1F7O966DkvJx","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","NZ8a_jTjdpUKSILXxl8z9",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +1:HL["/_next/static/css/8419bf7e20c871f2.css","style"] +2:HL["/_next/static/css/d3df112486f97f47.css","style"] +0:{"P":null,"b":"q72O8UwDnyj2qlt-A6G9N","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/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.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","KXxtIL8C8rZj0oUgv_yeB",{"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 c26bfdee..705510ce 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 97532c7b..5a9972dd 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-078a367ea03fcd21.js","637","static/chunks/637-3fac29710c054d67.js","354","static/chunks/354-013980f156d66e72.js","177","static/chunks/app/layout-77724a14572beb8f.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-44477b5deafae6cb.js"],"default"] 6:I[5244,[],""] 7:I[3866,[],""] 9:I[7033,[],"ClientPageRoot"] -a:I[304,["295","static/chunks/295-904a8207611ff9bf.js","515","static/chunks/515-078a367ea03fcd21.js","920","static/chunks/920-437e11c17ba11844.js","340","static/chunks/340-5d384bd6bf75ec53.js","863","static/chunks/863-f3d5b783a0f7c754.js","198","static/chunks/app/docs/bypass/test/page-84d52857baf2c037.js"],"default"] +a:I[304,["295","static/chunks/295-904a8207611ff9bf.js","515","static/chunks/515-078a367ea03fcd21.js","920","static/chunks/920-437e11c17ba11844.js","340","static/chunks/340-7692152ec330eb92.js","863","static/chunks/863-310b872d1fe82a60.js","198","static/chunks/app/docs/bypass/test/page-dd14eb347fa06f79.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":"CE9E0xKFn1F7O966DkvJx","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","g1Hor5hzWFylJEGVwL0Jl",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +1:HL["/_next/static/css/8419bf7e20c871f2.css","style"] +2:HL["/_next/static/css/d3df112486f97f47.css","style"] +0:{"P":null,"b":"q72O8UwDnyj2qlt-A6G9N","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/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.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","khv8N1L7FXIFKdqCw90_n",{"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 6c33dacf..285e1ebe 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 645be074..6ce4ce63 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-078a367ea03fcd21.js","637","static/chunks/637-3fac29710c054d67.js","354","static/chunks/354-013980f156d66e72.js","177","static/chunks/app/layout-77724a14572beb8f.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-44477b5deafae6cb.js"],"default"] 6:I[5244,[],""] 7:I[3866,[],""] 9:I[7033,[],"ClientPageRoot"] -a:I[8187,["295","static/chunks/295-904a8207611ff9bf.js","995","static/chunks/995-cbcf5fbb16c93355.js","920","static/chunks/920-437e11c17ba11844.js","637","static/chunks/637-3fac29710c054d67.js","410","static/chunks/410-dfa8ad24720f79ac.js","306","static/chunks/306-dbe962c571aef3ab.js","863","static/chunks/863-f3d5b783a0f7c754.js","181","static/chunks/app/docs/config/about/page-e1bcd57fa49d13db.js"],"default"] +a:I[8187,["295","static/chunks/295-904a8207611ff9bf.js","375","static/chunks/375-52ec0affffdac139.js","920","static/chunks/920-437e11c17ba11844.js","637","static/chunks/637-3fac29710c054d67.js","410","static/chunks/410-dfa8ad24720f79ac.js","922","static/chunks/922-502c405a536f7842.js","863","static/chunks/863-310b872d1fe82a60.js","181","static/chunks/app/docs/config/about/page-9e327cef5d150e0e.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":"CE9E0xKFn1F7O966DkvJx","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","X6tnpW5joI5s6Nh8sdhR5",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +1:HL["/_next/static/css/8419bf7e20c871f2.css","style"] +2:HL["/_next/static/css/d3df112486f97f47.css","style"] +0:{"P":null,"b":"q72O8UwDnyj2qlt-A6G9N","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/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.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","V98eaAhsfDpHZF9lKAa6O",{"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 index 060679f6..9a6b70bb 100644 --- a/docs/config/inbounds/index.html +++ b/docs/config/inbounds/index.html @@ -1 +1 @@ -Yuhaiin
\ No newline at end of file +Yuhaiin
\ No newline at end of file diff --git a/docs/config/inbounds/index.txt b/docs/config/inbounds/index.txt index 54bf78bd..c949950d 100644 --- a/docs/config/inbounds/index.txt +++ b/docs/config/inbounds/index.txt @@ -1,17 +1,17 @@ 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"] +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-44477b5deafae6cb.js"],"default"] 6:I[5244,[],""] 7:I[3866,[],""] 9:I[7033,[],"ClientPageRoot"] -a:I[1404,["295","static/chunks/295-904a8207611ff9bf.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-dbe962c571aef3ab.js","863","static/chunks/863-f3d5b783a0f7c754.js","930","static/chunks/app/docs/config/inbounds/page-357ca99e1969c921.js"],"default"] +a:I[1404,["295","static/chunks/295-904a8207611ff9bf.js","375","static/chunks/375-52ec0affffdac139.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","190","static/chunks/190-6a852a88197bd3ec.js","922","static/chunks/922-502c405a536f7842.js","863","static/chunks/863-310b872d1fe82a60.js","930","static/chunks/app/docs/config/inbounds/page-5f8e89c64d0d9e95.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":"CE9E0xKFn1F7O966DkvJx","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","FBdsy__49XJfuOUrS1jQa",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +1:HL["/_next/static/css/8419bf7e20c871f2.css","style"] +2:HL["/_next/static/css/d3df112486f97f47.css","style"] +0:{"P":null,"b":"q72O8UwDnyj2qlt-A6G9N","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/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.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","FJqhGa-NAdeT072fRGdhx",{"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/index.html b/docs/config/index.html index dec3e7aa..820dba5e 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 660392cc..1eef4877 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-078a367ea03fcd21.js","637","static/chunks/637-3fac29710c054d67.js","354","static/chunks/354-013980f156d66e72.js","177","static/chunks/app/layout-77724a14572beb8f.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-44477b5deafae6cb.js"],"default"] 6:I[5244,[],""] 7:I[3866,[],""] 9:I[7033,[],"ClientPageRoot"] -a:I[493,["295","static/chunks/295-904a8207611ff9bf.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","347","static/chunks/347-8f0150f2d8d489b0.js","306","static/chunks/306-dbe962c571aef3ab.js","863","static/chunks/863-f3d5b783a0f7c754.js","779","static/chunks/app/docs/config/page-30588aca839ea681.js"],"default"] +a:I[493,["295","static/chunks/295-904a8207611ff9bf.js","375","static/chunks/375-52ec0affffdac139.js","515","static/chunks/515-078a367ea03fcd21.js","920","static/chunks/920-437e11c17ba11844.js","637","static/chunks/637-3fac29710c054d67.js","681","static/chunks/681-98f771bce319b29e.js","922","static/chunks/922-502c405a536f7842.js","863","static/chunks/863-310b872d1fe82a60.js","779","static/chunks/app/docs/config/page-fb8b19cec5ea0e60.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":"CE9E0xKFn1F7O966DkvJx","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","T8VzplMwWvh7LmDInX8M6",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +1:HL["/_next/static/css/8419bf7e20c871f2.css","style"] +2:HL["/_next/static/css/d3df112486f97f47.css","style"] +0:{"P":null,"b":"q72O8UwDnyj2qlt-A6G9N","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/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.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","CgE134ZwduLk3vjCjf8z8",{"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 31b1e716..13499f98 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 a3a2b9ec..5229e724 100644 --- a/docs/connections/failed/index.txt +++ b/docs/connections/failed/index.txt @@ -1,18 +1,18 @@ 4:"$Sreact.fragment" 5:I[4547,[],"ClientSegmentRoot"] -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"] +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-44477b5deafae6cb.js"],"default"] 7:I[5244,[],""] 8:I[3866,[],""] a:I[7033,[],"ClientPageRoot"] -b:I[368,["295","static/chunks/295-904a8207611ff9bf.js","995","static/chunks/995-cbcf5fbb16c93355.js","923","static/chunks/923-d163b95e50725223.js","894","static/chunks/app/docs/connections/failed/page-6e6fbeb2d3f1d635.js"],"default"] +b:I[368,["295","static/chunks/295-904a8207611ff9bf.js","375","static/chunks/375-52ec0affffdac139.js","894","static/chunks/app/docs/connections/failed/page-e4efc6d1fca7f08c.js"],"default"] e:I[6213,[],"OutletBoundary"] 10:I[6213,[],"MetadataBoundary"] 12:I[6213,[],"ViewportBoundary"] 14:I[4835,[],""] -1:HL["/_next/static/css/d3df112486f97f47.css","style"] -2:HL["/_next/static/css/8419bf7e20c871f2.css","style"] +1:HL["/_next/static/css/8419bf7e20c871f2.css","style"] +2:HL["/_next/static/css/d3df112486f97f47.css","style"] 3:HL["/_next/static/css/8547d2c8ab3fc9f5.css","style"] -0:{"P":null,"b":"CE9E0xKFn1F7O966DkvJx","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","WVbcADhxLOsD5M9M758hg",{"children":[["$","$L10",null,{"children":"$L11"}],["$","$L12",null,{"children":"$L13"}],null]}]]}]]],"m":"$undefined","G":["$14","$undefined"],"s":false,"S":true} +0:{"P":null,"b":"q72O8UwDnyj2qlt-A6G9N","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/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.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","tyI5nWz60hb8WqrikZ11v",{"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 3989304a..1b25d9e7 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 2f022739..88707601 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-078a367ea03fcd21.js","637","static/chunks/637-3fac29710c054d67.js","354","static/chunks/354-013980f156d66e72.js","177","static/chunks/app/layout-77724a14572beb8f.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-44477b5deafae6cb.js"],"default"] 6:I[5244,[],""] 7:I[3866,[],""] 9:I[7033,[],"ClientPageRoot"] -a:I[2988,["295","static/chunks/295-904a8207611ff9bf.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","340","static/chunks/340-5d384bd6bf75ec53.js","734","static/chunks/734-c496d915c5550947.js","723","static/chunks/723-938ba0471af89c1a.js","424","static/chunks/424-6e400e4952135326.js","306","static/chunks/306-dbe962c571aef3ab.js","145","static/chunks/145-9df4052ef502cfd1.js","698","static/chunks/698-8793f705150b3e8c.js","706","static/chunks/app/docs/connections/page-5f44073f511200ca.js"],"default"] +a:I[2988,["295","static/chunks/295-904a8207611ff9bf.js","375","static/chunks/375-52ec0affffdac139.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","340","static/chunks/340-7692152ec330eb92.js","190","static/chunks/190-6a852a88197bd3ec.js","723","static/chunks/723-938ba0471af89c1a.js","424","static/chunks/424-6e400e4952135326.js","922","static/chunks/922-502c405a536f7842.js","969","static/chunks/969-7a9cf562ff46728f.js","112","static/chunks/112-f25b419fcf5c4983.js","706","static/chunks/app/docs/connections/page-019e7d2048640179.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":"CE9E0xKFn1F7O966DkvJx","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","gmflUpDUPVw8ekU3-taSM",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +1:HL["/_next/static/css/8419bf7e20c871f2.css","style"] +2:HL["/_next/static/css/d3df112486f97f47.css","style"] +0:{"P":null,"b":"q72O8UwDnyj2qlt-A6G9N","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/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.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","6eTPtz96Tus9HtEUbx3Iv",{"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 ade85b9d..8544d9d8 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 fa7f5349..9f18a5b8 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-078a367ea03fcd21.js","637","static/chunks/637-3fac29710c054d67.js","354","static/chunks/354-013980f156d66e72.js","177","static/chunks/app/layout-77724a14572beb8f.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-44477b5deafae6cb.js"],"default"] 6:I[5244,[],""] 7:I[3866,[],""] 9:I[7033,[],"ClientPageRoot"] -a:I[8646,["295","static/chunks/295-904a8207611ff9bf.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","340","static/chunks/340-5d384bd6bf75ec53.js","734","static/chunks/734-c496d915c5550947.js","723","static/chunks/723-938ba0471af89c1a.js","306","static/chunks/306-dbe962c571aef3ab.js","145","static/chunks/145-9df4052ef502cfd1.js","698","static/chunks/698-8793f705150b3e8c.js","564","static/chunks/app/docs/group/page-3a3d5c6a3c456395.js"],"default"] +a:I[8646,["295","static/chunks/295-904a8207611ff9bf.js","375","static/chunks/375-52ec0affffdac139.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","340","static/chunks/340-7692152ec330eb92.js","190","static/chunks/190-6a852a88197bd3ec.js","723","static/chunks/723-938ba0471af89c1a.js","922","static/chunks/922-502c405a536f7842.js","969","static/chunks/969-7a9cf562ff46728f.js","112","static/chunks/112-f25b419fcf5c4983.js","564","static/chunks/app/docs/group/page-1e657329e64932b4.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":"CE9E0xKFn1F7O966DkvJx","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","CR81kKbMHfXb3FVYh8Sge",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +1:HL["/_next/static/css/8419bf7e20c871f2.css","style"] +2:HL["/_next/static/css/d3df112486f97f47.css","style"] +0:{"P":null,"b":"q72O8UwDnyj2qlt-A6G9N","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/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.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","oJxPVp32s3jd1IkqNlu0d",{"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 e56fddee..7affc3ca 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 1bb78039..76c33bff 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-078a367ea03fcd21.js","637","static/chunks/637-3fac29710c054d67.js","354","static/chunks/354-013980f156d66e72.js","177","static/chunks/app/layout-77724a14572beb8f.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-44477b5deafae6cb.js"],"default"] 6:I[5244,[],""] 7:I[3866,[],""] 9:I[7033,[],"ClientPageRoot"] -a:I[7981,["295","static/chunks/295-904a8207611ff9bf.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","376","static/chunks/376-62ad2f1ee5ef349c.js","145","static/chunks/145-9df4052ef502cfd1.js","943","static/chunks/app/docs/subscribe/page-4ad9b12bd6635096.js"],"default"] +a:I[7981,["295","static/chunks/295-904a8207611ff9bf.js","375","static/chunks/375-52ec0affffdac139.js","515","static/chunks/515-078a367ea03fcd21.js","920","static/chunks/920-437e11c17ba11844.js","637","static/chunks/637-3fac29710c054d67.js","969","static/chunks/969-7a9cf562ff46728f.js","943","static/chunks/app/docs/subscribe/page-c22b7159fbbaa9d0.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":"CE9E0xKFn1F7O966DkvJx","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","UbRG34gHKecs0mMbNz79I",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +1:HL["/_next/static/css/8419bf7e20c871f2.css","style"] +2:HL["/_next/static/css/d3df112486f97f47.css","style"] +0:{"P":null,"b":"q72O8UwDnyj2qlt-A6G9N","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/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.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","oeNPmBO2m1I_CqXdSyl4F",{"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 6524cb83..d37e2c05 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 f918a882..6d8ccf91 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-078a367ea03fcd21.js","637","static/chunks/637-3fac29710c054d67.js","354","static/chunks/354-013980f156d66e72.js","177","static/chunks/app/layout-77724a14572beb8f.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-44477b5deafae6cb.js"],"default"] 6:I[5244,[],""] 7:I[3866,[],""] 9:I[7033,[],"ClientPageRoot"] -a:I[3129,["295","static/chunks/295-904a8207611ff9bf.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","340","static/chunks/340-5d384bd6bf75ec53.js","734","static/chunks/734-c496d915c5550947.js","723","static/chunks/723-938ba0471af89c1a.js","306","static/chunks/306-dbe962c571aef3ab.js","145","static/chunks/145-9df4052ef502cfd1.js","698","static/chunks/698-8793f705150b3e8c.js","163","static/chunks/app/docs/tag/page-422f94f7dd04c501.js"],"default"] +a:I[3129,["295","static/chunks/295-904a8207611ff9bf.js","375","static/chunks/375-52ec0affffdac139.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","340","static/chunks/340-7692152ec330eb92.js","190","static/chunks/190-6a852a88197bd3ec.js","723","static/chunks/723-938ba0471af89c1a.js","922","static/chunks/922-502c405a536f7842.js","969","static/chunks/969-7a9cf562ff46728f.js","112","static/chunks/112-f25b419fcf5c4983.js","163","static/chunks/app/docs/tag/page-f7d0d0334d473695.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":"CE9E0xKFn1F7O966DkvJx","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","6Xtzk6XcspBHgkWUQxa-X",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +1:HL["/_next/static/css/8419bf7e20c871f2.css","style"] +2:HL["/_next/static/css/d3df112486f97f47.css","style"] +0:{"P":null,"b":"q72O8UwDnyj2qlt-A6G9N","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/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.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","rrtXY2VtVoDd2iCVkqpYE",{"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 1bcea02d..bf4b1be0 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 9af552af..dd18fafb 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-078a367ea03fcd21.js","637","static/chunks/637-3fac29710c054d67.js","354","static/chunks/354-013980f156d66e72.js","177","static/chunks/app/layout-77724a14572beb8f.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-44477b5deafae6cb.js"],"default"] 6:I[5244,[],""] 7:I[3866,[],""] 9:I[7033,[],"ClientPageRoot"] -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"] +a:I[7305,["515","static/chunks/515-078a367ea03fcd21.js","920","static/chunks/920-437e11c17ba11844.js","987","static/chunks/app/docs/webui/page-9683aee09706e66c.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":"CE9E0xKFn1F7O966DkvJx","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","4h-1P9Mt8cDFQtfWNyffp",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +1:HL["/_next/static/css/8419bf7e20c871f2.css","style"] +2:HL["/_next/static/css/d3df112486f97f47.css","style"] +0:{"P":null,"b":"q72O8UwDnyj2qlt-A6G9N","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/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.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","ggHvbaM5B7ZzV7E8hJXzp",{"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 8c2fc2b7..d7944424 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 dd0e4d87..46425593 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-078a367ea03fcd21.js","637","static/chunks/637-3fac29710c054d67.js","354","static/chunks/354-013980f156d66e72.js","177","static/chunks/app/layout-77724a14572beb8f.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-44477b5deafae6cb.js"],"default"] 6:I[5244,[],""] 7:I[3866,[],""] 9:I[7033,[],"ClientPageRoot"] -a:I[9567,["295","static/chunks/295-904a8207611ff9bf.js","995","static/chunks/995-cbcf5fbb16c93355.js","340","static/chunks/340-5d384bd6bf75ec53.js","190","static/chunks/190-f2a0ef357f96a8d0.js","145","static/chunks/145-9df4052ef502cfd1.js","974","static/chunks/app/page-13f84e18ea7bc760.js"],"default"] +a:I[9567,["295","static/chunks/295-904a8207611ff9bf.js","375","static/chunks/375-52ec0affffdac139.js","340","static/chunks/340-7692152ec330eb92.js","969","static/chunks/969-7a9cf562ff46728f.js","974","static/chunks/app/page-51d2dc7d6ab14c2c.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":"CE9E0xKFn1F7O966DkvJx","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","jV_jhKvuyzkDVEabcb3aS",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} +1:HL["/_next/static/css/8419bf7e20c871f2.css","style"] +2:HL["/_next/static/css/d3df112486f97f47.css","style"] +0:{"P":null,"b":"q72O8UwDnyj2qlt-A6G9N","p":"","c":["",""],"i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",["$","$3","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/8419bf7e20c871f2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/d3df112486f97f47.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","SXkkIbKkp4ONCNrep1NNY",{"children":[["$","$Lf",null,{"children":"$L10"}],["$","$L11",null,{"children":"$L12"}],null]}]]}]]],"m":"$undefined","G":["$13","$undefined"],"s":false,"S":true} 8:{} b:{} c:{}