This commit is contained in:
kunish 2024-09-08 04:14:50 +00:00
commit a1602e01e3
40 changed files with 28963 additions and 0 deletions

0
.nojekyll Normal file
View File

1
CNAME Normal file
View File

@ -0,0 +1 @@
d.metacubex.one

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
assets/Logs-B4P8LG9X.js Normal file
View File

@ -0,0 +1 @@
import{u as W,f as e,ah as Z,i as t,ai as I,aj as J,F as x,ak as K,al as Q,am as u,an as U,ao as Y,g as C,ap as O,aq as B,ar as V,P as ee,t as v,A as L,C as te,r as ae,b as re,y as le,R as se,$ as k,D as ne,a2 as oe,a3 as ie,B as P,a5 as ce,a1 as j,a6 as de,a9 as ue,aa as ge,a0 as A,ae as he,ag as ve,l as fe}from"./index-B45ObzUn.js";import{c as me,g as be,a as pe,e as $e,f as G,r as _e}from"./index-DJM-jlDz.js";var Se=v('<div class="flex flex-col gap-4"><div><select class="select select-bordered w-full"></select></div><div><select class="select select-bordered w-full"></select></div><div><select class="select select-bordered w-full">'),M=v("<option>");const xe=i=>{const[r]=W();return e(ee,{ref:o=>{var c;return(c=i.ref)==null?void 0:c.call(i,o)},get icon(){return e(Z,{size:24})},get title(){return r("logsSettings")},get children(){var o=Se(),c=o.firstChild,d=c.firstChild,$=c.nextSibling,m=$.firstChild,w=$.nextSibling,b=w.firstChild;return t(c,e(I,{withDivider:!0,get children(){return r("tableSize")}}),d),d.addEventListener("change",a=>J(a.target.value)),t(d,e(x,{get each(){return Object.values(K)},children:a=>(()=>{var s=M();return s.value=a,t(s,()=>r(a)),s})()})),t($,e(I,{withDivider:!0,get children(){return r("logLevel")}}),m),m.addEventListener("change",a=>Q(a.target.value)),t(m,e(x,{get each(){return[u.Info,u.Error,u.Warning,u.Debug,u.Silent]},children:a=>(()=>{var s=M();return s.value=a,t(s,()=>r(a)),s})()})),t(w,e(I,{withDivider:!0,get children(){return r("logMaxRows")}}),b),b.addEventListener("change",a=>U(parseInt(a.target.value))),t(b,e(x,{each:Y,children:a=>(()=>{var s=M();return s.value=a,t(s,a),s})()})),C(()=>d.value=O()),C(()=>m.value=B()),C(()=>b.value=V()),o}})};let q=1;const[Ce,we]=L([]),ye=te("logs",{level:B()}),[H,Le]=L(!1);ae(()=>{const i=ye();!i||H()||(we(r=>[{...i,seq:q},...r].slice(0,V())),q++)});const Fe=()=>({logs:Ce,paused:H,setPaused:Le});var Ie=v("<span>"),ke=v('<div class="flex h-full flex-col gap-2"><div class="join w-full"><input type=search class="input input-sm join-item input-primary flex-1 flex-shrink-0"></div><div class="overflow-x-auto whitespace-nowrap rounded-md bg-base-300"><table><thead class="sticky top-0 z-10"></thead><tbody>'),Me=v("<tr>"),Re=v('<th class=bg-base-200><div class="flex items-center"><div>'),Ee=v('<tr class="hover:!bg-primary hover:text-primary-content">'),De=v("<td class=py-2>");const N=(i,r,o,c)=>{const d=_e(i.getValue(r),o);return c({itemRank:d}),d.passed},Pe=()=>{const i=re();if(!le())return i("/setup",{replace:!0}),null;let r;const[o]=W(),[c,d]=L(""),{logs:$,paused:m,setPaused:w}=Fe(),[b,a]=se(L([]),{name:"logsTableSorting",storage:localStorage}),s=[{header:o("sequence"),accessorFn:n=>n.seq},{header:o("type"),accessorFn:n=>n.type,cell:({row:n})=>{const p=n.original.type;let g="";switch(p){case u.Error:g="text-error";break;case u.Warning:g="text-warning";break;case u.Info:g="text-info";break;case u.Debug:g="text-success";break}return(()=>{var _=Ie();return k(_,g),t(_,()=>`[${n.original.type}]`),_})()}},{header:o("payload"),accessorFn:n=>n.payload}],R=me({filterFns:{fuzzy:N},state:{get globalFilter(){return c()},get sorting(){return b()}},get data(){return $()},sortDescFirst:!0,columns:s,onGlobalFilterChange:d,onSortingChange:a,globalFilterFn:N,getFilteredRowModel:be(),getSortedRowModel:pe(),getCoreRowModel:$e()});return(()=>{var n=ke(),p=n.firstChild,g=p.firstChild,_=p.nextSibling,E=_.firstChild,D=E.firstChild,X=D.nextSibling;return g.$$input=l=>d(l.target.value),t(p,e(P,{class:"btn-primary join-item btn-sm",onClick:()=>w(l=>!l),get icon(){return ne(()=>!!m())()?e(oe,{}):e(ie,{})}}),null),t(p,e(P,{class:"btn-primary join-item btn-sm",onClick:()=>r==null?void 0:r.showModal(),get icon(){return e(ce,{})}}),null),t(D,e(j,{get each(){return R.getHeaderGroups()},children:l=>{const f=l();return(()=>{var h=Me();return t(h,e(j,{get each(){return f.headers},children:y=>{const S=y();return(()=>{var z=Re(),T=z.firstChild,F=T.firstChild;return de(F,"click",S.column.getToggleSortingHandler(),!0),t(F,()=>G(S.column.columnDef.header,S.getContext())),t(T,()=>({asc:e(ue,{}),desc:e(ge,{})})[S.column.getIsSorted()]??null,null),C(()=>k(F,A(S.column.getCanSort()&&"cursor-pointer select-none","flex-1"))),z})()}})),h})()}})),t(X,e(x,{get each(){return R.getRowModel().rows},children:l=>(()=>{var f=Ee();return t(f,e(x,{get each(){return l.getVisibleCells()},children:h=>(()=>{var y=De();return t(y,()=>G(h.column.columnDef.cell,h.getContext())),y})()})),f})()})),t(n,e(xe,{ref:l=>r=l}),null),C(l=>{var f=o("search"),h=A(he(O()),"table relative rounded-none");return f!==l.e&&ve(g,"placeholder",l.e=f),h!==l.t&&k(E,l.t=h),l},{e:void 0,t:void 0}),n})()};fe(["input","click"]);export{Pe as default};

