vuetorrent update

This commit is contained in:
Josh Patra
2024-04-21 16:42:32 -04:00
parent dcac31766f
commit eb3c1de521
106 changed files with 1816 additions and 835 deletions

View File

@@ -1 +0,0 @@
import{aA as f}from"./index-135ae4c1.js";import{c as d,J as t}from"./vue-d2584a6d.js";function h(a,e,o=1){const{currentPage:n,currentPageSize:r,pageCount:u,isFirstPage:c,isLastPage:i,next:g,prev:l}=f({total:()=>t(a).length,page:o,pageSize:()=>t(e)===-1?t(a).length:t(e)}),p=d(()=>{const s=(n.value-1)*t(e),P=s+r.value;return t(a).slice(s,P)});return{currentPage:n,currentPageSize:r,pageCount:u,isFirstPage:c,isLastPage:i,next:g,prev:l,paginatedResults:p}}export{h as u};

View File

@@ -0,0 +1 @@
import{u as f,__tla as __tla_0}from"./index-bUuJUL5l.js";import{c as d,E as t}from"./vue-BSryv7ps.js";let h;let __tla=Promise.all([(()=>{try{return __tla_0}catch{}})()]).then(async()=>{h=function(e,a,o=1){const{currentPage:n,currentPageSize:r,pageCount:u,isFirstPage:c,isLastPage:i,next:g,prev:l}=f({total:()=>t(e).length,page:o,pageSize:()=>t(a)===-1?t(e).length:t(a)}),p=d(()=>{const s=(n.value-1)*t(a),P=s+r.value;return t(e).slice(s,P)});return{currentPage:n,currentPageSize:r,pageCount:u,isFirstPage:c,isLastPage:i,next:g,prev:l,paginatedResults:p}}});export{h as u,__tla};

View File

@@ -0,0 +1 @@
import{D as c,n,__tla as __tla_0}from"./TorrentDetail-DUzghTWr.js";let C;let __tla=Promise.all([(()=>{try{return __tla_0}catch{}})()]).then(async()=>{class l{constructor(a){this._canvasPool=Object.create(null),this.canvasOptions=a||{},this.enableFullScreen=!1}_createCanvasAndContext(a,t){const s=c.get().createCanvas();s.width=a,s.height=t;const e=s.getContext("2d");return{canvas:s,context:e}}getOptimalCanvasAndContext(a,t,s=1){a=Math.ceil(a*s-1e-6),t=Math.ceil(t*s-1e-6),a=n(a),t=n(t);const e=(a<<17)+(t<<1);this._canvasPool[e]||(this._canvasPool[e]=[]);let o=this._canvasPool[e].pop();return o||(o=this._createCanvasAndContext(a,t)),o}returnCanvasAndContext(a){const{width:t,height:s}=a.canvas,e=(t<<17)+(s<<1);this._canvasPool[e].push(a)}clear(){this._canvasPool={}}}C=new l});export{C,__tla};

View File

@@ -0,0 +1 @@
.gap[data-v-a2950234]{gap:8px}.gap[data-v-f6fdaf5d]{gap:8px 16px}#torrentList[data-v-8292d1aa]{background-color:unset}.gap[data-v-1e562e0e]{gap:8px 16px}#torrentList[data-v-2b24c5da]{background-color:unset}.gap[data-v-20bf1baa]{gap:8px}#torrentList[data-v-44c00880]{background-color:unset}#torrentList tbody tr[data-v-44c00880]:nth-child(odd){background-color:rgb(var(--v-theme-surface))}#torrentList tbody tr.selected[data-v-44c00880]{position:relative}#torrentList tbody tr.selected[data-v-44c00880]:nth-child(odd):after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.v-autocomplete .v-field:not(.v-field--focused) input{display:none}

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
.menu-scrollable[data-v-4e81b4b5]{max-height:500px;overflow:visible}.gap[data-v-08ef66f1]{gap:8px}.gap[data-v-60c9ae77]{gap:8px 16px}#torrentList[data-v-31f288a6]{background-color:unset}.gap[data-v-e5ea358f]{gap:8px 16px}#torrentList[data-v-e8f6336b]{background-color:unset}.gap[data-v-23c01601]{gap:8px}#torrentList[data-v-8832d38a]{background-color:unset}#torrentList tbody tr[data-v-8832d38a]:nth-child(odd){background-color:rgb(var(--v-theme-surface))}#torrentList tbody tr.selected[data-v-8832d38a]{position:relative}#torrentList tbody tr.selected[data-v-8832d38a]:nth-child(odd):after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
import{g as v,K as b,$ as h,aa as q,r as x,d as C,x as k,a as S,a1 as K,a2 as T,a3 as s,m as e,W as m,Z as p,u as l,Y as f,ao as _,a9 as y}from"./vue-d2584a6d.js";import{_ as A}from"./PasswordField.vue_vue_type_script_setup_true_lang-f7d196be.js";import{aS as B,aT as F,f as L,aL as U,g as I,h as M,i as N,V as O,j as R,k as $,l as j}from"./index-135ae4c1.js";import"./faker-c43f92d4.js";import"./vuetify-e547ef1b.js";const G=v({__name:"Login",setup(D){const{t:a}=b(),V=h(),o=q(),u=B(),r=x({username:"",password:""}),c=C(!1),w={username:[d=>!!d||a("login.rules.username_required")],password:[d=>!!d||a("login.rules.password_required")]},i=async()=>{c.value&&(await u.login(r.username,r.password),u.isAuthenticated?(y.success(a("login.success")),g()):y.error(a("login.error")))},g=()=>{o.query.redirect?V.push(o.query.redirect):V.push({name:"dashboard"})};return k(async()=>{o.query.username&&o.query.password&&await u.login(o.query.username,o.query.password)}),S(()=>{u.isAuthenticated&&g()}),(d,t)=>(K(),T(F,{class:"mt-16"},{default:s(()=>[e(j,{class:"mx-auto",rounded:"lg","min-width":"250"},{default:s(()=>[e(L,null,{default:s(()=>[m(p(l(a)("login.title")),1)]),_:1}),e(U,null,{default:s(()=>[m(p(l(a)("login.subtitle")),1)]),_:1}),e(I,null,{default:s(()=>[e(M,{modelValue:c.value,"onUpdate:modelValue":t[2]||(t[2]=n=>c.value=n),onSubmit:f(i,["prevent"])},{default:s(()=>[e(N,{modelValue:r.username,"onUpdate:modelValue":t[0]||(t[0]=n=>r.username=n),label:l(a)("login.username"),autofocus:"",rules:w.username,onKeydown:_(f(i,["prevent"]),["enter"]),variant:"outlined"},{prepend:s(()=>[e(O,{color:"accent",icon:"mdi-account"})]),_:1},8,["modelValue","label","rules","onKeydown"]),e(A,{modelValue:r.password,"onUpdate:modelValue":t[1]||(t[1]=n=>r.password=n),label:l(a)("login.password"),rules:w.password,"prepend-icon":"mdi-lock",onKeydown:_(f(i,["prevent"]),["enter"]),variant:"outlined"},null,8,["modelValue","label","rules","onKeydown"])]),_:1},8,["modelValue"])]),_:1}),e(R,null,{default:s(()=>[e($,{variant:"elevated",block:"",color:"accent",onClick:i},{default:s(()=>[m(p(l(a)("login.submit")),1)]),_:1})]),_:1})]),_:1})]),_:1}))}});export{G as default};

