Admin Portal - Next

This commit is contained in:
hillelcoren 2021-10-31 19:25:16 +00:00
parent 3dce68f39c
commit f9629de5b0

View File

@ -32751,7 +32751,7 @@ c44:function c44(){},
b_j(a,b,c,d,e){var s,r
if(B.c.dN(a,"https://invoicing.co"))e=""
s=t.X
r=A.t(["X-CLIENT-VERSION","5.0.62","X-API-SECRET",e,"X-Requested-With","XMLHttpRequest","Content-Type","application/json; charset=utf-8"],s,s)
r=A.t(["X-CLIENT-VERSION","5.0.63","X-API-SECRET",e,"X-Requested-With","XMLHttpRequest","Content-Type","application/json; charset=utf-8"],s,s)
if(b.length!==0)r.A(0,"X-API-Token",b)
if((c==null?"":c).length!==0)r.A(0,"X-API-OAUTH-PASSWORD",c)
if((d==null?"":d).length!==0){s=B.aA.gi6().eE(d)
@ -32760,8 +32760,8 @@ cNF(a){var s,r=a.e,q=r.h(0,"x-app-version"),p=r.h(0,"x-minimum-client-version")
r=a.b
if(r>=500)throw A.i(A.dQX(r,a.giz(a)))
else if(q==null)throw A.i("Error: please check that Invoice Ninja v5 is installed on the server")
else{s=A.ag9(A.aga("5.0.62"),A.aga(p))
if(s<0)throw A.i("Error: client not supported, please update to the latest version [Current v5.0.62 < Minimum v"+A.k(p)+"]")
else{s=A.ag9(A.aga("5.0.63"),A.aga(p))
if(s<0)throw A.i("Error: client not supported, please update to the latest version [Current v5.0.63 < Minimum v"+A.k(p)+"]")
else{s=A.ag9(A.aga(q),A.aga("5.0.4"))
if(s<0)throw A.i("Error: server not supported, please update to the latest version [Current v"+q+" < Minimum v5.0.4]")
else if(r>=400)throw A.i(A.dQX(r,a.giz(a)))}}},
@ -159549,7 +159549,7 @@ return s.a=J.fx(s.a,"\n \u2022 "+A.k(a))},
$S:10}
A.dmr.prototype={
$1(a){a.a="https://634363c8dd6048b8ae89ab6c66dd9c24@sentry.invoicing.co/7"
a.go=a.cy="5.0.62"
a.go=a.cy="5.0.63"
a.ch=new A.dmq(this.a)},
$S:738}
A.dmq.prototype={
@ -160443,8 +160443,8 @@ s=6
return A.T(A.n2(),$async$$3)
case 6:l=b6
k=A.fi(J.e(l.a,"app_version"))
l.t9("String","app_version","5.0.62")
if(!J.n(k,"5.0.62")){n.b.h0(0)
l.t9("String","app_version","5.0.63")
if(!J.n(k,"5.0.63")){n.b.h0(0)
n.c.h0(0)
n.d.h0(0)
for(j=0,a0=n.e;j<10;++j)a0[j].h0(0)
@ -160965,7 +160965,7 @@ r=this.z.a[r].b.y
r=r==null?null:r.y
s="v"+(r==null?"":r)
if(s.length!==0)s+="-"
return B.c.ai(s+A.dS4(),B.a.gac("5.0.62".split(".")))},
return B.c.ai(s+A.dS4(),B.a.gac("5.0.63".split(".")))},
gAj(){var s=this,r=s.x.fy,q=s.y.a
q=s.z.a[q].b.f.bi
q=r.b.h(0,q).a.a
@ -192645,13 +192645,12 @@ A.aTa.prototype={
az(){var s,r=this
r.aK()
s=r.a
s=s.c.c.gho()
r.dy=!s
if(s){s=window.document.documentElement
s.toString
s=s.getAttribute("data-"+new A.Vo(new A.M2(s)).ta("login"))==="true"}else s=!0
s=!s.c.c.gho()
r.dy=s
if(s){r.dx=!0
r.fr=!1}},
r.fr=!1}else{s=window.document.documentElement
s.toString
if(s.getAttribute("data-"+new A.Vo(new A.M2(s)).ta("login"))==="true")r.fr=!1}},
a7(){var s=this.y
if(s.a.a.length===0)s.sY(0,this.a.c.c.b)
this.aJ()},