795
assets/Overview-BirN-SeL.js Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

9
assets/Rules-CDOnVcpi.js Normal file

File diff suppressed because one or more lines are too long

1
assets/Setup-SCbZZn8D.js Normal file
View File

@ -0,0 +1 @@
import{u as q,a as H,b as M,c as N,v as T,o as X,e as p,d as G,i as o,f as h,g as J,S as K,B as C,I as O,F as Q,t as $,z as b,s as w,h as E,j as W,k as R,l as Y,m as Z,n as tt}from"./index-B45ObzUn.js";var a=[];for(var y=0;y<256;++y)a.push((y+256).toString(16).slice(1));function et(t,n=0){return(a[t[n+0]]+a[t[n+1]]+a[t[n+2]]+a[t[n+3]]+"-"+a[t[n+4]]+a[t[n+5]]+"-"+a[t[n+6]]+a[t[n+7]]+"-"+a[t[n+8]]+a[t[n+9]]+"-"+a[t[n+10]]+a[t[n+11]]+a[t[n+12]]+a[t[n+13]]+a[t[n+14]]+a[t[n+15]]).toLowerCase()}var m,nt=new Uint8Array(16);function st(){if(!m&&(m=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!m))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return m(nt)}var at=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const L={randomUUID:at};function rt(t,n,x){if(L.randomUUID&&!n&&!t)return L.randomUUID();t=t||{};var l=t.random||(t.rng||st)();return l[6]=l[6]&15|64,l[8]=l[8]&63|128,et(l)}var lt=$("<option>"),it=$('<div class="mx-auto flex max-w-screen-sm flex-col items-center gap-4 py-10"><form class=contents><div class="flex w-full flex-col gap-4"><div class=flex-1><label class=label><span class=label-text></span></label><input name=url type=url class="input input-bordered w-full"placeholder=http(s)://{hostname}:{port} list=defaultEndpoints><datalist id=defaultEndpoints><option value=http://127.0.0.1:9090></option></datalist></div><div class=flex-1><label class=label><span class=label-text></span></label><input name=secret type=password class="input input-bordered w-full"placeholder=secret></div></div></form><div class="grid w-full grid-cols-2 gap-4">'),ot=$('<div class="badge badge-info flex w-full cursor-pointer items-center justify-between gap-4 py-4"><span class=truncate>');const ct=b.object({url:b.string().min(1),secret:b.string()}),ut=()=>{const[t]=q(),n=H(),x=M(),l=s=>{R(s),x("/overview")},_=(s,e)=>Z.get(s,{headers:e?{Authorization:`Bearer ${e}`}:{}}).then(({ok:r})=>r).catch(r=>{const{message:i}=r;E.error(i)}),I=async s=>{const e=p().find(r=>r.id===s);e&&await _(e.url,e.secret)&&l(s)},v=async({url:s,secret:e})=>{const r=tt(s);if(!await _(r,e))return;const i=rt(),c=p().slice(),d=c.find(f=>f.url===r);if(!d){w([{id:i,url:r,secret:e},...c]),l(i);return}d.secret=e,d.id=i,w(c),l(i)},k=s=>{const{message:e}=s;E.error(e)},{form:S}=N({extend:T({schema:ct}),onSubmit:v,onError:k}),D=s=>{W()===s&&R(""),w(p().filter(e=>e.id!==s))};return X(()=>{let s=n.search||window.location.search;if(s){const r=n.hash.match(/\?.*$/);Array.isArray(r)&&r[0]&&(s=r[0].replace("?",""))}const e=new URLSearchParams(s);e.has("hostname")?v({url:`${e.get("http")?"http:":e.get("https")?"https:":window.location.protocol}//${e.get("hostname")}${e.get("port")?`:${e.get("port")}`:""}`,secret:e.get("secret")??""}):p().length===0&&v({url:"http://127.0.0.1:9090",secret:""})}),(()=>{var s=it(),e=s.firstChild,r=e.firstChild,i=r.firstChild,c=i.firstChild,d=c.firstChild,f=c.nextSibling,U=f.nextSibling;U.firstChild;var j=i.nextSibling,A=j.firstChild,V=A.firstChild,B=e.nextSibling;return G(S,e,()=>S),o(d,()=>t("endpointURL")),o(U,h(K,{get when(){return window.location.origin!=="http://127.0.0.1:9090"},get children(){var u=lt();return J(()=>u.value=window.location.origin),u}}),null),o(V,()=>t("secret")),o(r,h(C,{type:"submit",class:"btn-primary uppercase",get children(){return t("add")}}),null),o(B,h(Q,{get each(){return p()},children:({id:u,url:F})=>(()=>{var g=ot(),z=g.firstChild;return g.$$click=()=>I(u),o(z,F),o(g,h(C,{class:"btn-circle btn-ghost btn-xs text-white",onClick:P=>{P.stopPropagation(),D(u)},get children(){return h(O,{})}}),null),g})()})),s})()};Y(["click"]);export{ut as default};

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
import{W as a,b2 as m}from"./index-B45ObzUn.js";const s=o=>a(o).locale(m()).fromNow();export{s as f};