View File

@@ -0,0 +1 @@
import{g as v,G as b,r as h,d as C,x as q,a as x,I as k,J as S,K as s,T as K,S as T,m as e,L as m,M as p,u as l,N as f,P as _,U as y}from"./vue-BSryv7ps.js";import{_ as A,__tla as __tla_0}from"./PasswordField.vue_vue_type_script_setup_true_lang-CqQQlY6F.js";import{n as U,o as B,c as F,p as I,d as M,e as N,f as L,k as O,g as R,i as D,V as E,__tla as __tla_1}from"./index-bUuJUL5l.js";import"./vuetify-i5Qjiq6M.js";let z;let __tla=Promise.all([(()=>{try{return __tla_0}catch{}})(),(()=>{try{return __tla_1}catch{}})()]).then(async()=>{z=v({__name:"Login",setup(G){const{t:a}=b(),w=K(),o=T(),u=U(),r=h({username:"",password:""}),c=C(!1),V={username:[d=>!!d||a("login.rules.username_required")],password:[d=>!!d||a("login.rules.password_required")]},i=async()=>{c.value&&(await u.login(r.username,r.password),u.isAuthenticated?(y.success(a("login.success")),g()):y.error(a("login.error")))},g=()=>{o.query.redirect?w.push(o.query.redirect):w.push({name:"dashboard"})};return q(async()=>{o.query.username&&o.query.password&&await u.login(o.query.username,o.query.password)}),x(()=>{u.isAuthenticated&&g()}),(d,n)=>(k(),S(B,{class:"fill-height"},{default:s(()=>[e(E,{class:"mx-auto",rounded:"lg","min-width":"250"},{default:s(()=>[e(F,null,{default:s(()=>[m(p(l(a)("login.title")),1)]),_:1}),e(I,null,{default:s(()=>[m(p(l(a)("login.subtitle")),1)]),_:1}),e(M,null,{default:s(()=>[e(N,{modelValue:c.value,"onUpdate:modelValue":n[2]||(n[2]=t=>c.value=t),onSubmit:f(i,["prevent"])},{default:s(()=>[e(L,{modelValue:r.username,"onUpdate:modelValue":n[0]||(n[0]=t=>r.username=t),id:"username",name:"username",label:l(a)("login.username"),autofocus:"",rules:V.username,onKeydown:_(f(i,["prevent"]),["enter"]),variant:"outlined"},{prepend:s(()=>[e(O,{color:"accent",icon:"mdi-account"})]),_:1},8,["modelValue","label","rules","onKeydown"]),e(A,{modelValue:r.password,"onUpdate:modelValue":n[1]||(n[1]=t=>r.password=t),id:"password",label:l(a)("login.password"),rules:V.password,"prepend-icon":"mdi-lock",onKeydown:_(f(i,["prevent"]),["enter"]),variant:"outlined"},null,8,["modelValue","label","rules","onKeydown"])]),_:1},8,["modelValue"])]),_:1}),e(R,null,{default:s(()=>[e(D,{variant:"elevated",block:"",color:"accent",onClick:i},{default:s(()=>[m(p(l(a)("login.submit")),1)]),_:1})]),_:1})]),_:1})]),_:1}))}})});export{z as default,__tla};

View File