27819
assets/index-B45ObzUn.js Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

36
assets/index-DJM-jlDz.js Normal file

File diff suppressed because one or more lines are too long

BIN
favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 900 B

270
favicon.svg Normal file
View File

@ -0,0 +1,270 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0.00 0.00 200.00 200.00">
<g stroke-width="2.00" fill="none" stroke-linecap="butt">
<path stroke="#babcbd" vector-effect="non-scaling-stroke" d="
M 40.95 140.48
Q 68.55 157.30 96.63 173.25
C 102.24 176.44 107.25 175.99 112.94 172.72
Q 137.94 158.32 162.95 143.97
Q 165.51 142.50 167.13 140.70
A 1.36 1.36 0.0 0 0 167.49 139.78
C 167.62 114.80 168.11 94.50 166.94 76.07
C 166.62 71.04 164.79 67.55 160.95 64.72"
/>
<path stroke="#edefef" vector-effect="non-scaling-stroke" d="
M 160.95 64.72
C 158.30 59.86 148.11 55.99 143.18 53.08
C 131.17 46.00 119.07 39.12 106.93 32.27
C 102.78 29.92 100.95 27.45 95.80 30.54
Q 86.26 36.27 72.74 43.77
C 65.00 48.06 55.94 53.83 47.28 58.44
C 36.47 64.19 37.03 68.23 37.02 79.49
Q 36.99 107.48 37.00 135.54
A 1.33 1.30 24.1 0 0 37.35 136.43
L 40.95 140.48"
/>
<path stroke="#cdcdcd" vector-effect="non-scaling-stroke" d="
M 160.95 64.72
C 162.26 67.10 163.25 68.73 163.25 71.58
Q 163.26 102.51 163.09 133.43
Q 163.07 137.05 160.83 138.33
Q 133.44 154.04 106.07 169.70
C 102.53 171.72 96.73 171.58 93.59 169.67
C 81.84 162.53 70.33 156.39 57.98 148.94
Q 49.77 143.99 40.95 140.48"
/>
<path stroke="#848484" vector-effect="non-scaling-stroke" d="
M 155.05 66.47
A 0.30 0.30 0.0 0 0 155.05 65.95
L 100.11 34.53
A 0.30 0.30 0.0 0 0 99.81 34.53
L 44.98 65.96
A 0.30 0.30 0.0 0 0 44.98 66.48
L 99.82 97.91
A 0.30 0.30 0.0 0 0 100.12 97.91
L 155.05 66.47"
/>
<path stroke="#848484" vector-effect="non-scaling-stroke" d="
M 97.83 102.22
A 0.32 0.32 0.0 0 0 97.67 101.94
L 42.48 70.37
A 0.32 0.32 0.0 0 0 42.00 70.65
L 42.00 133.51
A 0.32 0.32 0.0 0 0 42.16 133.79
L 97.04 165.13
A 0.32 0.32 0.0 0 0 97.52 164.85
L 97.83 102.22"
/>
<path stroke="#848484" vector-effect="non-scaling-stroke" d="
M 102.35 101.92
A 0.32 0.32 0.0 0 0 102.19 102.20
L 102.47 164.86
A 0.32 0.32 0.0 0 0 102.95 165.14
L 157.78 133.85
A 0.32 0.32 0.0 0 0 157.94 133.57
L 157.72 70.85
A 0.32 0.32 0.0 0 0 157.24 70.57
L 102.35 101.92"
/>
<path stroke="#848484" vector-effect="non-scaling-stroke" d="
M 101.2539 41.9921
A 1.17 1.17 0.0 0 0 100.0859 40.8201
L 100.0459 40.8200
A 1.17 1.17 0.0 0 0 98.8739 41.9880
L 98.7861 92.2679
A 1.17 1.17 0.0 0 0 99.9541 93.4399
L 99.9941 93.4400
A 1.17 1.17 0.0 0 0 101.1661 92.2720
L 101.2539 41.9921"
/>
<path stroke="#848484" vector-effect="non-scaling-stroke" d="
M 93.8121 104.2576
A 1.09 1.09 0.0 0 0 92.3238 103.8561
L 48.3895 129.1194
A 1.09 1.09 0.0 0 0 47.9879 130.6077
L 48.0079 130.6424
A 1.09 1.09 0.0 0 0 49.4962 131.0439
L 93.4305 105.7806
A 1.09 1.09 0.0 0 0 93.8321 104.2923
L 93.8121 104.2576"
/>
<path stroke="#848484" vector-effect="non-scaling-stroke" d="
M 152.0194 130.6077
A 1.09 1.09 0.0 0 0 151.6178 129.1194
L 107.6488 103.8361
A 1.09 1.09 0.0 0 0 106.1606 104.2377
L 106.1406 104.2723
A 1.09 1.09 0.0 0 0 106.5422 105.7606
L 150.5112 131.0439
A 1.09 1.09 0.0 0 0 151.9994 130.6423
L 152.0194 130.6077"
/>
</g>
<path fill="#dadedf" d="
M 0.00 0.00
L 200.00 0.00
L 200.00 200.00
L 0.00 200.00
L 0.00 0.00
Z
M 40.95 140.48
Q 68.55 157.30 96.63 173.25
C 102.24 176.44 107.25 175.99 112.94 172.72
Q 137.94 158.32 162.95 143.97
Q 165.51 142.50 167.13 140.70
A 1.36 1.36 0.0 0 0 167.49 139.78
C 167.62 114.80 168.11 94.50 166.94 76.07
C 166.62 71.04 164.79 67.55 160.95 64.72
C 158.30 59.86 148.11 55.99 143.18 53.08
C 131.17 46.00 119.07 39.12 106.93 32.27
C 102.78 29.92 100.95 27.45 95.80 30.54
Q 86.26 36.27 72.74 43.77
C 65.00 48.06 55.94 53.83 47.28 58.44
C 36.47 64.19 37.03 68.23 37.02 79.49
Q 36.99 107.48 37.00 135.54
A 1.33 1.30 24.1 0 0 37.35 136.43
L 40.95 140.48
Z"
/>
<path fill="#ffffff" d="
M 160.95 64.72
C 162.26 67.10 163.25 68.73 163.25 71.58
Q 163.26 102.51 163.09 133.43
Q 163.07 137.05 160.83 138.33
Q 133.44 154.04 106.07 169.70
C 102.53 171.72 96.73 171.58 93.59 169.67
C 81.84 162.53 70.33 156.39 57.98 148.94
Q 49.77 143.99 40.95 140.48
L 37.35 136.43
A 1.33 1.30 24.1 0 1 37.00 135.54
Q 36.99 107.48 37.02 79.49
C 37.03 68.23 36.47 64.19 47.28 58.44
C 55.94 53.83 65.00 48.06 72.74 43.77
Q 86.26 36.27 95.80 30.54
C 100.95 27.45 102.78 29.92 106.93 32.27
C 119.07 39.12 131.17 46.00 143.18 53.08
C 148.11 55.99 158.30 59.86 160.95 64.72
Z
M 155.05 66.47
A 0.30 0.30 0.0 0 0 155.05 65.95
L 100.11 34.53
A 0.30 0.30 0.0 0 0 99.81 34.53
L 44.98 65.96
A 0.30 0.30 0.0 0 0 44.98 66.48
L 99.82 97.91
A 0.30 0.30 0.0 0 0 100.12 97.91
L 155.05 66.47
Z
M 97.83 102.22
A 0.32 0.32 0.0 0 0 97.67 101.94
L 42.48 70.37
A 0.32 0.32 0.0 0 0 42.00 70.65
L 42.00 133.51
A 0.32 0.32 0.0 0 0 42.16 133.79
L 97.04 165.13
A 0.32 0.32 0.0 0 0 97.52 164.85
L 97.83 102.22
Z
M 102.35 101.92
A 0.32 0.32 0.0 0 0 102.19 102.20
L 102.47 164.86
A 0.32 0.32 0.0 0 0 102.95 165.14
L 157.78 133.85
A 0.32 0.32 0.0 0 0 157.94 133.57
L 157.72 70.85
A 0.32 0.32 0.0 0 0 157.24 70.57
L 102.35 101.92
Z"
/>
<path fill="#080808" d="
M 155.05 66.47
L 100.12 97.91
A 0.30 0.30 0.0 0 1 99.82 97.91
L 44.98 66.48
A 0.30 0.30 0.0 0 1 44.98 65.96
L 99.81 34.53
A 0.30 0.30 0.0 0 1 100.11 34.53
L 155.05 65.95
A 0.30 0.30 0.0 0 1 155.05 66.47
Z
M 101.2539 41.9921
A 1.17 1.17 0.0 0 0 100.0859 40.8201
L 100.0459 40.8200
A 1.17 1.17 0.0 0 0 98.8739 41.9880
L 98.7861 92.2679
A 1.17 1.17 0.0 0 0 99.9541 93.4399
L 99.9941 93.4400
A 1.17 1.17 0.0 0 0 101.1661 92.2720
L 101.2539 41.9921
Z"
/>
<rect fill="#ffffff" x="-1.19" y="-26.31" transform="translate(100.02,67.13) rotate(0.1)" width="2.38"
height="52.62" rx="1.17"/>
<path fill="#9a9a9b" d="
M 160.95 64.72
C 164.79 67.55 166.62 71.04 166.94 76.07
C 168.11 94.50 167.62 114.80 167.49 139.78
A 1.36 1.36 0.0 0 1 167.13 140.70
Q 165.51 142.50 162.95 143.97
Q 137.94 158.32 112.94 172.72
C 107.25 175.99 102.24 176.44 96.63 173.25
Q 68.55 157.30 40.95 140.48
Q 49.77 143.99 57.98 148.94
C 70.33 156.39 81.84 162.53 93.59 169.67
C 96.73 171.58 102.53 171.72 106.07 169.70
Q 133.44 154.04 160.83 138.33
Q 163.07 137.05 163.09 133.43
Q 163.26 102.51 163.25 71.58
C 163.25 68.73 162.26 67.10 160.95 64.72
Z"
/>
<path fill="#080808" d="
M 97.83 102.22
L 97.52 164.85
A 0.32 0.32 0.0 0 1 97.04 165.13
L 42.16 133.79
A 0.32 0.32 0.0 0 1 42.00 133.51
L 42.00 70.65
A 0.32 0.32 0.0 0 1 42.48 70.37
L 97.67 101.94
A 0.32 0.32 0.0 0 1 97.83 102.22
Z
M 93.8121 104.2576
A 1.09 1.09 0.0 0 0 92.3238 103.8561
L 48.3895 129.1194
A 1.09 1.09 0.0 0 0 47.9879 130.6077
L 48.0079 130.6424
A 1.09 1.09 0.0 0 0 49.4962 131.0439
L 93.4305 105.7806
A 1.09 1.09 0.0 0 0 93.8321 104.2923
L 93.8121 104.2576
Z"
/>
<path fill="#080808" d="
M 102.35 101.92
L 157.24 70.57
A 0.32 0.32 0.0 0 1 157.72 70.85
L 157.94 133.57
A 0.32 0.32 0.0 0 1 157.78 133.85
L 102.95 165.14
A 0.32 0.32 0.0 0 1 102.47 164.86
L 102.19 102.20
A 0.32 0.32 0.0 0 1 102.35 101.92
Z
M 152.0194 130.6077
A 1.09 1.09 0.0 0 0 151.6178 129.1194
L 107.6488 103.8361
A 1.09 1.09 0.0 0 0 106.1606 104.2377
L 106.1406 104.2723
A 1.09 1.09 0.0 0 0 106.5422 105.7606
L 150.5112 131.0439
A 1.09 1.09 0.0 0 0 151.9994 130.6423
L 152.0194 130.6077
Z"
/>
<rect fill="#ffffff" x="-26.43" y="-1.11" transform="translate(70.91,117.45) rotate(-29.9)" width="52.86"
height="2.22" rx="1.09"/>
<rect fill="#ffffff" x="-26.45" y="-1.11" transform="translate(129.08,117.44) rotate(29.9)" width="52.90"
height="2.22" rx="1.09"/>
</svg>

After

Width:  |  Height:  |  Size: 7.9 KiB

22
index.html Normal file
View File

@ -0,0 +1,22 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"
/>
<meta name="theme-color" content="#000000" />
<link rel="icon" type="image/svg+xml" href="./favicon.svg" />
<link rel="apple-touch-icon" href="./pwa-192x192.png" />
<title>metacubexd</title>
<script type="module" crossorigin src="./assets/index-B45ObzUn.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-BVqcsp-M.css">
<link rel="manifest" href="./manifest.webmanifest"><script id="vite-plugin-pwa:register-sw" src="./registerSW.js"></script></head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root" style="display: contents"></div>
</body>
</html>

1
manifest.webmanifest Normal file
View File

@ -0,0 +1 @@
{"name":"metacubexd","short_name":"metacubexd","start_url":"./","display":"standalone","background_color":"#ffffff","lang":"en","scope":"./","icons":[{"src":"pwa-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/pwa-512x512.png","sizes":"512x512","type":"image/png"},{"src":"pwa-512x512.png","sizes":"512x512","type":"image/png","purpose":"any maskable"}]}

BIN
maskable-icon-512x512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
pwa-192x192.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
pwa-512x512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
pwa-64x64.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 622 B

1
registerSW.js Normal file
View File

@ -0,0 +1 @@
if('serviceWorker' in navigator) {window.addEventListener('load', () => {navigator.serviceWorker.register('./sw.js', { scope: './' })})}