@@ -0,0 +1 @@
.v-theme--darkTheme .logtype-normal[data-v-1115081b]{color:#fff!important}.v-theme--darkTheme .logtype-info[data-v-1115081b]{color:#00bfff!important}.v-theme--darkTheme .logtype-warning[data-v-1115081b]{color:#ff8c00!important}.v-theme--darkTheme .logtype-critical[data-v-1115081b]{color:#c80000!important}.v-theme--lightTheme .logtype-normal[data-v-1115081b]{color:#000!important}.v-theme--lightTheme .logtype-info[data-v-1115081b]{color:#00f!important}.v-theme--lightTheme .logtype-warning[data-v-1115081b]{color:orange!important}.v-theme--lightTheme .logtype-critical[data-v-1115081b]{color:red!important}

View File

@@ -0,0 +1 @@
import{u as z,__tla as __tla_0}from"./ArrayPagination-DuWOkPss.js";import{q as D,r as H,L as l,s as K,t as Q,v as R,w as J,x as f,i as X,y as m,z as Y,A as Z,B as c,f as ee,C as S,D as te,E as le,F as ae,h as se,G as oe,H as ne,I as ue,__tla as __tla_1}from"./index-bUuJUL5l.js";import{g as re,G as ie,d as T,c as g,H as de,V as me,I as r,W as C,m as e,K as a,T as ce,X as v,M as i,u as o,J as y,Q as w,O as V,F,Y as pe,Z as fe,L as b}from"./vue-BSryv7ps.js";import"./vuetify-i5Qjiq6M.js";let xe;let __tla=Promise.all([(()=>{try{return __tla_0}catch{}})(),(()=>{try{return __tla_1}catch{}})()]).then(async()=>{let ge,ve,ye,Ve,_e,Le;ge={class:"pa-3"};ve={style:{"font-size":"1.6em !important"},class:"subtitle-1 ml-2"};ye={class:"d-flex justify-end"};Ve={class:"d-flex mr-8 overflow-hidden"};_e={class:"d-flex"};Le=re({__name:"Logs",setup(he){const B=ce(),{t:E}=ie(),_=D(),O=H(),L=T([{title:l[l.NORMAL],value:l.NORMAL},{title:l[l.INFO],value:l.INFO},{title:l[l.WARNING],value:l.WARNING},{title:l[l.CRITICAL],value:l.CRITICAL}]),u=T([l.NORMAL,l.INFO,l.WARNING,l.CRITICAL]),h=T(""),P=g(()=>_.logs),G=g(()=>P.value.filter(t=>u.value.includes(t.type))),I=g(()=>u.value.length>0),N=g(()=>u.value.length===L.value.length),{results:x}=K(G,h,t=>t.message),{paginatedResults:M,currentPage:d,pageCount:p}=z(x,30),k=()=>{B.push({name:"dashboard"})},U=t=>`logtype-${l[t?.type]?.toLowerCase()}`,$=t=>l[t.type],W=t=>ne(t.timestamp*1e3).format(O.dateFormat),j=()=>{N.value?u.value=[]:u.value=L.value.map(t=>t.value)},A=t=>{t.key==="Escape"&&k()};return de(async()=>{document.addEventListener("keydown",A),await _.cleanAndFetchLogs(),Q(_.fetchLogs,15e3)}),me(()=>{document.removeEventListener("keydown",A)}),(t,n)=>(r(),C("div",ge,[e(R,{"no-gutters":"",align:"center",justify:"center"},{default:a(()=>[e(f,null,{default:a(()=>[v("h1",ve,i(o(E)("logs.title")),1)]),_:1}),e(f,null,{default:a(()=>[v("div",ye,[e(X,{icon:"mdi-close",variant:"plain",onClick:k})])]),_:1})]),_:1}),e(J,null,{default:a(()=>[e(m,null,{default:a(()=>[e(R,null,{default:a(()=>[e(f,{cols:"6"},{default:a(()=>[e(Y,{modelValue:u.value,"onUpdate:modelValue":n[0]||(n[0]=s=>u.value=s),items:L.value,label:t.$t("logs.filters.type"),"hide-details":"",multiple:"",chips:""},{"prepend-item":a(()=>[e(m,{title:t.$t("common.selectAll"),onClick:j},{prepend:a(()=>[e(Z,{indeterminate:I.value&&!N.value,"model-value":I.value},null,8,["indeterminate","model-value"])]),_:1},8,["title"]),e(c)]),_:1},8,["modelValue","items","label"])]),_:1}),e(f,{cols:"6"},{default:a(()=>[e(ee,{modelValue:h.value,"onUpdate:modelValue":n[1]||(n[1]=s=>h.value=s),label:t.$t("logs.filters.query"),"hide-details":""},null,8,["modelValue","label"])]),_:1})]),_:1})]),_:1}),e(c,{class:"my-3",thickness:"5"}),o(p)>1?(r(),y(m,{key:0},{default:a(()=>[e(S,{modelValue:o(d),"onUpdate:modelValue":n[2]||(n[2]=s=>w(d)?d.value=s:null),length:o(p),"prev-icon":"mdi-menu-left","next-icon":"mdi-menu-right"},null,8,["modelValue","length"])]),_:1})):V("",!0),e(c),(r(!0),C(F,null,pe(o(M),(s,q)=>(r(),C(F,null,[q>0?(r(),y(c,{key:0})):V("",!0),e(m,{class:"pa-0"},{default:a(()=>[e(te,{class:"p-0"},{default:a(()=>[e(le,{class:fe([U(s),"pa-0"])},{default:a(()=>[e(ae,{class:"text-no-wrap"},{default:a(()=>[v("div",Ve,"["+i(s.id)+"] "+i(s.message),1),e(se),v("div",_e,i(W(s)),1)]),_:2},1024),e(oe,{class:"wrap-word text-select"},{default:a(()=>[b(" ["+i($(s))+"] "+i(s.message),1)]),_:2},1024)]),_:2},1032,["class"])]),_:2},1024)]),_:2},1024)],64))),256)),o(x).length===0?(r(),y(m,{key:1},{default:a(()=>[b(i(t.$t("logs.emptyLogList")),1)]),_:1})):V("",!0),e(c),o(p)>1?(r(),y(m,{key:2},{default:a(()=>[e(S,{modelValue:o(d),"onUpdate:modelValue":n[3]||(n[3]=s=>w(d)?d.value=s:null),length:o(p),"prev-icon":"mdi-menu-left","next-icon":"mdi-menu-right"},null,8,["modelValue","length"])]),_:1})):V("",!0)]),_:1})]))}});xe=ue(Le,[["__scopeId","data-v-1115081b"]])});export{xe as default,__tla};

View File

@@ -1 +0,0 @@
.v-theme--darkTheme .logtype-normal[data-v-77aed2b3]{color:#fff!important}.v-theme--darkTheme .logtype-info[data-v-77aed2b3]{color:gray!important}.v-theme--darkTheme .logtype-warning[data-v-77aed2b3]{color:#b8860b!important}.v-theme--darkTheme .logtype-critical[data-v-77aed2b3]{color:#c80000!important}.v-theme--lightTheme .logtype-normal[data-v-77aed2b3]{color:#000!important}.v-theme--lightTheme .logtype-info[data-v-77aed2b3]{color:gray!important}.v-theme--lightTheme .logtype-warning[data-v-77aed2b3]{color:#daa520!important}.v-theme--lightTheme .logtype-critical[data-v-77aed2b3]{color:red!important}

View File

@@ -1 +0,0 @@
import{u as G}from"./ArrayPagination-26934cac.js";import{ay as P,y as K,az as l,av as H,ai as Q,q as b,c as Z,r as g,k as J,d,a1 as X,s as Y,a3 as c,i as ee,N as S,aw as te,ax as le,_ as ae}from"./index-135ae4c1.js";import"./faker-c43f92d4.js";import{g as se,$ as oe,K as ne,d as h,c as f,M as ue,I as ie,a1 as i,a6 as I,m as e,a3 as a,ab as F,Z as m,u as o,a2 as v,D as x,a8 as y,F as B,a7 as re,a5 as de,W as N}from"./vue-d2584a6d.js";import{d as me}from"./dayjs.min-1969f9c6.js";import"./vuetify-e547ef1b.js";const ce={class:"pa-3"},pe={style:{"font-size":"1.6em !important"},class:"subtitle-1 ml-2"},ge={class:"d-flex justify-end"},fe=se({__name:"Logs",setup(ve){const w=oe(),{t:O}=ne(),_=P(),$=K(),V=h([{title:l[l.NORMAL],value:l.NORMAL},{title:l[l.INFO],value:l.INFO},{title:l[l.WARNING],value:l.WARNING},{title:l[l.CRITICAL],value:l.CRITICAL}]),u=h([l.NORMAL,l.INFO,l.WARNING,l.CRITICAL]),L=h(""),M=f(()=>_.logs),U=f(()=>M.value.filter(t=>u.value.includes(t.type))),{results:C}=H(U,L,t=>t.message),T=f(()=>u.value.length>0),k=f(()=>u.value.length===V.value.length),{paginatedResults:E,currentPage:r,pageCount:p}=G(C,30),A=()=>{w.push({name:"dashboard"})},W=t=>`logtype-${l[t?.type]?.toLowerCase()}`,j=t=>l[t.type],q=t=>me(t.timestamp*1e3).format($.dateFormat),z=()=>{k.value?u.value=[]:u.value=V.value.map(t=>t.value)},R=t=>{t.key==="Escape"&&A()};return ue(async()=>{document.addEventListener("keydown",R),await _.cleanAndFetchLogs(),Q(_.fetchLogs,15e3)}),ie(()=>{document.removeEventListener("keydown",R)}),(t,n)=>(i(),I("div",ce,[e(b,{"no-gutters":"",align:"center",justify:"center"},{default:a(()=>[e(g,null,{default:a(()=>[F("h1",pe,m(o(O)("logs.title")),1)]),_:1}),e(g,null,{default:a(()=>[F("div",ge,[e(J,{icon:"mdi-close",variant:"plain",onClick:A})])]),_:1})]),_:1}),e(Z,null,{default:a(()=>[e(d,null,{default:a(()=>[e(b,null,{default:a(()=>[e(g,{cols:"6"},{default:a(()=>[e(X,{modelValue:u.value,"onUpdate:modelValue":n[0]||(n[0]=s=>u.value=s),items:V.value,label:t.$t("logs.filters.type"),"hide-details":"",multiple:"",chips:""},{"prepend-item":a(()=>[e(d,{title:t.$t("common.selectAll"),onClick:z},{prepend:a(()=>[e(Y,{indeterminate:T.value&&!k.value,"model-value":T.value},null,8,["indeterminate","model-value"])]),_:1},8,["title"]),e(c)]),_:1},8,["modelValue","items","label"])]),_:1}),e(g,{cols:"6"},{default:a(()=>[e(ee,{modelValue:L.value,"onUpdate:modelValue":n[1]||(n[1]=s=>L.value=s),label:t.$t("logs.filters.query"),"hide-details":""},null,8,["modelValue","label"])]),_:1})]),_:1})]),_:1}),e(c,{class:"my-3",thickness:"5"}),o(p)>1?(i(),v(d,{key:0},{default:a(()=>[e(S,{modelValue:o(r),"onUpdate:modelValue":n[2]||(n[2]=s=>x(r)?r.value=s:null),length:o(p),"prev-icon":"mdi-menu-left","next-icon":"mdi-menu-right"},null,8,["modelValue","length"])]),_:1})):y("",!0),e(c),(i(!0),I(B,null,re(o(E),(s,D)=>(i(),I(B,null,[D>0?(i(),v(c,{key:0})):y("",!0),e(d,{class:de(W(s))},{default:a(()=>[e(te,null,{default:a(()=>[N(m(s.id)+") "+m(s.message),1)]),_:2},1024),e(le,null,{default:a(()=>[N(m(j(s))+" | "+m(q(s)),1)]),_:2},1024)]),_:2},1032,["class"])],64))),256)),o(C).length===0?(i(),v(d,{key:1},{default:a(()=>[N(m(t.$t("logs.emptyLogList")),1)]),_:1})):y("",!0),e(c),o(p)>1?(i(),v(d,{key:2},{default:a(()=>[e(S,{modelValue:o(r),"onUpdate:modelValue":n[3]||(n[3]=s=>x(r)?r.value=s:null),length:o(p),"prev-icon":"mdi-menu-left","next-icon":"mdi-menu-right"},null,8,["modelValue","length"])]),_:1})):y("",!0)]),_:1})]))}});const Ne=ae(fe,[["__scopeId","data-v-77aed2b3"]]);export{Ne as default};

View File

@@ -0,0 +1 @@
import{l as a,m as r,_ as n,__tla as __tla_0}from"./index-bUuJUL5l.js";import{g as u,H as i,S as m,T as p}from"./vue-BSryv7ps.js";import"./vuetify-i5Qjiq6M.js";let l;let __tla=Promise.all([(()=>{try{return __tla_0}catch{}})()]).then(async()=>{l=u({__name:"MagnetHandler",setup(d){const o=m(),s=p();return i(async()=>{const e=decodeURIComponent(o.params.url);if(e.startsWith("magnet:")){const t=a();t.isFirstInit=!1,t.pushTorrentToQueue(e),r().createDialog(n,{})}await s.push({name:"dashboard"})}),()=>{}}})});export{l as default,__tla};

View File

@@ -1 +0,0 @@
import{au as r,v as s,aR as n}from"./index-135ae4c1.js";import{g as u,aa as i,$ as m,M as p}from"./vue-d2584a6d.js";import"./faker-c43f92d4.js";import"./vuetify-e547ef1b.js";const l=u({__name:"MagnetHandler",setup(d){const o=i(),a=m();return p(async()=>{const e=decodeURIComponent(o.params.url);if(e.startsWith("magnet:")){const t=r();t.isFirstInit=!1,t.pushTorrentToQueue(e),s().createDialog(n,{})}await a.push({name:"dashboard"})}),()=>{}}});export{l as default};

View File

@@ -0,0 +1 @@
import{k as b,h as S,R as D,w as I,y as L,a as O,S as U,T as A,V as q,c as j,d as z,e as G,f as J,O as Q,P as W,g as X,i as B,j as Y,__tla as __tla_0}from"./index-bUuJUL5l.js";import{g as C,$ as Z,I as o,J as s,K as a,X as x,L as c,M as i,O as m,W as g,m as l,Y as F,a0 as K,a1 as N,F as E,a2 as ee,a3 as ae,a4 as oe,G as te,d as T,r as le,c as R,H as se,u as w,N as ne,P as re,Q as de}from"./vue-BSryv7ps.js";let ve,he;let __tla=Promise.all([(()=>{try{return __tla_0}catch{}})()]).then(async()=>{let ie,ue,me,ce;ie={class:"d-flex"};ue={key:2};me={key:3};ce=C({__name:"RightClickMenuEntry",props:{text:{},icon:{},action:{type:Function},hidden:{type:Boolean},disabled:{type:Boolean},disabledText:{},disabledIcon:{},children:{}},setup(f){const t=f,n=()=>{t.action&&t.action()};return(e,u)=>{const v=Z("RightClickMenuEntry",!0);return e.hidden?m("",!0):(o(),s(L,{key:0,class:"px-3",disabled:e.disabled,onClick:n},{default:a(()=>[x("div",ie,[e.disabled&&e.disabledIcon?(o(),s(b,{key:0,class:"mr-2"},{default:a(()=>[c(i(e.disabledIcon),1)]),_:1})):e.icon?(o(),s(b,{key:1,class:"mr-2"},{default:a(()=>[c(i(e.icon),1)]),_:1})):m("",!0),e.disabled&&e.disabledText?(o(),g("span",ue,i(e.disabledText),1)):(o(),g("span",me,i(e.text),1)),l(S),!e.disabled&&e.children?(o(),s(b,{key:4},{default:a(()=>[c("mdi-chevron-right")]),_:1})):m("",!0)]),e.children?(o(),s(D,{key:0,activator:"parent","open-on-hover":"","open-on-click":"","close-delay":"10","open-delay":"0",location:"right"},{default:a(()=>[l(I,null,{default:a(()=>[(o(!0),g(E,null,F(e.children,h=>(o(),s(v,K(N(h)),null,16))),256))]),_:1})]),_:1})):m("",!0)]),_:1},8,["disabled"]))}}});ve=C({__name:"RightClickMenu",props:ee({menuData:{}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(f){const t=ae(f,"modelValue");return(n,e)=>t.value?(o(),s(D,{key:0,modelValue:t.value,"onUpdate:modelValue":e[0]||(e[0]=u=>t.value=u),activator:"parent","close-on-content-click":!0,transition:"slide-y-transition","scroll-strategy":"none"},{default:a(()=>[l(I,null,{default:a(()=>[oe(n.$slots,"top"),(o(!0),g(E,null,F(n.menuData,u=>(o(),s(ce,K(N(u)),null,16))),256))]),_:3})]),_:3},8,["modelValue"])):m("",!0)}});he=C({__name:"MoveTorrentDialog",props:{guid:{},hashes:{},mode:{}},setup(f){const t=f,{isOpened:n}=O(t.guid),{t:e}=te(),u=U(),v=A(),h=T(),_=T(),V=T(!1),y=le({newPath:""}),H=[r=>!!r||e("dialogs.moveTorrent.required")],M=R(()=>t.hashes.map(v.getTorrentByHash)),k=R(()=>{switch(t.mode){case"dl":return M.value[0]?.download_path;case"save":return M.value[0]?.savePath}});async function P(){await h.value?.validate(),V.value&&(await u.toggleAutoTmm(t.hashes,!1),await v.moveTorrents(t.mode,t.hashes,y.newPath),_.value?.saveValueToHistory(),$())}const $=()=>{n.value=!1};return se(()=>{y.newPath=k.value||""}),(r,d)=>(o(),s(Y,{modelValue:w(n),"onUpdate:modelValue":d[3]||(d[3]=p=>de(n)?n.value=p:null)},{default:a(()=>[l(q,null,{default:a(()=>[l(j,null,{default:a(()=>[c(i(r.$t(`dialogs.moveTorrent.${r.mode}.title`)),1)]),_:1}),l(z,null,{default:a(()=>[l(w(G),{modelValue:V.value,"onUpdate:modelValue":d[1]||(d[1]=p=>V.value=p),ref_key:"form",ref:h,onSubmit:d[2]||(d[2]=ne(()=>{},["prevent"]))},{default:a(()=>[k.value?(o(),s(J,{key:0,"model-value":k.value,disabled:"",label:r.$t("dialogs.moveTorrent.oldPath")},null,8,["model-value","label"])):m("",!0),l(Q,{modelValue:y.newPath,"onUpdate:modelValue":d[0]||(d[0]=p=>y.newPath=p),historyKey:w(W).TORRENT_PATH,ref_key:"field",ref:_,rules:H,autofocus:"",label:r.$t("dialogs.moveTorrent.newPath"),onKeydown:re(P,["enter"])},null,8,["modelValue","historyKey","label"])]),_:1},8,["modelValue"])]),_:1}),l(X,null,{default:a(()=>[l(S),l(B,{color:"error",onClick:$},{default:a(()=>[c(i(r.$t("common.cancel")),1)]),_:1}),l(B,{color:"accent",disabled:!V.value,onClick:P},{default:a(()=>[c(i(r.$t("common.save")),1)]),_:1},8,["disabled"])]),_:1})]),_:1})]),_:1},8,["modelValue"]))}})});export{ve as _,he as a,__tla};

View File

@@ -0,0 +1 @@
import{_ as o,__tla as __tla_0}from"./MoveTorrentFileDialog.vue_vue_type_script_setup_true_lang-CJmQtbIM.js";import"./vue-BSryv7ps.js";import{__tla as __tla_1}from"./index-bUuJUL5l.js";import"./vuetify-i5Qjiq6M.js";let __tla=Promise.all([(()=>{try{return __tla_0}catch{}})(),(()=>{try{return __tla_1}catch{}})()]).then(async()=>{});export{o as default,__tla};

View File

@@ -0,0 +1 @@
import{g as I,G as S,d as u,r as h,H as B,A as g,I as F,J as T,K as n,m as l,L as m,M as f,u as V,N as D,O as x,P as M,Q as O}from"./vue-BSryv7ps.js";import{a as $,b as K,V as U,c as A,d as P,e as R,f as b,g as _,h as j,i as C,j as q,__tla as __tla_0}from"./index-bUuJUL5l.js";let J;let __tla=Promise.all([(()=>{try{return __tla_0}catch{}})()]).then(async()=>{J=I({__name:"MoveTorrentFileDialog",props:{guid:{},hash:{},isFolder:{type:Boolean},oldName:{}},setup(k){const o=k,{isOpened:r}=$(o.guid),{t:c}=S(),N=K(),p=u(),i=u(),d=u(!1),t=h({newName:""}),y=[e=>!!e||c("dialogs.moveTorrent.required")];async function v(){await p.value?.validate(),d.value&&(o.isFolder?await N.renameTorrentFolder(o.hash,o.oldName,t.newName):await N.renameTorrentFile(o.hash,o.oldName,t.newName),w())}const w=()=>{r.value=!1};return B(()=>{if(t.newName=o.oldName,o.isFolder)g(()=>i.value?.select());else{const e=t.newName.lastIndexOf("/"),a=t.newName.lastIndexOf(".");g(()=>{i.value?.setSelectionRange(e+1,a==-1?t.newName.length:a)})}}),(e,a)=>(F(),T(q,{modelValue:V(r),"onUpdate:modelValue":a[3]||(a[3]=s=>O(r)?r.value=s:null)},{default:n(()=>[l(U,null,{default:n(()=>[l(A,null,{default:n(()=>[m(f(V(c)("dialogs.moveTorrentFile.title",1+Number(e.isFolder))),1)]),_:1}),l(P,null,{default:n(()=>[l(V(R),{modelValue:d.value,"onUpdate:modelValue":a[1]||(a[1]=s=>d.value=s),ref_key:"form",ref:p,onSubmit:a[2]||(a[2]=D(()=>{},["prevent"]))},{default:n(()=>[e.oldName?(F(),T(b,{key:0,"model-value":e.oldName,disabled:"",label:e.$t("dialogs.moveTorrentFile.oldName")},null,8,["model-value","label"])):x("",!0),l(b,{modelValue:t.newName,"onUpdate:modelValue":a[0]||(a[0]=s=>t.newName=s),ref_key:"input",ref:i,rules:y,autofocus:"",label:e.$t("dialogs.moveTorrent.newPath"),onKeydown:M(v,["enter"])},null,8,["modelValue","label"])]),_:1},8,["modelValue"])]),_:1}),l(_,null,{default:n(()=>[l(j),l(C,{color:"error",onClick:w},{default:n(()=>[m(f(e.$t("common.cancel")),1)]),_:1}),l(C,{color:"accent",disabled:!d.value,onClick:v},{default:n(()=>[m(f(e.$t("common.save")),1)]),_:1},8,["disabled"])]),_:1})]),_:1})]),_:1},8,["modelValue"]))}})});export{J as _,__tla};

View File

@@ -0,0 +1 @@
import{g as c,d as r,c as o,I as t,J as d,R as i,K as l,m}from"./vue-BSryv7ps.js";import{k as u,f,__tla as __tla_0}from"./index-bUuJUL5l.js";let _;let __tla=Promise.all([(()=>{try{return __tla_0}catch{}})()]).then(async()=>{_=c({__name:"PasswordField",props:{hideIcon:{type:Boolean},prependIcon:{}},setup(I){const e=r(!1);function a(){e.value=!e.value}const p=o(()=>e.value?"text":"password"),s=o(()=>e.value?"mdi-eye":"mdi-eye-off");return(n,v)=>(t(),d(f,{name:"password",type:p.value,"append-inner-icon":n.hideIcon?"":s.value,"onClick:appendInner":a},i({_:2},[n.prependIcon?{name:"prepend",fn:l(()=>[m(u,{color:"accent",icon:n.prependIcon},null,8,["icon"])]),key:"0"}:void 0]),1032,["type","append-inner-icon"]))}})});export{_,__tla};

View File

@@ -1 +0,0 @@
import{g as s,d as r,c as o,a1 as t,a2 as i,au as d,a3 as l,m as u}from"./vue-d2584a6d.js";import{V as m,i as f}from"./index-135ae4c1.js";const h=s({__name:"PasswordField",props:{hideIcon:{type:Boolean},prependIcon:{}},setup(v){const e=r(!1);function a(){e.value=!e.value}const p=o(()=>e.value?"text":"password"),c=o(()=>e.value?"mdi-eye":"mdi-eye-off");return(n,y)=>(t(),i(f,{type:p.value,"append-inner-icon":n.hideIcon?"":c.value,"onClick:appendInner":a},d({_:2},[n.prependIcon?{name:"prepend",fn:l(()=>[u(m,{color:"accent",icon:n.prependIcon},null,8,["icon"])]),key:"0"}:void 0]),1032,["type","append-inner-icon"]))}});export{h as _};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
.rss-read.v-theme--darkTheme[data-v-87c5959f]{color:#b6b6b6!important}.rss-read.v-theme--lightTheme[data-v-87c5959f]{color:gray!important}.description-container[data-v-87c5959f]{border:solid red 5px}.description-container img{max-width:100%;height:auto}

View File

@@ -0,0 +1 @@
.rss-read.v-theme--darkTheme[data-v-77fbfd3e]{color:#b6b6b6!important}.rss-read.v-theme--lightTheme[data-v-77fbfd3e]{color:gray!important}.description-container[data-v-77fbfd3e]{border:solid red 5px}.description-container img{max-width:100%;height:auto}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
.scrollable-col[data-v-8013deca]{@media (min-width: 600px){max-height:calc(100vh - 200px)}@media (max-width: 599px){max-height:calc(60vh - 200px)}overflow-y:auto}.gap[data-v-1eb1c7d2]{margin-bottom:8px}.gap[data-v-1eb1c7d2]:last-child{margin-bottom:unset}td .dnd-handle[data-v-63969f1b]{cursor:move}
.scrollable-col[data-v-d359259e]{@media (min-width: 600px){max-height:calc(100vh - 200px)}@media (max-width: 599px){max-height:calc(60vh - 200px)}overflow-y:auto}.gap[data-v-1eb1c7d2]{margin-bottom:8px}.gap[data-v-1eb1c7d2]:last-child{margin-bottom:unset}td .dnd-handle[data-v-63969f1b]{cursor:move}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.spacer[data-v-68d0ffb7]{margin-left:8px;margin-right:16px}.v-theme--darkTheme .selected[data-v-68d0ffb7]{background-color:rgb(var(--v-theme-surface));filter:brightness(135%)}.v-theme--lightTheme .selected[data-v-68d0ffb7]{background-color:rgb(var(--v-theme-surface));filter:brightness(75%)}#_tree-root{font-size:medium;list-style-type:none}#_tree-root div.v-virtual-scroll__item{padding-top:8px}#_tree-root div.v-virtual-scroll__item:first-child{padding-top:0}#_tree-root div.v-virtual-scroll__item:last-child{padding-bottom:8px}.gap[data-v-074ad8b6]{gap:8px}canvas[data-v-212dd1f4]{height:100%;width:100%}.chipgap[data-v-aeeb04ab]{gap:4px}.gap[data-v-ceb5c391]{gap:8px}.cursor-help[data-v-ceb5c391]{cursor:help}.gap[data-v-ed947913]{gap:8px}.v-theme--darkTheme .tracker-disabled[data-v-ed947913]{color:#c6c6c6}.v-theme--darkTheme .tracker-not_yet_contacted[data-v-ed947913]{color:orange}.v-theme--darkTheme .tracker-working[data-v-ed947913]{color:#90ee90}.v-theme--darkTheme .tracker-not_working[data-v-ed947913]{color:#f08080}.v-theme--darkTheme .tracker-updating[data-v-ed947913]{color:#add8e6}.v-theme--lightTheme .tracker-disabled[data-v-ed947913]{color:gray}.v-theme--lightTheme .tracker-not_yet_contacted[data-v-ed947913]{color:orange}.v-theme--lightTheme .tracker-working[data-v-ed947913]{color:green}.v-theme--lightTheme .tracker-not_working[data-v-ed947913]{color:red}.v-theme--lightTheme .tracker-updating[data-v-ed947913]{color:#1e90ff}

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
.gap[data-v-bb1329d2]{gap:8px}canvas[data-v-0d43f850]{height:100%;width:100%}.chipgap[data-v-0d43f850]{gap:4px}.gap[data-v-04aee0ca]{gap:8px}.cursor-help[data-v-04aee0ca]{cursor:help}.gap[data-v-ed947913]{gap:8px}.v-theme--darkTheme .tracker-disabled[data-v-ed947913]{color:#c6c6c6}.v-theme--darkTheme .tracker-not_yet_contacted[data-v-ed947913]{color:orange}.v-theme--darkTheme .tracker-working[data-v-ed947913]{color:#90ee90}.v-theme--darkTheme .tracker-not_working[data-v-ed947913]{color:#f08080}.v-theme--darkTheme .tracker-updating[data-v-ed947913]{color:#add8e6}.v-theme--lightTheme .tracker-disabled[data-v-ed947913]{color:gray}.v-theme--lightTheme .tracker-not_yet_contacted[data-v-ed947913]{color:orange}.v-theme--lightTheme .tracker-working[data-v-ed947913]{color:green}.v-theme--lightTheme .tracker-not_working[data-v-ed947913]{color:red}.v-theme--lightTheme .tracker-updating[data-v-ed947913]{color:#1e90ff}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
import{M as e,__tla as __tla_0}from"./TorrentDetail-DUzghTWr.js";import{U as o,__tla as __tla_1}from"./colorToUniform-DavgjoLv.js";let i;let __tla=Promise.all([(()=>{try{return __tla_0}catch{}})(),(()=>{try{return __tla_1}catch{}})()]).then(async()=>{const t=new Int32Array(e);for(let r=0;r<e;r++)t[r]=r;i=new o({uTextures:{value:t,type:"i32",size:e}},{isStatic:!0})});export{i as b,__tla};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
import{B as g,D as B}from"./vue-BSryv7ps.js";var F="Expected a function",S=NaN,M="[object Symbol]",N=/^\s+|\s+$/g,W=/^[-+]0x[0-9a-f]+$/i,A=/^0b[01]+$/i,D=/^0o[0-7]+$/i,R=parseInt,_=typeof g=="object"&&g&&g.Object===Object&&g,G=typeof self=="object"&&self&&self.Object===Object&&self,P=_||G||Function("return this")(),H=Object.prototype,U=H.toString,X=Math.max,q=Math.min,T=function(){return P.Date.now()};function z(e,t,i){var a,s,l,c,r,f,u=0,x=!1,d=!1,y=!0;if(typeof e!="function")throw new TypeError(F);t=E(t)||0,v(i)&&(x=!!i.leading,d="maxWait"in i,l=d?X(E(i.maxWait)||0,t):l,y="trailing"in i?!!i.trailing:y);function p(n){var o=a,m=s;return a=s=void 0,u=n,c=e.apply(m,o),c}function k(n){return u=n,r=setTimeout(b,t),x?p(n):c}function C(n){var o=n-f,m=n-u,h=t-o;return d?q(h,l-m):h}function I(n){var o=n-f,m=n-u;return f===void 0||o>=t||o<0||d&&m>=l}function b(){var n=T();if(I(n))return O(n);r=setTimeout(b,C(n))}function O(n){return r=void 0,y&&a?p(n):(a=s=void 0,c)}function L(){r!==void 0&&clearTimeout(r),u=0,a=f=s=r=void 0}function $(){return r===void 0?c:O(T())}function j(){var n=T(),o=I(n);if(a=arguments,s=this,f=n,o){if(r===void 0)return k(f);if(d)return r=setTimeout(b,t),p(f)}return r===void 0&&(r=setTimeout(b,t)),c}return j.cancel=L,j.flush=$,j}function v(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function J(e){return!!e&&typeof e=="object"}function K(e){return typeof e=="symbol"||J(e)&&U.call(e)==M}function E(e){if(typeof e=="number")return e;if(K(e))return S;if(v(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=v(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(N,"");var i=A.test(e);return i||D.test(e)?R(e.slice(2),i?2:8):W.test(e)?S:+e}var Q=z;const Y=B(Q);export{Y as d};

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
import{at as g,ad as F}from"./vue-d2584a6d.js";var M="Expected a function",S=0/0,N="[object Symbol]",W=/^\s+|\s+$/g,A=/^[-+]0x[0-9a-f]+$/i,B=/^0b[01]+$/i,R=/^0o[0-7]+$/i,_=parseInt,D=typeof g=="object"&&g&&g.Object===Object&&g,G=typeof self=="object"&&self&&self.Object===Object&&self,P=D||G||Function("return this")(),H=Object.prototype,U=H.toString,X=Math.max,q=Math.min,T=function(){return P.Date.now()};function z(e,t,i){var a,s,l,c,r,f,u=0,x=!1,d=!1,y=!0;if(typeof e!="function")throw new TypeError(M);t=E(t)||0,v(i)&&(x=!!i.leading,d="maxWait"in i,l=d?X(E(i.maxWait)||0,t):l,y="trailing"in i?!!i.trailing:y);function p(n){var o=a,m=s;return a=s=void 0,u=n,c=e.apply(m,o),c}function k(n){return u=n,r=setTimeout(b,t),x?p(n):c}function C(n){var o=n-f,m=n-u,h=t-o;return d?q(h,l-m):h}function I(n){var o=n-f,m=n-u;return f===void 0||o>=t||o<0||d&&m>=l}function b(){var n=T();if(I(n))return O(n);r=setTimeout(b,C(n))}function O(n){return r=void 0,y&&a?p(n):(a=s=void 0,c)}function L(){r!==void 0&&clearTimeout(r),u=0,a=f=s=r=void 0}function $(){return r===void 0?c:O(T())}function j(){var n=T(),o=I(n);if(a=arguments,s=this,f=n,o){if(r===void 0)return k(f);if(d)return r=setTimeout(b,t),p(f)}return r===void 0&&(r=setTimeout(b,t)),c}return j.cancel=L,j.flush=$,j}function v(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function J(e){return!!e&&typeof e=="object"}function K(e){return typeof e=="symbol"||J(e)&&U.call(e)==N}function E(e){if(typeof e=="number")return e;if(K(e))return S;if(v(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=v(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(W,"");var i=B.test(e);return i||R.test(e)?_(e.slice(2),i?2:8):A.test(e)?S:+e}var Q=z;const Y=F(Q);export{Y as d};

View File

@@ -1 +0,0 @@
const t=[{name:"First torrent"},{name:"Second torrent"}];export{t as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -2,28 +2,31 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<meta name="viewport" content="initial-scale=1, viewport-fit=cover, width=device-width" />
<meta name="description" content="VueTorrent" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="mobile-web-app-capable" content="yes" />
<link rel="icon" href="./favicon.ico" sizes="any" />
<link rel="icon" href="./icon.svg" type="image/svg+xml" />
<link rel="apple-touch-icon" href="./apple-touch-icon.png" />
<link rel="icon" href="favicon.ico" sizes="any" />
<link rel="icon" href="icon.svg" type="image/svg+xml" />
<link rel="apple-touch-icon" href="apple-touch-icon.png" />
<meta name="theme-color" content="#000" />
<title>VueTorrent</title>
<script type="module" crossorigin src="./assets/index-135ae4c1.js"></script>
<link rel="modulepreload" crossorigin href="./assets/vue-d2584a6d.js">
<link rel="modulepreload" crossorigin href="./assets/faker-c43f92d4.js">
<link rel="modulepreload" crossorigin href="./assets/vuetify-e547ef1b.js">
<link rel="stylesheet" href="./assets/index-6e88811a.css">
<link rel="manifest" href="./manifest.webmanifest" crossorigin="use-credentials"><script id="vite-plugin-pwa:register-sw" src="./registerSW.js"></script></head>
<!-- PWA setup -->
<link rel="manifest" href="manifest.webmanifest" crossorigin="use-credentials" />
<script src="registerSW.js"></script>
<script type="module" crossorigin src="./assets/index-bUuJUL5l.js"></script>
<link rel="modulepreload" crossorigin href="./assets/vue-BSryv7ps.js">
<link rel="modulepreload" crossorigin href="./assets/vuetify-i5Qjiq6M.js">
<link rel="stylesheet" crossorigin href="./assets/index-B-0i0kz8.css">
</head>
<body>
<noscript>
<strong>We're sorry but Vuetorrent doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<div style="padding-top: calc(env(safe-area-inset-top) * 0.5)" id="app"></div>
</body>
</html>

View File

@@ -1 +1,22 @@
{"name":"VueTorrent","short_name":"VueTorrent","start_url":".","display":"standalone","background_color":"#000","lang":"en","scope":"./","theme_color":"#597566","icons":[{"src":"./icon-192.png","type":"image/png","sizes":"192x192"},{"src":"./icon-512.png","type":"image/png","sizes":"512x512"}]}
{
"name": "VueTorrent",
"short_name": "VueTorrent",
"start_url": ".",
"display": "standalone",
"background_color": "#000",
"lang": "en",
"scope": "./",
"theme_color": "#597566",
"icons": [
{
"src": "./icon-192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "./icon-512.png",
"type": "image/png",
"sizes": "512x512"
}
]
}

View File

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

View File

@@ -1 +1 @@
if(!self.define){let s,e={};const o=(o,l)=>(o=new URL(o+".js",l).href,e[o]||new Promise((e=>{if("document"in self){const s=document.createElement("script");s.src=o,s.onload=e,document.head.appendChild(s)}else s=o,importScripts(o),e()})).then((()=>{let s=e[o];if(!s)throw new Error(`Module ${o} didnt register its module`);return s})));self.define=(l,r)=>{const n=s||("document"in self?document.currentScript.src:"")||location.href;if(e[n])return;let i={};const a=s=>o(s,n),t={module:{uri:n},exports:i,require:a};e[n]=Promise.all(l.map((s=>t[s]||a(s)))).then((s=>(r(...s),i)))}}define(["./workbox-fa446783"],(function(s){"use strict";self.skipWaiting(),s.clientsClaim(),s.precacheAndRoute([{url:"apple-touch-icon.png",revision:"eed821a5bbfee3a20aab9c51c4977743"},{url:"assets/ArrayPagination-26934cac.js",revision:null},{url:"assets/Dashboard-e1ea0c85.css",revision:null},{url:"assets/Dashboard-e667d93a.js",revision:null},{url:"assets/dayjs-f7aba705.js",revision:null},{url:"assets/dayjs.min-1969f9c6.js",revision:null},{url:"assets/faker-c43f92d4.js",revision:null},{url:"assets/index-135ae4c1.js",revision:null},{url:"assets/index-6e88811a.css",revision:null},{url:"assets/index-fd06c5c5.js",revision:null},{url:"assets/Login-4fd3fce4.js",revision:null},{url:"assets/Logs-a45762d4.css",revision:null},{url:"assets/Logs-c238f379.js",revision:null},{url:"assets/MagnetHandler-d77b3bb6.js",revision:null},{url:"assets/materialdesignicons-webfont-28c8f97f.woff",revision:null},{url:"assets/materialdesignicons-webfont-31010194.woff2",revision:null},{url:"assets/PasswordField.vue_vue_type_script_setup_true_lang-f7d196be.js",revision:null},{url:"assets/roboto-cyrillic-400-normal-495d38d4.woff2",revision:null},{url:"assets/roboto-cyrillic-400-normal-adba67d2.woff",revision:null},{url:"assets/roboto-cyrillic-ext-400-normal-0a32035a.woff",revision:null},{url:"assets/roboto-cyrillic-ext-400-normal-b7ef2cd1.woff2",revision:null},{url:"assets/roboto-greek-400-normal-076b9dc1.woff",revision:null},{url:"assets/roboto-greek-400-normal-daf51ab5.woff2",revision:null},{url:"assets/roboto-latin-400-normal-a9fdbefa.woff",revision:null},{url:"assets/roboto-latin-400-normal-f6734f81.woff2",revision:null},{url:"assets/roboto-latin-ext-400-normal-3c23eb02.woff2",revision:null},{url:"assets/roboto-latin-ext-400-normal-c2b94086.woff",revision:null},{url:"assets/roboto-mono-cyrillic-400-normal-8c367f2f.woff2",revision:null},{url:"assets/roboto-mono-cyrillic-400-normal-f32fcdb5.woff",revision:null},{url:"assets/roboto-mono-cyrillic-ext-400-normal-ae7d87eb.woff",revision:null},{url:"assets/roboto-mono-cyrillic-ext-400-normal-eef02d41.woff2",revision:null},{url:"assets/roboto-mono-greek-400-normal-3355834d.woff",revision:null},{url:"assets/roboto-mono-greek-400-normal-53a8927b.woff2",revision:null},{url:"assets/roboto-mono-latin-400-normal-7295944e.woff2",revision:null},{url:"assets/roboto-mono-latin-400-normal-d5d7d67f.woff",revision:null},{url:"assets/roboto-mono-latin-ext-400-normal-20f2c9c1.woff",revision:null},{url:"assets/roboto-mono-latin-ext-400-normal-820adbd1.woff2",revision:null},{url:"assets/roboto-mono-vietnamese-400-normal-9a7a0360.woff",revision:null},{url:"assets/roboto-vietnamese-400-normal-77b24796.woff2",revision:null},{url:"assets/roboto-vietnamese-400-normal-d2390f1a.woff",revision:null},{url:"assets/RssArticles-1fe4e4bd.js",revision:null},{url:"assets/RssArticles-cd150368.css",revision:null},{url:"assets/SearchEngine-b38d96d6.js",revision:null},{url:"assets/Settings-af9c84ca.js",revision:null},{url:"assets/Settings-cac9dd1a.css",revision:null},{url:"assets/TorrentDetail-85e789b3.js",revision:null},{url:"assets/TorrentDetail-cad7bace.css",revision:null},{url:"assets/torrents-f1a47456.js",revision:null},{url:"assets/vue-d2584a6d.js",revision:null},{url:"assets/vuetify-e547ef1b.js",revision:null},{url:"favicon.ico",revision:"621ef878b9a700bd2249dad60d9f1141"},{url:"icon-192.png",revision:"1a475d65497c0b3609661246d8639ff4"},{url:"icon-512.png",revision:"fa311af470073dfeb0673806ae3e0e2f"},{url:"icon.svg",revision:"1a5efa1aa226aa0533605b7e84667ecd"},{url:"index.html",revision:"b595f6f4165d802b703cd2526fac0ff9"},{url:"registerSW.js",revision:"402b66900e731ca748771b6fc5e7a068"},{url:"favicon.ico",revision:"621ef878b9a700bd2249dad60d9f1141"},{url:"icon.svg",revision:"1a5efa1aa226aa0533605b7e84667ecd"},{url:"icon-192.png",revision:"1a475d65497c0b3609661246d8639ff4"},{url:"icon-512.png",revision:"fa311af470073dfeb0673806ae3e0e2f"},{url:"robots.txt",revision:"b6216d61c03e6ce0c9aea6ca7808f7ca"},{url:"manifest.webmanifest",revision:"112d2a686dfcb44742c79ee217315d5c"}],{}),s.cleanupOutdatedCaches(),s.registerRoute(new s.NavigationRoute(s.createHandlerBoundToURL("index.html")))}));
self.addEventListener("install",(()=>{})),self.addEventListener("fetch",(()=>{}))

Some files were not shown because too many files have changed in this diff Show More