1
sw.js Normal file
View File

@ -0,0 +1 @@
if(!self.define){let s,e={};const i=(i,n)=>(i=new URL(i+".js",n).href,e[i]||new Promise((e=>{if("document"in self){const s=document.createElement("script");s.src=i,s.onload=e,document.head.appendChild(s)}else s=i,importScripts(i),e()})).then((()=>{let s=e[i];if(!s)throw new Error(`Module ${i} didnt register its module`);return s})));self.define=(n,r)=>{const l=s||("document"in self?document.currentScript.src:"")||location.href;if(e[l])return;let o={};const t=s=>i(s,l),u={module:{uri:l},exports:o,require:t};e[l]=Promise.all(n.map((s=>u[s]||t(s)))).then((s=>(r(...s),o)))}}define(["./workbox-e1498109"],(function(s){"use strict";self.skipWaiting(),s.clientsClaim(),s.precacheAndRoute([{url:"assets/Config-CsZJM7yL.js",revision:null},{url:"assets/Connections-71kUA6HA.js",revision:null},{url:"assets/global-CpjhqJ7C.js",revision:null},{url:"assets/index-BVqcsp-M.css",revision:null},{url:"assets/index-DJM-jlDz.js",revision:null},{url:"assets/Logs-B4P8LG9X.js",revision:null},{url:"assets/Overview-BirN-SeL.js",revision:null},{url:"assets/Proxies-CwrHiycp.js",revision:null},{url:"assets/Rules-CDOnVcpi.js",revision:null},{url:"assets/Setup-SCbZZn8D.js",revision:null},{url:"index.html",revision:"424f8096fb79e128b1d547bc0e241603"},{url:"registerSW.js",revision:"402b66900e731ca748771b6fc5e7a068"},{url:"favicon.svg",revision:"f5b3372f312fbbe60a6ed8c03741ff80"},{url:"pwa-192x192.png",revision:"c45f48fc59b5bf47e6cbf1626aff51fc"},{url:"pwa-512x512.png",revision:"a311504ae6a46bd29b5678a410aaafc6"},{url:"manifest.webmanifest",revision:"4d78c8bc6207146065400ff644fe5a13"}],{}),s.cleanupOutdatedCaches(),s.registerRoute(new s.NavigationRoute(s.createHandlerBoundToURL("index.html")))}));

1
workbox-e1498109.js Normal file

File diff suppressed because one or more lines are too long