diff --git a/CHANGELOG.md b/CHANGELOG.md
index f8f4790b..50c4fc8f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,8 @@
 > [!CAUTION]
 > **This is a prerelease intended for test and experimental purposes only!**
 
+- Added WakaTime OAuth2 provider ([#5829](https://github.com/pocketbase/pocketbase/pull/5829); thanks @tigawanna).
+
 - Added `superuser otp EMAIL` command as fallback for generating superuser OTPs from the command line in case OTP has been enabled for the `_superusers` but the SMTP server has deliverability issues.
 
 - Added `RateLimitRule.Audience` optional field for restricting a rate limit rule for `"@guest"`-only, `"@auth"`-only, `""`-any (default).
@@ -10,7 +12,7 @@
 - Added default max limits for the expressions count and length of the search filter and sort params.
     _This is just an extra measure mostly for the case when the filter and sort parameters are resolved outside of the request context since the request size limits won't apply._
 
-- Other minor improvements (better error in case of duplicated rate limit rule, fixed typos, resolved lint warnings, etc.).
+- Other minor changes (better error in case of duplicated rate limit rule, fixed typos, updated Go deps, etc.).
 
 
 ## v0.23.0-rc12
diff --git a/tools/auth/auth_test.go b/tools/auth/auth_test.go
index 39963869..1351405a 100644
--- a/tools/auth/auth_test.go
+++ b/tools/auth/auth_test.go
@@ -7,7 +7,7 @@ import (
 )
 
 func TestProvidersCount(t *testing.T) {
-	expected := 27
+	expected := 28
 
 	if total := len(auth.Providers); total != expected {
 		t.Fatalf("Expected %d providers, got %d", expected, total)
@@ -269,4 +269,13 @@ func TestNewProviderByName(t *testing.T) {
 	if _, ok := p.(*auth.Monday); !ok {
 		t.Error("Expected to be instance of *auth.Monday")
 	}
+
+	// wakatime
+	p, err = auth.NewProviderByName(auth.NameWakatime)
+	if err != nil {
+		t.Errorf("Expected nil, got error %v", err)
+	}
+	if _, ok := p.(*auth.Wakatime); !ok {
+		t.Error("Expected to be instance of *auth.Wakatime")
+	}
 }
diff --git a/tools/auth/wakatime.go b/tools/auth/wakatime.go
new file mode 100644
index 00000000..a69ead92
--- /dev/null
+++ b/tools/auth/wakatime.go
@@ -0,0 +1,90 @@
+package auth
+
+import (
+	"context"
+	"encoding/json"
+
+	"github.com/pocketbase/pocketbase/tools/types"
+	"golang.org/x/oauth2"
+)
+
+func init() {
+	Providers[NameWakatime] = wrapFactory(NewWakatimeProvider)
+}
+
+var _ Provider = (*Wakatime)(nil)
+
+// NameWakatime is the unique name of the Wakatime provider.
+const NameWakatime = "wakatime"
+
+// Wakatime is an auth provider for Wakatime.
+type Wakatime struct {
+	BaseProvider
+}
+
+// NewWakatimeProvider creates a new Wakatime provider instance with some defaults.
+func NewWakatimeProvider() *Wakatime {
+	return &Wakatime{BaseProvider{
+		ctx:         context.Background(),
+		displayName: "WakaTime",
+		pkce:        true,
+		scopes:      []string{"email"},
+		authURL:     "https://wakatime.com/oauth/authorize",
+		tokenURL:    "https://wakatime.com/oauth/token",
+		userInfoURL: "https://wakatime.com/api/v1/users/current",
+	}}
+}
+
+// FetchAuthUser returns an AuthUser instance based on the Wakatime's user API.
+//
+// API reference: https://wakatime.com/developers#users
+func (p *Wakatime) FetchAuthUser(token *oauth2.Token) (*AuthUser, error) {
+	data, err := p.FetchRawUserInfo(token)
+	if err != nil {
+		return nil, err
+	}
+
+	rawUser := map[string]any{}
+	if err := json.Unmarshal(data, &rawUser); err != nil {
+		return nil, err
+	}
+
+	extracted := struct {
+		Data struct {
+			Id               string `json:"id"`
+			DisplayName      string `json:"display_name"`
+			Username         string `json:"username"`
+			Email            string `json:"email"`
+			Photo            string `json:"photo"`
+			IsPhotoPublic    bool   `json:"photo_public"`
+			IsEmailConfirmed bool   `json:"is_email_confirmed"`
+		} `json:"data"`
+	}{}
+
+	if err := json.Unmarshal(data, &extracted); err != nil {
+		return nil, err
+	}
+
+	user := &AuthUser{
+		Id:           extracted.Data.Id,
+		Name:         extracted.Data.DisplayName,
+		Username:     extracted.Data.Username,
+		RawUser:      rawUser,
+		AccessToken:  token.AccessToken,
+		RefreshToken: token.RefreshToken,
+	}
+
+	// note: we don't check for is_email_public field because PocketBase
+	// has its own emailVisibility flag which is false by default
+	if extracted.Data.IsEmailConfirmed {
+		user.Email = extracted.Data.Email
+	}
+
+	if extracted.Data.IsPhotoPublic {
+		user.AvatarURL = extracted.Data.Photo
+	}
+
+	user.Expiry, _ = types.ParseDateTime(token.Expiry)
+
+	return user, nil
+}
diff --git a/ui/dist/assets/AuthMethodsDocs-Cn0B_ruX.js b/ui/dist/assets/AuthMethodsDocs-BvIvKbOc.js
similarity index 97%
rename from ui/dist/assets/AuthMethodsDocs-Cn0B_ruX.js
rename to ui/dist/assets/AuthMethodsDocs-BvIvKbOc.js
index 43186bd1..57b878aa 100644
--- a/ui/dist/assets/AuthMethodsDocs-Cn0B_ruX.js
+++ b/ui/dist/assets/AuthMethodsDocs-BvIvKbOc.js
@@ -1,4 +1,4 @@
-import{S as Be,i as Ce,s as Te,U as Le,W as I,f as c,y as w,h as k,c as ae,j as h,l as d,n as a,m as ne,G as Q,X as $e,Y as Se,D as Ue,Z as je,E as De,t as J,a as N,u,d as ie,p as oe,I as Ee,k as O,o as Re,V as qe}from"./index-DF0EYp3m.js";import{F as Fe}from"./FieldsQueryParam-DbnShkuc.js";function we(n,s,l){const o=n.slice();return o[8]=s[l],o}function Me(n,s,l){const o=n.slice();return o[8]=s[l],o}function Ae(n,s){let l,o=s[8].code+"",p,b,i,f;function m(){return s[6](s[8])}return{key:n,first:null,c(){l=c("button"),p=w(o),b=k(),h(l,"class","tab-item"),O(l,"active",s[1]===s[8].code),this.first=l},m(v,y){d(v,l,y),a(l,p),a(l,b),i||(f=Re(l,"click",m),i=!0)},p(v,y){s=v,y&4&&o!==(o=s[8].code+"")&&Q(p,o),y&6&&O(l,"active",s[1]===s[8].code)},d(v){v&&u(l),i=!1,f()}}}function Pe(n,s){let l,o,p,b;return o=new qe({props:{content:s[8].body}}),{key:n,first:null,c(){l=c("div"),ae(o.$$.fragment),p=k(),h(l,"class","tab-item"),O(l,"active",s[1]===s[8].code),this.first=l},m(i,f){d(i,l,f),ne(o,l,null),a(l,p),b=!0},p(i,f){s=i;const m={};f&4&&(m.content=s[8].body),o.$set(m),(!b||f&6)&&O(l,"active",s[1]===s[8].code)},i(i){b||(J(o.$$.fragment,i),b=!0)},o(i){N(o.$$.fragment,i),b=!1},d(i){i&&u(l),ie(o)}}}function Ge(n){var ke,ge;let s,l,o=n[0].name+"",p,b,i,f,m,v,y,g=n[0].name+"",V,ce,W,M,X,L,Y,A,q,re,F,S,de,Z,G=n[0].name+"",z,ue,K,U,x,P,ee,fe,te,T,le,j,se,B,D,$=[],me=new Map,pe,E,_=[],be=new Map,C;M=new Le({props:{js:`
+import{S as Be,i as Ce,s as Te,U as Le,W as I,f as c,y as w,h as k,c as ae,j as h,l as d,n as a,m as ne,G as Q,X as $e,Y as Se,D as Ue,Z as je,E as De,t as J,a as N,u,d as ie,p as oe,I as Ee,k as O,o as Re,V as qe}from"./index-zTV3nJbA.js";import{F as Fe}from"./FieldsQueryParam-V2urDtNW.js";function we(n,s,l){const o=n.slice();return o[8]=s[l],o}function Me(n,s,l){const o=n.slice();return o[8]=s[l],o}function Ae(n,s){let l,o=s[8].code+"",p,b,i,f;function m(){return s[6](s[8])}return{key:n,first:null,c(){l=c("button"),p=w(o),b=k(),h(l,"class","tab-item"),O(l,"active",s[1]===s[8].code),this.first=l},m(v,y){d(v,l,y),a(l,p),a(l,b),i||(f=Re(l,"click",m),i=!0)},p(v,y){s=v,y&4&&o!==(o=s[8].code+"")&&Q(p,o),y&6&&O(l,"active",s[1]===s[8].code)},d(v){v&&u(l),i=!1,f()}}}function Pe(n,s){let l,o,p,b;return o=new qe({props:{content:s[8].body}}),{key:n,first:null,c(){l=c("div"),ae(o.$$.fragment),p=k(),h(l,"class","tab-item"),O(l,"active",s[1]===s[8].code),this.first=l},m(i,f){d(i,l,f),ne(o,l,null),a(l,p),b=!0},p(i,f){s=i;const m={};f&4&&(m.content=s[8].body),o.$set(m),(!b||f&6)&&O(l,"active",s[1]===s[8].code)},i(i){b||(J(o.$$.fragment,i),b=!0)},o(i){N(o.$$.fragment,i),b=!1},d(i){i&&u(l),ie(o)}}}function Ge(n){var ke,ge;let s,l,o=n[0].name+"",p,b,i,f,m,v,y,g=n[0].name+"",V,ce,W,M,X,L,Y,A,q,re,F,S,de,Z,G=n[0].name+"",z,ue,K,U,x,P,ee,fe,te,T,le,j,se,B,D,$=[],me=new Map,pe,E,_=[],be=new Map,C;M=new Le({props:{js:`
         import PocketBase from 'pocketbase';
 
         const pb = new PocketBase('${n[3]}');
diff --git a/ui/dist/assets/AuthRefreshDocs-CGZs_aOo.js b/ui/dist/assets/AuthRefreshDocs-TuJVrDoj.js
similarity index 98%
rename from ui/dist/assets/AuthRefreshDocs-CGZs_aOo.js
rename to ui/dist/assets/AuthRefreshDocs-TuJVrDoj.js
index 383722b2..b54ec71d 100644
--- a/ui/dist/assets/AuthRefreshDocs-CGZs_aOo.js
+++ b/ui/dist/assets/AuthRefreshDocs-TuJVrDoj.js
@@ -1,4 +1,4 @@
-import{S as xe,i as Ie,s as Je,U as Ke,V as Ne,W as J,f as s,y as k,h as p,c as K,j as b,l as d,n as o,m as Q,G as de,X as Le,Y as Qe,D as We,Z as Ge,E as Xe,t as V,a as U,u,d as W,I as Oe,p as Ye,k as G,o as Ze}from"./index-DF0EYp3m.js";import{F as et}from"./FieldsQueryParam-DbnShkuc.js";function Ve(r,a,l){const n=r.slice();return n[5]=a[l],n}function Ue(r,a,l){const n=r.slice();return n[5]=a[l],n}function je(r,a){let l,n=a[5].code+"",m,_,i,h;function g(){return a[4](a[5])}return{key:r,first:null,c(){l=s("button"),m=k(n),_=p(),b(l,"class","tab-item"),G(l,"active",a[1]===a[5].code),this.first=l},m(v,w){d(v,l,w),o(l,m),o(l,_),i||(h=Ze(l,"click",g),i=!0)},p(v,w){a=v,w&4&&n!==(n=a[5].code+"")&&de(m,n),w&6&&G(l,"active",a[1]===a[5].code)},d(v){v&&u(l),i=!1,h()}}}function ze(r,a){let l,n,m,_;return n=new Ne({props:{content:a[5].body}}),{key:r,first:null,c(){l=s("div"),K(n.$$.fragment),m=p(),b(l,"class","tab-item"),G(l,"active",a[1]===a[5].code),this.first=l},m(i,h){d(i,l,h),Q(n,l,null),o(l,m),_=!0},p(i,h){a=i;const g={};h&4&&(g.content=a[5].body),n.$set(g),(!_||h&6)&&G(l,"active",a[1]===a[5].code)},i(i){_||(V(n.$$.fragment,i),_=!0)},o(i){U(n.$$.fragment,i),_=!1},d(i){i&&u(l),W(n)}}}function tt(r){var qe,Fe;let a,l,n=r[0].name+"",m,_,i,h,g,v,w,D,X,S,j,ue,z,M,pe,Y,N=r[0].name+"",Z,he,fe,x,ee,q,te,T,oe,be,F,C,ae,me,le,_e,f,ke,P,ge,ve,ye,se,$e,ne,Se,we,Te,re,Ce,Re,A,ie,E,ce,R,H,$=[],Pe=new Map,Ae,L,y=[],Be=new Map,B;v=new Ke({props:{js:`
+import{S as xe,i as Ie,s as Je,U as Ke,V as Ne,W as J,f as s,y as k,h as p,c as K,j as b,l as d,n as o,m as Q,G as de,X as Le,Y as Qe,D as We,Z as Ge,E as Xe,t as V,a as U,u,d as W,I as Oe,p as Ye,k as G,o as Ze}from"./index-zTV3nJbA.js";import{F as et}from"./FieldsQueryParam-V2urDtNW.js";function Ve(r,a,l){const n=r.slice();return n[5]=a[l],n}function Ue(r,a,l){const n=r.slice();return n[5]=a[l],n}function je(r,a){let l,n=a[5].code+"",m,_,i,h;function g(){return a[4](a[5])}return{key:r,first:null,c(){l=s("button"),m=k(n),_=p(),b(l,"class","tab-item"),G(l,"active",a[1]===a[5].code),this.first=l},m(v,w){d(v,l,w),o(l,m),o(l,_),i||(h=Ze(l,"click",g),i=!0)},p(v,w){a=v,w&4&&n!==(n=a[5].code+"")&&de(m,n),w&6&&G(l,"active",a[1]===a[5].code)},d(v){v&&u(l),i=!1,h()}}}function ze(r,a){let l,n,m,_;return n=new Ne({props:{content:a[5].body}}),{key:r,first:null,c(){l=s("div"),K(n.$$.fragment),m=p(),b(l,"class","tab-item"),G(l,"active",a[1]===a[5].code),this.first=l},m(i,h){d(i,l,h),Q(n,l,null),o(l,m),_=!0},p(i,h){a=i;const g={};h&4&&(g.content=a[5].body),n.$set(g),(!_||h&6)&&G(l,"active",a[1]===a[5].code)},i(i){_||(V(n.$$.fragment,i),_=!0)},o(i){U(n.$$.fragment,i),_=!1},d(i){i&&u(l),W(n)}}}function tt(r){var qe,Fe;let a,l,n=r[0].name+"",m,_,i,h,g,v,w,D,X,S,j,ue,z,M,pe,Y,N=r[0].name+"",Z,he,fe,x,ee,q,te,T,oe,be,F,C,ae,me,le,_e,f,ke,P,ge,ve,ye,se,$e,ne,Se,we,Te,re,Ce,Re,A,ie,E,ce,R,H,$=[],Pe=new Map,Ae,L,y=[],Be=new Map,B;v=new Ke({props:{js:`
         import PocketBase from 'pocketbase';
 
         const pb = new PocketBase('${r[3]}');
diff --git a/ui/dist/assets/AuthWithOAuth2Docs-B7iU4TDa.js b/ui/dist/assets/AuthWithOAuth2Docs-C_x3fpOa.js
similarity index 98%
rename from ui/dist/assets/AuthWithOAuth2Docs-B7iU4TDa.js
rename to ui/dist/assets/AuthWithOAuth2Docs-C_x3fpOa.js
index ca4709b0..a35e140f 100644
--- a/ui/dist/assets/AuthWithOAuth2Docs-B7iU4TDa.js
+++ b/ui/dist/assets/AuthWithOAuth2Docs-C_x3fpOa.js
@@ -1,4 +1,4 @@
-import{S as Ee,i as Je,s as xe,U as Ie,V as Ve,W as Q,f as o,y as k,h,c as z,j as p,l as r,n as a,m as G,G as pe,X as Ue,Y as Ne,D as Qe,Z as ze,E as Ge,t as V,a as E,u as c,d as K,I as Be,p as Ke,k as X,o as Xe}from"./index-DF0EYp3m.js";import{F as Ye}from"./FieldsQueryParam-DbnShkuc.js";function Fe(s,l,n){const i=s.slice();return i[5]=l[n],i}function Le(s,l,n){const i=s.slice();return i[5]=l[n],i}function je(s,l){let n,i=l[5].code+"",f,g,d,b;function _(){return l[4](l[5])}return{key:s,first:null,c(){n=o("button"),f=k(i),g=h(),p(n,"class","tab-item"),X(n,"active",l[1]===l[5].code),this.first=n},m(v,O){r(v,n,O),a(n,f),a(n,g),d||(b=Xe(n,"click",_),d=!0)},p(v,O){l=v,O&4&&i!==(i=l[5].code+"")&&pe(f,i),O&6&&X(n,"active",l[1]===l[5].code)},d(v){v&&c(n),d=!1,b()}}}function He(s,l){let n,i,f,g;return i=new Ve({props:{content:l[5].body}}),{key:s,first:null,c(){n=o("div"),z(i.$$.fragment),f=h(),p(n,"class","tab-item"),X(n,"active",l[1]===l[5].code),this.first=n},m(d,b){r(d,n,b),G(i,n,null),a(n,f),g=!0},p(d,b){l=d;const _={};b&4&&(_.content=l[5].body),i.$set(_),(!g||b&6)&&X(n,"active",l[1]===l[5].code)},i(d){g||(V(i.$$.fragment,d),g=!0)},o(d){E(i.$$.fragment,d),g=!1},d(d){d&&c(n),K(i)}}}function Ze(s){let l,n,i=s[0].name+"",f,g,d,b,_,v,O,R,Y,y,J,be,x,P,me,Z,I=s[0].name+"",ee,fe,te,M,ae,W,le,U,ne,A,oe,ge,B,S,se,ke,ie,_e,m,ve,C,we,$e,Oe,re,ye,ce,Ae,Se,Te,de,Ce,qe,q,ue,F,he,T,L,$=[],De=new Map,Re,j,w=[],Pe=new Map,D;v=new Ie({props:{js:`
+import{S as Ee,i as Je,s as xe,U as Ie,V as Ve,W as Q,f as o,y as k,h,c as z,j as p,l as r,n as a,m as G,G as pe,X as Ue,Y as Ne,D as Qe,Z as ze,E as Ge,t as V,a as E,u as c,d as K,I as Be,p as Ke,k as X,o as Xe}from"./index-zTV3nJbA.js";import{F as Ye}from"./FieldsQueryParam-V2urDtNW.js";function Fe(s,l,n){const i=s.slice();return i[5]=l[n],i}function Le(s,l,n){const i=s.slice();return i[5]=l[n],i}function je(s,l){let n,i=l[5].code+"",f,g,d,b;function _(){return l[4](l[5])}return{key:s,first:null,c(){n=o("button"),f=k(i),g=h(),p(n,"class","tab-item"),X(n,"active",l[1]===l[5].code),this.first=n},m(v,O){r(v,n,O),a(n,f),a(n,g),d||(b=Xe(n,"click",_),d=!0)},p(v,O){l=v,O&4&&i!==(i=l[5].code+"")&&pe(f,i),O&6&&X(n,"active",l[1]===l[5].code)},d(v){v&&c(n),d=!1,b()}}}function He(s,l){let n,i,f,g;return i=new Ve({props:{content:l[5].body}}),{key:s,first:null,c(){n=o("div"),z(i.$$.fragment),f=h(),p(n,"class","tab-item"),X(n,"active",l[1]===l[5].code),this.first=n},m(d,b){r(d,n,b),G(i,n,null),a(n,f),g=!0},p(d,b){l=d;const _={};b&4&&(_.content=l[5].body),i.$set(_),(!g||b&6)&&X(n,"active",l[1]===l[5].code)},i(d){g||(V(i.$$.fragment,d),g=!0)},o(d){E(i.$$.fragment,d),g=!1},d(d){d&&c(n),K(i)}}}function Ze(s){let l,n,i=s[0].name+"",f,g,d,b,_,v,O,R,Y,y,J,be,x,P,me,Z,I=s[0].name+"",ee,fe,te,M,ae,W,le,U,ne,A,oe,ge,B,S,se,ke,ie,_e,m,ve,C,we,$e,Oe,re,ye,ce,Ae,Se,Te,de,Ce,qe,q,ue,F,he,T,L,$=[],De=new Map,Re,j,w=[],Pe=new Map,D;v=new Ie({props:{js:`
         import PocketBase from 'pocketbase';
 
         const pb = new PocketBase('${s[3]}');
diff --git a/ui/dist/assets/AuthWithOtpDocs-CEuo1H1T.js b/ui/dist/assets/AuthWithOtpDocs-bTsEm2h5.js
similarity index 99%
rename from ui/dist/assets/AuthWithOtpDocs-CEuo1H1T.js
rename to ui/dist/assets/AuthWithOtpDocs-bTsEm2h5.js
index 48c1f9ca..ca40d538 100644
--- a/ui/dist/assets/AuthWithOtpDocs-CEuo1H1T.js
+++ b/ui/dist/assets/AuthWithOtpDocs-bTsEm2h5.js
@@ -1,4 +1,4 @@
-import{S as ee,i as te,s as le,W as U,f as p,h as y,y as V,j as g,l as b,n as h,G as Z,X as z,Y as ge,D as Q,Z as ke,E as x,t as L,a as N,u as _,I as oe,k as Y,o as ae,V as we,c as G,m as K,d as X,U as $e,_ as se,p as Te,$ as ne}from"./index-DF0EYp3m.js";function ie(s,t,e){const a=s.slice();return a[4]=t[e],a}function ce(s,t,e){const a=s.slice();return a[4]=t[e],a}function re(s,t){let e,a=t[4].code+"",d,c,r,n;function u(){return t[3](t[4])}return{key:s,first:null,c(){e=p("button"),d=V(a),c=y(),g(e,"class","tab-item"),Y(e,"active",t[1]===t[4].code),this.first=e},m(m,q){b(m,e,q),h(e,d),h(e,c),r||(n=ae(e,"click",u),r=!0)},p(m,q){t=m,q&4&&a!==(a=t[4].code+"")&&Z(d,a),q&6&&Y(e,"active",t[1]===t[4].code)},d(m){m&&_(e),r=!1,n()}}}function de(s,t){let e,a,d,c;return a=new we({props:{content:t[4].body}}),{key:s,first:null,c(){e=p("div"),G(a.$$.fragment),d=y(),g(e,"class","tab-item"),Y(e,"active",t[1]===t[4].code),this.first=e},m(r,n){b(r,e,n),K(a,e,null),h(e,d),c=!0},p(r,n){t=r;const u={};n&4&&(u.content=t[4].body),a.$set(u),(!c||n&6)&&Y(e,"active",t[1]===t[4].code)},i(r){c||(L(a.$$.fragment,r),c=!0)},o(r){N(a.$$.fragment,r),c=!1},d(r){r&&_(e),X(a)}}}function Pe(s){let t,e,a,d,c,r,n,u=s[0].name+"",m,q,M,C,B,A,H,R,W,S,P,w=[],$=new Map,J,D,k=[],j=new Map,I,i=U(s[2]);const v=l=>l[4].code;for(let l=0;l<i.length;l+=1){let o=ce(s,i,l),f=v(o);$.set(f,w[l]=re(f,o))}let O=U(s[2]);const E=l=>l[4].code;for(let l=0;l<O.length;l+=1){let o=ie(s,O,l),f=E(o);j.set(f,k[l]=de(f,o))}return{c(){t=p("div"),e=p("strong"),e.textContent="POST",a=y(),d=p("div"),c=p("p"),r=V("/api/collections/"),n=p("strong"),m=V(u),q=V("/auth-with-otp"),M=y(),C=p("div"),C.textContent="Body Parameters",B=y(),A=p("table"),A.innerHTML='<thead><tr><th>Param</th> <th>Type</th> <th width="50%">Description</th></tr></thead> <tbody><tr><td><div class="inline-flex"><span class="label label-success">Required</span> <span>otpId</span></div></td> <td><span class="label">String</span></td> <td>The id of the OTP request.</td></tr> <tr><td><div class="inline-flex"><span class="label label-success">Required</span> <span>password</span></div></td> <td><span class="label">String</span></td> <td>The one-time password.</td></tr></tbody>',H=y(),R=p("div"),R.textContent="Responses",W=y(),S=p("div"),P=p("div");for(let l=0;l<w.length;l+=1)w[l].c();J=y(),D=p("div");for(let l=0;l<k.length;l+=1)k[l].c();g(e,"class","label label-primary"),g(d,"class","content"),g(t,"class","alert alert-success"),g(C,"class","section-title"),g(A,"class","table-compact table-border m-b-base"),g(R,"class","section-title"),g(P,"class","tabs-header compact combined left"),g(D,"class","tabs-content"),g(S,"class","tabs")},m(l,o){b(l,t,o),h(t,e),h(t,a),h(t,d),h(d,c),h(c,r),h(c,n),h(n,m),h(c,q),b(l,M,o),b(l,C,o),b(l,B,o),b(l,A,o),b(l,H,o),b(l,R,o),b(l,W,o),b(l,S,o),h(S,P);for(let f=0;f<w.length;f+=1)w[f]&&w[f].m(P,null);h(S,J),h(S,D);for(let f=0;f<k.length;f+=1)k[f]&&k[f].m(D,null);I=!0},p(l,[o]){(!I||o&1)&&u!==(u=l[0].name+"")&&Z(m,u),o&6&&(i=U(l[2]),w=z(w,o,v,1,l,i,$,P,ge,re,null,ce)),o&6&&(O=U(l[2]),Q(),k=z(k,o,E,1,l,O,j,D,ke,de,null,ie),x())},i(l){if(!I){for(let o=0;o<O.length;o+=1)L(k[o]);I=!0}},o(l){for(let o=0;o<k.length;o+=1)N(k[o]);I=!1},d(l){l&&(_(t),_(M),_(C),_(B),_(A),_(H),_(R),_(W),_(S));for(let o=0;o<w.length;o+=1)w[o].d();for(let o=0;o<k.length;o+=1)k[o].d()}}}function Oe(s,t,e){let{collection:a}=t,d=200,c=[];const r=n=>e(1,d=n.code);return s.$$set=n=>{"collection"in n&&e(0,a=n.collection)},s.$$.update=()=>{s.$$.dirty&1&&e(2,c=[{code:200,body:JSON.stringify({token:"JWT_TOKEN",record:oe.dummyCollectionRecord(a)},null,2)},{code:400,body:`
+import{S as ee,i as te,s as le,W as U,f as p,h as y,y as V,j as g,l as b,n as h,G as Z,X as z,Y as ge,D as Q,Z as ke,E as x,t as L,a as N,u as _,I as oe,k as Y,o as ae,V as we,c as G,m as K,d as X,U as $e,_ as se,p as Te,$ as ne}from"./index-zTV3nJbA.js";function ie(s,t,e){const a=s.slice();return a[4]=t[e],a}function ce(s,t,e){const a=s.slice();return a[4]=t[e],a}function re(s,t){let e,a=t[4].code+"",d,c,r,n;function u(){return t[3](t[4])}return{key:s,first:null,c(){e=p("button"),d=V(a),c=y(),g(e,"class","tab-item"),Y(e,"active",t[1]===t[4].code),this.first=e},m(m,q){b(m,e,q),h(e,d),h(e,c),r||(n=ae(e,"click",u),r=!0)},p(m,q){t=m,q&4&&a!==(a=t[4].code+"")&&Z(d,a),q&6&&Y(e,"active",t[1]===t[4].code)},d(m){m&&_(e),r=!1,n()}}}function de(s,t){let e,a,d,c;return a=new we({props:{content:t[4].body}}),{key:s,first:null,c(){e=p("div"),G(a.$$.fragment),d=y(),g(e,"class","tab-item"),Y(e,"active",t[1]===t[4].code),this.first=e},m(r,n){b(r,e,n),K(a,e,null),h(e,d),c=!0},p(r,n){t=r;const u={};n&4&&(u.content=t[4].body),a.$set(u),(!c||n&6)&&Y(e,"active",t[1]===t[4].code)},i(r){c||(L(a.$$.fragment,r),c=!0)},o(r){N(a.$$.fragment,r),c=!1},d(r){r&&_(e),X(a)}}}function Pe(s){let t,e,a,d,c,r,n,u=s[0].name+"",m,q,M,C,B,A,H,R,W,S,P,w=[],$=new Map,J,D,k=[],j=new Map,I,i=U(s[2]);const v=l=>l[4].code;for(let l=0;l<i.length;l+=1){let o=ce(s,i,l),f=v(o);$.set(f,w[l]=re(f,o))}let O=U(s[2]);const E=l=>l[4].code;for(let l=0;l<O.length;l+=1){let o=ie(s,O,l),f=E(o);j.set(f,k[l]=de(f,o))}return{c(){t=p("div"),e=p("strong"),e.textContent="POST",a=y(),d=p("div"),c=p("p"),r=V("/api/collections/"),n=p("strong"),m=V(u),q=V("/auth-with-otp"),M=y(),C=p("div"),C.textContent="Body Parameters",B=y(),A=p("table"),A.innerHTML='<thead><tr><th>Param</th> <th>Type</th> <th width="50%">Description</th></tr></thead> <tbody><tr><td><div class="inline-flex"><span class="label label-success">Required</span> <span>otpId</span></div></td> <td><span class="label">String</span></td> <td>The id of the OTP request.</td></tr> <tr><td><div class="inline-flex"><span class="label label-success">Required</span> <span>password</span></div></td> <td><span class="label">String</span></td> <td>The one-time password.</td></tr></tbody>',H=y(),R=p("div"),R.textContent="Responses",W=y(),S=p("div"),P=p("div");for(let l=0;l<w.length;l+=1)w[l].c();J=y(),D=p("div");for(let l=0;l<k.length;l+=1)k[l].c();g(e,"class","label label-primary"),g(d,"class","content"),g(t,"class","alert alert-success"),g(C,"class","section-title"),g(A,"class","table-compact table-border m-b-base"),g(R,"class","section-title"),g(P,"class","tabs-header compact combined left"),g(D,"class","tabs-content"),g(S,"class","tabs")},m(l,o){b(l,t,o),h(t,e),h(t,a),h(t,d),h(d,c),h(c,r),h(c,n),h(n,m),h(c,q),b(l,M,o),b(l,C,o),b(l,B,o),b(l,A,o),b(l,H,o),b(l,R,o),b(l,W,o),b(l,S,o),h(S,P);for(let f=0;f<w.length;f+=1)w[f]&&w[f].m(P,null);h(S,J),h(S,D);for(let f=0;f<k.length;f+=1)k[f]&&k[f].m(D,null);I=!0},p(l,[o]){(!I||o&1)&&u!==(u=l[0].name+"")&&Z(m,u),o&6&&(i=U(l[2]),w=z(w,o,v,1,l,i,$,P,ge,re,null,ce)),o&6&&(O=U(l[2]),Q(),k=z(k,o,E,1,l,O,j,D,ke,de,null,ie),x())},i(l){if(!I){for(let o=0;o<O.length;o+=1)L(k[o]);I=!0}},o(l){for(let o=0;o<k.length;o+=1)N(k[o]);I=!1},d(l){l&&(_(t),_(M),_(C),_(B),_(A),_(H),_(R),_(W),_(S));for(let o=0;o<w.length;o+=1)w[o].d();for(let o=0;o<k.length;o+=1)k[o].d()}}}function Oe(s,t,e){let{collection:a}=t,d=200,c=[];const r=n=>e(1,d=n.code);return s.$$set=n=>{"collection"in n&&e(0,a=n.collection)},s.$$.update=()=>{s.$$.dirty&1&&e(2,c=[{code:200,body:JSON.stringify({token:"JWT_TOKEN",record:oe.dummyCollectionRecord(a)},null,2)},{code:400,body:`
                 {
                   "code": 400,
                   "message": "Failed to authenticate.",
diff --git a/ui/dist/assets/AuthWithPasswordDocs-5C0JxuRq.js b/ui/dist/assets/AuthWithPasswordDocs-B0wfaiYU.js
similarity index 98%
rename from ui/dist/assets/AuthWithPasswordDocs-5C0JxuRq.js
rename to ui/dist/assets/AuthWithPasswordDocs-B0wfaiYU.js
index a255f348..638ec8a2 100644
--- a/ui/dist/assets/AuthWithPasswordDocs-5C0JxuRq.js
+++ b/ui/dist/assets/AuthWithPasswordDocs-B0wfaiYU.js
@@ -1,4 +1,4 @@
-import{S as kt,i as gt,s as vt,U as St,W as L,V as _t,f as s,y as f,h as u,c as ae,j as k,l as c,n as t,m as oe,G as Z,X as ct,Y as wt,D as yt,Z as $t,E as Pt,t as K,a as X,u as d,d as se,_ as Rt,I as dt,p as Ct,k as ne,o as Ot}from"./index-DF0EYp3m.js";import{F as Tt}from"./FieldsQueryParam-DbnShkuc.js";function pt(i,o,a){const n=i.slice();return n[7]=o[a],n}function ut(i,o,a){const n=i.slice();return n[7]=o[a],n}function ht(i,o,a){const n=i.slice();return n[12]=o[a],n[14]=a,n}function At(i){let o;return{c(){o=f("or")},m(a,n){c(a,o,n)},d(a){a&&d(o)}}}function bt(i){let o,a,n=i[12]+"",m,b=i[14]>0&&At();return{c(){b&&b.c(),o=u(),a=s("strong"),m=f(n)},m(r,h){b&&b.m(r,h),c(r,o,h),c(r,a,h),t(a,m)},p(r,h){h&2&&n!==(n=r[12]+"")&&Z(m,n)},d(r){r&&(d(o),d(a)),b&&b.d(r)}}}function ft(i,o){let a,n=o[7].code+"",m,b,r,h;function g(){return o[6](o[7])}return{key:i,first:null,c(){a=s("button"),m=f(n),b=u(),k(a,"class","tab-item"),ne(a,"active",o[2]===o[7].code),this.first=a},m($,_){c($,a,_),t(a,m),t(a,b),r||(h=Ot(a,"click",g),r=!0)},p($,_){o=$,_&8&&n!==(n=o[7].code+"")&&Z(m,n),_&12&&ne(a,"active",o[2]===o[7].code)},d($){$&&d(a),r=!1,h()}}}function mt(i,o){let a,n,m,b;return n=new _t({props:{content:o[7].body}}),{key:i,first:null,c(){a=s("div"),ae(n.$$.fragment),m=u(),k(a,"class","tab-item"),ne(a,"active",o[2]===o[7].code),this.first=a},m(r,h){c(r,a,h),oe(n,a,null),t(a,m),b=!0},p(r,h){o=r;const g={};h&8&&(g.content=o[7].body),n.$set(g),(!b||h&12)&&ne(a,"active",o[2]===o[7].code)},i(r){b||(K(n.$$.fragment,r),b=!0)},o(r){X(n.$$.fragment,r),b=!1},d(r){r&&d(a),se(n)}}}function Dt(i){var ot,st;let o,a,n=i[0].name+"",m,b,r,h,g,$,_,z=i[1].join("/")+"",ie,De,re,We,ce,R,de,q,pe,C,x,Ue,ee,H,Fe,ue,te=i[0].name+"",he,Me,be,j,fe,O,me,Be,Y,T,_e,Le,ke,qe,E,ge,He,ve,Se,V,we,A,ye,je,N,D,$e,Ye,Pe,Ee,v,Ve,F,Ne,Ie,Je,Re,Qe,Ce,Ge,Ke,Xe,Oe,Ze,ze,M,Te,I,Ae,W,J,P=[],xe=new Map,et,Q,w=[],tt=new Map,U;R=new St({props:{js:`
+import{S as kt,i as gt,s as vt,U as St,W as L,V as _t,f as s,y as f,h as u,c as ae,j as k,l as c,n as t,m as oe,G as Z,X as ct,Y as wt,D as yt,Z as $t,E as Pt,t as K,a as X,u as d,d as se,_ as Rt,I as dt,p as Ct,k as ne,o as Ot}from"./index-zTV3nJbA.js";import{F as Tt}from"./FieldsQueryParam-V2urDtNW.js";function pt(i,o,a){const n=i.slice();return n[7]=o[a],n}function ut(i,o,a){const n=i.slice();return n[7]=o[a],n}function ht(i,o,a){const n=i.slice();return n[12]=o[a],n[14]=a,n}function At(i){let o;return{c(){o=f("or")},m(a,n){c(a,o,n)},d(a){a&&d(o)}}}function bt(i){let o,a,n=i[12]+"",m,b=i[14]>0&&At();return{c(){b&&b.c(),o=u(),a=s("strong"),m=f(n)},m(r,h){b&&b.m(r,h),c(r,o,h),c(r,a,h),t(a,m)},p(r,h){h&2&&n!==(n=r[12]+"")&&Z(m,n)},d(r){r&&(d(o),d(a)),b&&b.d(r)}}}function ft(i,o){let a,n=o[7].code+"",m,b,r,h;function g(){return o[6](o[7])}return{key:i,first:null,c(){a=s("button"),m=f(n),b=u(),k(a,"class","tab-item"),ne(a,"active",o[2]===o[7].code),this.first=a},m($,_){c($,a,_),t(a,m),t(a,b),r||(h=Ot(a,"click",g),r=!0)},p($,_){o=$,_&8&&n!==(n=o[7].code+"")&&Z(m,n),_&12&&ne(a,"active",o[2]===o[7].code)},d($){$&&d(a),r=!1,h()}}}function mt(i,o){let a,n,m,b;return n=new _t({props:{content:o[7].body}}),{key:i,first:null,c(){a=s("div"),ae(n.$$.fragment),m=u(),k(a,"class","tab-item"),ne(a,"active",o[2]===o[7].code),this.first=a},m(r,h){c(r,a,h),oe(n,a,null),t(a,m),b=!0},p(r,h){o=r;const g={};h&8&&(g.content=o[7].body),n.$set(g),(!b||h&12)&&ne(a,"active",o[2]===o[7].code)},i(r){b||(K(n.$$.fragment,r),b=!0)},o(r){X(n.$$.fragment,r),b=!1},d(r){r&&d(a),se(n)}}}function Dt(i){var ot,st;let o,a,n=i[0].name+"",m,b,r,h,g,$,_,z=i[1].join("/")+"",ie,De,re,We,ce,R,de,q,pe,C,x,Ue,ee,H,Fe,ue,te=i[0].name+"",he,Me,be,j,fe,O,me,Be,Y,T,_e,Le,ke,qe,E,ge,He,ve,Se,V,we,A,ye,je,N,D,$e,Ye,Pe,Ee,v,Ve,F,Ne,Ie,Je,Re,Qe,Ce,Ge,Ke,Xe,Oe,Ze,ze,M,Te,I,Ae,W,J,P=[],xe=new Map,et,Q,w=[],tt=new Map,U;R=new St({props:{js:`
         import PocketBase from 'pocketbase';
 
         const pb = new PocketBase('${i[5]}');
diff --git a/ui/dist/assets/BatchApiDocs-G5ztetl9.js b/ui/dist/assets/BatchApiDocs-RB3_vjHR.js
similarity index 99%
rename from ui/dist/assets/BatchApiDocs-G5ztetl9.js
rename to ui/dist/assets/BatchApiDocs-RB3_vjHR.js
index fe3e1198..ab2f6d99 100644
--- a/ui/dist/assets/BatchApiDocs-G5ztetl9.js
+++ b/ui/dist/assets/BatchApiDocs-RB3_vjHR.js
@@ -1,4 +1,4 @@
-import{S as Ht,i as Lt,s as jt,U as At,V as St,W as Z,f as o,y as _,h as i,c as Re,j as b,l as d,n as t,m as Te,B as Mt,C as Nt,G as Ut,X as Pt,Y as zt,D as Jt,Z as Wt,E as Gt,t as Q,a as x,u,d as Pe,I as Ft,p as Kt,k as ee,o as Vt}from"./index-DF0EYp3m.js";function Bt(a,s,n){const c=a.slice();return c[6]=s[n],c}function Et(a,s,n){const c=a.slice();return c[6]=s[n],c}function Ot(a,s){let n,c,y;function h(){return s[5](s[6])}return{key:a,first:null,c(){n=o("button"),n.textContent=`${s[6].code} `,b(n,"class","tab-item"),ee(n,"active",s[1]===s[6].code),this.first=n},m(r,f){d(r,n,f),c||(y=Vt(n,"click",h),c=!0)},p(r,f){s=r,f&10&&ee(n,"active",s[1]===s[6].code)},d(r){r&&u(n),c=!1,y()}}}function It(a,s){let n,c,y,h;return c=new St({props:{content:s[6].body}}),{key:a,first:null,c(){n=o("div"),Re(c.$$.fragment),y=i(),b(n,"class","tab-item"),ee(n,"active",s[1]===s[6].code),this.first=n},m(r,f){d(r,n,f),Te(c,n,null),t(n,y),h=!0},p(r,f){s=r,(!h||f&10)&&ee(n,"active",s[1]===s[6].code)},i(r){h||(Q(c.$$.fragment,r),h=!0)},o(r){x(c.$$.fragment,r),h=!1},d(r){r&&u(n),Pe(c)}}}function Xt(a){var pt,mt,bt,ft,ht,_t,yt,kt;let s,n,c=a[0].name+"",y,h,r,f,F,g,U,Fe,P,B,Be,E,Ee,Oe,te,le,w,oe,O,ae,I,se,S,ne,z,ie,q,ce,Ie,re,H,J,Se,k,W,He,de,Le,D,G,je,ue,Ae,K,Me,pe,Ne,v,Ue,me,ze,Je,We,V,Ge,X,Ke,be,Ve,fe,Xe,he,Ye,p,_e,Ze,ye,Qe,ke,xe,$e,et,ge,tt,Ce,lt,ot,at,De,st,R,ve,L,we,T,j,C=[],nt=new Map,it,A,$=[],ct=new Map,M,qe,rt;w=new At({props:{js:`
+import{S as Ht,i as Lt,s as jt,U as At,V as St,W as Z,f as o,y as _,h as i,c as Re,j as b,l as d,n as t,m as Te,B as Mt,C as Nt,G as Ut,X as Pt,Y as zt,D as Jt,Z as Wt,E as Gt,t as Q,a as x,u,d as Pe,I as Ft,p as Kt,k as ee,o as Vt}from"./index-zTV3nJbA.js";function Bt(a,s,n){const c=a.slice();return c[6]=s[n],c}function Et(a,s,n){const c=a.slice();return c[6]=s[n],c}function Ot(a,s){let n,c,y;function h(){return s[5](s[6])}return{key:a,first:null,c(){n=o("button"),n.textContent=`${s[6].code} `,b(n,"class","tab-item"),ee(n,"active",s[1]===s[6].code),this.first=n},m(r,f){d(r,n,f),c||(y=Vt(n,"click",h),c=!0)},p(r,f){s=r,f&10&&ee(n,"active",s[1]===s[6].code)},d(r){r&&u(n),c=!1,y()}}}function It(a,s){let n,c,y,h;return c=new St({props:{content:s[6].body}}),{key:a,first:null,c(){n=o("div"),Re(c.$$.fragment),y=i(),b(n,"class","tab-item"),ee(n,"active",s[1]===s[6].code),this.first=n},m(r,f){d(r,n,f),Te(c,n,null),t(n,y),h=!0},p(r,f){s=r,(!h||f&10)&&ee(n,"active",s[1]===s[6].code)},i(r){h||(Q(c.$$.fragment,r),h=!0)},o(r){x(c.$$.fragment,r),h=!1},d(r){r&&u(n),Pe(c)}}}function Xt(a){var pt,mt,bt,ft,ht,_t,yt,kt;let s,n,c=a[0].name+"",y,h,r,f,F,g,U,Fe,P,B,Be,E,Ee,Oe,te,le,w,oe,O,ae,I,se,S,ne,z,ie,q,ce,Ie,re,H,J,Se,k,W,He,de,Le,D,G,je,ue,Ae,K,Me,pe,Ne,v,Ue,me,ze,Je,We,V,Ge,X,Ke,be,Ve,fe,Xe,he,Ye,p,_e,Ze,ye,Qe,ke,xe,$e,et,ge,tt,Ce,lt,ot,at,De,st,R,ve,L,we,T,j,C=[],nt=new Map,it,A,$=[],ct=new Map,M,qe,rt;w=new At({props:{js:`
         import PocketBase from 'pocketbase';
 
         const pb = new PocketBase('${a[2]}');
diff --git a/ui/dist/assets/CodeEditor-DtaTPOng.js b/ui/dist/assets/CodeEditor-BdQDwUb4.js
similarity index 99%
rename from ui/dist/assets/CodeEditor-DtaTPOng.js
rename to ui/dist/assets/CodeEditor-BdQDwUb4.js
index 506a9222..30888911 100644
--- a/ui/dist/assets/CodeEditor-DtaTPOng.js
+++ b/ui/dist/assets/CodeEditor-BdQDwUb4.js
@@ -1,4 +1,4 @@
-import{S as wt,i as Rt,s as Yt,f as Tt,j as Wt,a0 as OO,l as _t,H as BO,u as qt,N as vt,R as Ut,T as zt,P as Vt,I as jt,x as Gt}from"./index-DF0EYp3m.js";import{P as Ct,N as At,w as Et,D as Nt,x as qO,T as tO,I as vO,y as B,z as l,A as Mt,L as J,B as L,F as v,G as K,H as UO,J as F,v as G,K as _e,M as It,O as Dt,Q as qe,R as ve,U as Ue,E as q,V as ze,W as S,X as Bt,Y as Jt,b as C,e as Lt,f as Kt,g as Ft,i as Ht,j as Oa,k as ea,u as ta,l as aa,m as ra,r as ia,n as sa,o as oa,c as la,d as na,s as ca,h as Qa,a as ha,p as ua,q as JO,C as eO}from"./index-B5ReTu-C.js";var LO={};class sO{constructor(O,a,t,r,s,i,o,n,Q,u=0,c){this.p=O,this.stack=a,this.state=t,this.reducePos=r,this.pos=s,this.score=i,this.buffer=o,this.bufferBase=n,this.curContext=Q,this.lookAhead=u,this.parent=c}toString(){return`[${this.stack.filter((O,a)=>a%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(O,a,t=0){let r=O.parser.context;return new sO(O,[],a,t,t,0,[],0,r?new KO(r,r.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(O,a){this.stack.push(this.state,a,this.bufferBase+this.buffer.length),this.state=O}reduce(O){var a;let t=O>>19,r=O&65535,{parser:s}=this.p,i=this.reducePos<this.pos-25;i&&this.setLookAhead(this.pos);let o=s.dynamicPrecedence(r);if(o&&(this.score+=o),t==0){this.pushState(s.getGoto(this.state,r,!0),this.reducePos),r<s.minRepeatTerm&&this.storeNode(r,this.reducePos,this.reducePos,i?8:4,!0),this.reduceContext(r,this.reducePos);return}let n=this.stack.length-(t-1)*3-(O&262144?6:0),Q=n?this.stack[n-2]:this.p.ranges[0].from,u=this.reducePos-Q;u>=2e3&&!(!((a=this.p.parser.nodeSet.types[r])===null||a===void 0)&&a.isAnonymous)&&(Q==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=u):this.p.lastBigReductionSize<u&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=Q,this.p.lastBigReductionSize=u));let c=n?this.stack[n-1]:0,f=this.bufferBase+this.buffer.length-c;if(r<s.minRepeatTerm||O&131072){let h=s.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(r,Q,h,f+4,!0)}if(O&262144)this.state=this.stack[n];else{let h=this.stack[n-3];this.state=s.getGoto(h,r,!0)}for(;this.stack.length>n;)this.stack.pop();this.reduceContext(r,Q)}storeNode(O,a,t,r=4,s=!1){if(O==0&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let i=this,o=this.buffer.length;if(o==0&&i.parent&&(o=i.bufferBase-i.parent.bufferBase,i=i.parent),o>0&&i.buffer[o-4]==0&&i.buffer[o-1]>-1){if(a==t)return;if(i.buffer[o-2]>=a){i.buffer[o-2]=t;return}}}if(!s||this.pos==t)this.buffer.push(O,a,t,r);else{let i=this.buffer.length;if(i>0&&this.buffer[i-4]!=0){let o=!1;for(let n=i;n>0&&this.buffer[n-2]>t;n-=4)if(this.buffer[n-1]>=0){o=!0;break}if(o)for(;i>0&&this.buffer[i-2]>t;)this.buffer[i]=this.buffer[i-4],this.buffer[i+1]=this.buffer[i-3],this.buffer[i+2]=this.buffer[i-2],this.buffer[i+3]=this.buffer[i-1],i-=4,r>4&&(r-=4)}this.buffer[i]=O,this.buffer[i+1]=a,this.buffer[i+2]=t,this.buffer[i+3]=r}}shift(O,a,t,r){if(O&131072)this.pushState(O&65535,this.pos);else if(O&262144)this.pos=r,this.shiftContext(a,t),a<=this.p.parser.maxNode&&this.buffer.push(a,t,r,4);else{let s=O,{parser:i}=this.p;(r>this.pos||a<=i.maxNode)&&(this.pos=r,i.stateFlag(s,1)||(this.reducePos=r)),this.pushState(s,t),this.shiftContext(a,t),a<=i.maxNode&&this.buffer.push(a,t,r,4)}}apply(O,a,t,r){O&65536?this.reduce(O):this.shift(O,a,t,r)}useNode(O,a){let t=this.p.reused.length-1;(t<0||this.p.reused[t]!=O)&&(this.p.reused.push(O),t++);let r=this.pos;this.reducePos=this.pos=r+O.length,this.pushState(a,r),this.buffer.push(t,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,O,this,this.p.stream.reset(this.pos-O.length)))}split(){let O=this,a=O.buffer.length;for(;a>0&&O.buffer[a-2]>O.reducePos;)a-=4;let t=O.buffer.slice(a),r=O.bufferBase+a;for(;O&&r==O.bufferBase;)O=O.parent;return new sO(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,t,r,this.curContext,this.lookAhead,O)}recoverByDelete(O,a){let t=O<=this.p.parser.maxNode;t&&this.storeNode(O,this.pos,a,4),this.storeNode(0,this.pos,a,t?8:4),this.pos=this.reducePos=a,this.score-=190}canShift(O){for(let a=new pa(this);;){let t=this.p.parser.stateSlot(a.state,4)||this.p.parser.hasAction(a.state,O);if(t==0)return!1;if(!(t&65536))return!0;a.reduce(t)}}recoverByInsert(O){if(this.stack.length>=300)return[];let a=this.p.parser.nextStates(this.state);if(a.length>8||this.stack.length>=120){let r=[];for(let s=0,i;s<a.length;s+=2)(i=a[s+1])!=this.state&&this.p.parser.hasAction(i,O)&&r.push(a[s],i);if(this.stack.length<120)for(let s=0;r.length<8&&s<a.length;s+=2){let i=a[s+1];r.some((o,n)=>n&1&&o==i)||r.push(a[s],i)}a=r}let t=[];for(let r=0;r<a.length&&t.length<4;r+=2){let s=a[r+1];if(s==this.state)continue;let i=this.split();i.pushState(s,this.pos),i.storeNode(0,i.pos,i.pos,4,!0),i.shiftContext(a[r],this.pos),i.reducePos=this.pos,i.score-=200,t.push(i)}return t}forceReduce(){let{parser:O}=this.p,a=O.stateSlot(this.state,5);if(!(a&65536))return!1;if(!O.validAction(this.state,a)){let t=a>>19,r=a&65535,s=this.stack.length-t*3;if(s<0||O.getGoto(this.stack[s],r,!1)<0){let i=this.findForcedReduction();if(i==null)return!1;a=i}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(a),!0}findForcedReduction(){let{parser:O}=this.p,a=[],t=(r,s)=>{if(!a.includes(r))return a.push(r),O.allActions(r,i=>{if(!(i&393216))if(i&65536){let o=(i>>19)-s;if(o>1){let n=i&65535,Q=this.stack.length-o*3;if(Q>=0&&O.getGoto(this.stack[Q],n,!1)>=0)return o<<19|65536|n}}else{let o=t(i,s+1);if(o!=null)return o}})};return t(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:O}=this.p;return O.data[O.stateSlot(this.state,1)]==65535&&!O.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(O){if(this.state!=O.state||this.stack.length!=O.stack.length)return!1;for(let a=0;a<this.stack.length;a+=3)if(this.stack[a]!=O.stack[a])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(O){return this.p.parser.dialect.flags[O]}shiftContext(O,a){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,O,this,this.p.stream.reset(a)))}reduceContext(O,a){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,O,this,this.p.stream.reset(a)))}emitContext(){let O=this.buffer.length-1;(O<0||this.buffer[O]!=-3)&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let O=this.buffer.length-1;(O<0||this.buffer[O]!=-4)&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(O){if(O!=this.curContext.context){let a=new KO(this.curContext.tracker,O);a.hash!=this.curContext.hash&&this.emitContext(),this.curContext=a}}setLookAhead(O){O>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=O)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class KO{constructor(O,a){this.tracker=O,this.context=a,this.hash=O.strict?O.hash(a):0}}class pa{constructor(O){this.start=O,this.state=O.state,this.stack=O.stack,this.base=this.stack.length}reduce(O){let a=O&65535,t=O>>19;t==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(t-1)*3;let r=this.start.p.parser.getGoto(this.stack[this.base-3],a,!0);this.state=r}}class oO{constructor(O,a,t){this.stack=O,this.pos=a,this.index=t,this.buffer=O.buffer,this.index==0&&this.maybeNext()}static create(O,a=O.bufferBase+O.buffer.length){return new oO(O,a,a-O.bufferBase)}maybeNext(){let O=this.stack.parent;O!=null&&(this.index=this.stack.bufferBase-O.bufferBase,this.stack=O,this.buffer=O.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new oO(this.stack,this.pos,this.index)}}function N(e,O=Uint16Array){if(typeof e!="string")return e;let a=null;for(let t=0,r=0;t<e.length;){let s=0;for(;;){let i=e.charCodeAt(t++),o=!1;if(i==126){s=65535;break}i>=92&&i--,i>=34&&i--;let n=i-32;if(n>=46&&(n-=46,o=!0),s+=n,o)break;s*=46}a?a[r++]=s:a=new O(s)}return a}class aO{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const FO=new aO;class da{constructor(O,a){this.input=O,this.ranges=a,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=FO,this.rangeIndex=0,this.pos=this.chunkPos=a[0].from,this.range=a[0],this.end=a[a.length-1].to,this.readNext()}resolveOffset(O,a){let t=this.range,r=this.rangeIndex,s=this.pos+O;for(;s<t.from;){if(!r)return null;let i=this.ranges[--r];s-=t.from-i.to,t=i}for(;a<0?s>t.to:s>=t.to;){if(r==this.ranges.length-1)return null;let i=this.ranges[++r];s+=i.from-t.to,t=i}return s}clipPos(O){if(O>=this.range.from&&O<this.range.to)return O;for(let a of this.ranges)if(a.to>O)return Math.max(O,a.from);return this.end}peek(O){let a=this.chunkOff+O,t,r;if(a>=0&&a<this.chunk.length)t=this.pos+O,r=this.chunk.charCodeAt(a);else{let s=this.resolveOffset(O,1);if(s==null)return-1;if(t=s,t>=this.chunk2Pos&&t<this.chunk2Pos+this.chunk2.length)r=this.chunk2.charCodeAt(t-this.chunk2Pos);else{let i=this.rangeIndex,o=this.range;for(;o.to<=t;)o=this.ranges[++i];this.chunk2=this.input.chunk(this.chunk2Pos=t),t+this.chunk2.length>o.to&&(this.chunk2=this.chunk2.slice(0,o.to-t)),r=this.chunk2.charCodeAt(0)}}return t>=this.token.lookAhead&&(this.token.lookAhead=t+1),r}acceptToken(O,a=0){let t=a?this.resolveOffset(a,-1):this.pos;if(t==null||t<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=O,this.token.end=t}acceptTokenTo(O,a){this.token.value=O,this.token.end=a}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:O,chunkPos:a}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=O,this.chunk2Pos=a,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let O=this.input.chunk(this.pos),a=this.pos+O.length;this.chunk=a>this.range.to?O.slice(0,this.range.to-this.pos):O,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(O=1){for(this.chunkOff+=O;this.pos+O>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();O-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=O,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(O,a){if(a?(this.token=a,a.start=O,a.lookAhead=O+1,a.value=a.extended=-1):this.token=FO,this.pos!=O){if(this.pos=O,O==this.end)return this.setDone(),this;for(;O<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;O>=this.range.to;)this.range=this.ranges[++this.rangeIndex];O>=this.chunkPos&&O<this.chunkPos+this.chunk.length?this.chunkOff=O-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(O,a){if(O>=this.chunkPos&&a<=this.chunkPos+this.chunk.length)return this.chunk.slice(O-this.chunkPos,a-this.chunkPos);if(O>=this.chunk2Pos&&a<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(O-this.chunk2Pos,a-this.chunk2Pos);if(O>=this.range.from&&a<=this.range.to)return this.input.read(O,a);let t="";for(let r of this.ranges){if(r.from>=a)break;r.to>O&&(t+=this.input.read(Math.max(r.from,O),Math.min(r.to,a)))}return t}}class z{constructor(O,a){this.data=O,this.id=a}token(O,a){let{parser:t}=a.p;Ve(this.data,O,a,this.id,t.data,t.tokenPrecTable)}}z.prototype.contextual=z.prototype.fallback=z.prototype.extend=!1;class lO{constructor(O,a,t){this.precTable=a,this.elseToken=t,this.data=typeof O=="string"?N(O):O}token(O,a){let t=O.pos,r=0;for(;;){let s=O.next<0,i=O.resolveOffset(1,1);if(Ve(this.data,O,a,0,this.data,this.precTable),O.token.value>-1)break;if(this.elseToken==null)return;if(s||r++,i==null)break;O.reset(i,O.token)}r&&(O.reset(t,O.token),O.acceptToken(this.elseToken,r))}}lO.prototype.contextual=z.prototype.fallback=z.prototype.extend=!1;class k{constructor(O,a={}){this.token=O,this.contextual=!!a.contextual,this.fallback=!!a.fallback,this.extend=!!a.extend}}function Ve(e,O,a,t,r,s){let i=0,o=1<<t,{dialect:n}=a.p.parser;O:for(;o&e[i];){let Q=e[i+1];for(let h=i+3;h<Q;h+=2)if((e[h+1]&o)>0){let d=e[h];if(n.allows(d)&&(O.token.value==-1||O.token.value==d||fa(d,O.token.value,r,s))){O.acceptToken(d);break}}let u=O.next,c=0,f=e[i+2];if(O.next<0&&f>c&&e[Q+f*3-3]==65535){i=e[Q+f*3-1];continue O}for(;c<f;){let h=c+f>>1,d=Q+h+(h<<1),P=e[d],m=e[d+1]||65536;if(u<P)f=h;else if(u>=m)c=h+1;else{i=e[d+2],O.advance();continue O}}break}}function HO(e,O,a){for(let t=O,r;(r=e[t])!=65535;t++)if(r==a)return t-O;return-1}function fa(e,O,a,t){let r=HO(a,t,O);return r<0||HO(a,t,e)<r}const Z=typeof process<"u"&&LO&&/\bparse\b/.test(LO.LOG);let pO=null;function Oe(e,O,a){let t=e.cursor(vO.IncludeAnonymous);for(t.moveTo(O);;)if(!(a<0?t.childBefore(O):t.childAfter(O)))for(;;){if((a<0?t.to<O:t.from>O)&&!t.type.isError)return a<0?Math.max(0,Math.min(t.to-1,O-25)):Math.min(e.length,Math.max(t.from+1,O+25));if(a<0?t.prevSibling():t.nextSibling())break;if(!t.parent())return a<0?0:e.length}}class $a{constructor(O,a){this.fragments=O,this.nodeSet=a,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let O=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(O){for(this.safeFrom=O.openStart?Oe(O.tree,O.from+O.offset,1)-O.offset:O.from,this.safeTo=O.openEnd?Oe(O.tree,O.to+O.offset,-1)-O.offset:O.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(O.tree),this.start.push(-O.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(O){if(O<this.nextStart)return null;for(;this.fragment&&this.safeTo<=O;)this.nextFragment();if(!this.fragment)return null;for(;;){let a=this.trees.length-1;if(a<0)return this.nextFragment(),null;let t=this.trees[a],r=this.index[a];if(r==t.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let s=t.children[r],i=this.start[a]+t.positions[r];if(i>O)return this.nextStart=i,null;if(s instanceof tO){if(i==O){if(i<this.safeFrom)return null;let o=i+s.length;if(o<=this.safeTo){let n=s.prop(qO.lookAhead);if(!n||o+n<this.fragment.to)return s}}this.index[a]++,i+s.length>=Math.max(this.safeFrom,O)&&(this.trees.push(s),this.start.push(i),this.index.push(0))}else this.index[a]++,this.nextStart=i+s.length}}}class Pa{constructor(O,a){this.stream=a,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=O.tokenizers.map(t=>new aO)}getActions(O){let a=0,t=null,{parser:r}=O.p,{tokenizers:s}=r,i=r.stateSlot(O.state,3),o=O.curContext?O.curContext.hash:0,n=0;for(let Q=0;Q<s.length;Q++){if(!(1<<Q&i))continue;let u=s[Q],c=this.tokens[Q];if(!(t&&!u.fallback)&&((u.contextual||c.start!=O.pos||c.mask!=i||c.context!=o)&&(this.updateCachedToken(c,u,O),c.mask=i,c.context=o),c.lookAhead>c.end+25&&(n=Math.max(c.lookAhead,n)),c.value!=0)){let f=a;if(c.extended>-1&&(a=this.addActions(O,c.extended,c.end,a)),a=this.addActions(O,c.value,c.end,a),!u.extend&&(t=c,a>f))break}}for(;this.actions.length>a;)this.actions.pop();return n&&O.setLookAhead(n),!t&&O.pos==this.stream.end&&(t=new aO,t.value=O.p.parser.eofTerm,t.start=t.end=O.pos,a=this.addActions(O,t.value,t.end,a)),this.mainToken=t,this.actions}getMainToken(O){if(this.mainToken)return this.mainToken;let a=new aO,{pos:t,p:r}=O;return a.start=t,a.end=Math.min(t+1,r.stream.end),a.value=t==r.stream.end?r.parser.eofTerm:0,a}updateCachedToken(O,a,t){let r=this.stream.clipPos(t.pos);if(a.token(this.stream.reset(r,O),t),O.value>-1){let{parser:s}=t.p;for(let i=0;i<s.specialized.length;i++)if(s.specialized[i]==O.value){let o=s.specializers[i](this.stream.read(O.start,O.end),t);if(o>=0&&t.p.parser.dialect.allows(o>>1)){o&1?O.extended=o>>1:O.value=o>>1;break}}}else O.value=0,O.end=this.stream.clipPos(r+1)}putAction(O,a,t,r){for(let s=0;s<r;s+=3)if(this.actions[s]==O)return r;return this.actions[r++]=O,this.actions[r++]=a,this.actions[r++]=t,r}addActions(O,a,t,r){let{state:s}=O,{parser:i}=O.p,{data:o}=i;for(let n=0;n<2;n++)for(let Q=i.stateSlot(s,n?2:1);;Q+=3){if(o[Q]==65535)if(o[Q+1]==1)Q=R(o,Q+2);else{r==0&&o[Q+1]==2&&(r=this.putAction(R(o,Q+2),a,t,r));break}o[Q]==a&&(r=this.putAction(R(o,Q+1),a,t,r))}return r}}class ma{constructor(O,a,t,r){this.parser=O,this.input=a,this.ranges=r,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new da(a,r),this.tokens=new Pa(O,this.stream),this.topTerm=O.top[1];let{from:s}=r[0];this.stacks=[sO.start(this,O.top[0],s)],this.fragments=t.length&&this.stream.end-s>O.bufferLength*4?new $a(t,O.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let O=this.stacks,a=this.minStackPos,t=this.stacks=[],r,s;if(this.bigReductionCount>300&&O.length==1){let[i]=O;for(;i.forceReduce()&&i.stack.length&&i.stack[i.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let i=0;i<O.length;i++){let o=O[i];for(;;){if(this.tokens.mainToken=null,o.pos>a)t.push(o);else{if(this.advanceStack(o,t,O))continue;{r||(r=[],s=[]),r.push(o);let n=this.tokens.getMainToken(o);s.push(n.value,n.end)}}break}}if(!t.length){let i=r&&Sa(r);if(i)return Z&&console.log("Finish with "+this.stackID(i)),this.stackToTree(i);if(this.parser.strict)throw Z&&r&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+a);this.recovering||(this.recovering=5)}if(this.recovering&&r){let i=this.stoppedAt!=null&&r[0].pos>this.stoppedAt?r[0]:this.runRecovery(r,s,t);if(i)return Z&&console.log("Force-finish "+this.stackID(i)),this.stackToTree(i.forceAll())}if(this.recovering){let i=this.recovering==1?1:this.recovering*3;if(t.length>i)for(t.sort((o,n)=>n.score-o.score);t.length>i;)t.pop();t.some(o=>o.reducePos>a)&&this.recovering--}else if(t.length>1){O:for(let i=0;i<t.length-1;i++){let o=t[i];for(let n=i+1;n<t.length;n++){let Q=t[n];if(o.sameState(Q)||o.buffer.length>500&&Q.buffer.length>500)if((o.score-Q.score||o.buffer.length-Q.buffer.length)>0)t.splice(n--,1);else{t.splice(i--,1);continue O}}}t.length>12&&t.splice(12,t.length-12)}this.minStackPos=t[0].pos;for(let i=1;i<t.length;i++)t[i].pos<this.minStackPos&&(this.minStackPos=t[i].pos);return null}stopAt(O){if(this.stoppedAt!=null&&this.stoppedAt<O)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=O}advanceStack(O,a,t){let r=O.pos,{parser:s}=this,i=Z?this.stackID(O)+" -> ":"";if(this.stoppedAt!=null&&r>this.stoppedAt)return O.forceReduce()?O:null;if(this.fragments){let Q=O.curContext&&O.curContext.tracker.strict,u=Q?O.curContext.hash:0;for(let c=this.fragments.nodeAt(r);c;){let f=this.parser.nodeSet.types[c.type.id]==c.type?s.getGoto(O.state,c.type.id):-1;if(f>-1&&c.length&&(!Q||(c.prop(qO.contextHash)||0)==u))return O.useNode(c,f),Z&&console.log(i+this.stackID(O)+` (via reuse of ${s.getName(c.type.id)})`),!0;if(!(c instanceof tO)||c.children.length==0||c.positions[0]>0)break;let h=c.children[0];if(h instanceof tO&&c.positions[0]==0)c=h;else break}}let o=s.stateSlot(O.state,4);if(o>0)return O.reduce(o),Z&&console.log(i+this.stackID(O)+` (via always-reduce ${s.getName(o&65535)})`),!0;if(O.stack.length>=8400)for(;O.stack.length>6e3&&O.forceReduce(););let n=this.tokens.getActions(O);for(let Q=0;Q<n.length;){let u=n[Q++],c=n[Q++],f=n[Q++],h=Q==n.length||!t,d=h?O:O.split(),P=this.tokens.mainToken;if(d.apply(u,c,P?P.start:d.pos,f),Z&&console.log(i+this.stackID(d)+` (via ${u&65536?`reduce of ${s.getName(u&65535)}`:"shift"} for ${s.getName(c)} @ ${r}${d==O?"":", split"})`),h)return!0;d.pos>r?a.push(d):t.push(d)}return!1}advanceFully(O,a){let t=O.pos;for(;;){if(!this.advanceStack(O,null,null))return!1;if(O.pos>t)return ee(O,a),!0}}runRecovery(O,a,t){let r=null,s=!1;for(let i=0;i<O.length;i++){let o=O[i],n=a[i<<1],Q=a[(i<<1)+1],u=Z?this.stackID(o)+" -> ":"";if(o.deadEnd&&(s||(s=!0,o.restart(),Z&&console.log(u+this.stackID(o)+" (restarted)"),this.advanceFully(o,t))))continue;let c=o.split(),f=u;for(let h=0;c.forceReduce()&&h<10&&(Z&&console.log(f+this.stackID(c)+" (via force-reduce)"),!this.advanceFully(c,t));h++)Z&&(f=this.stackID(c)+" -> ");for(let h of o.recoverByInsert(n))Z&&console.log(u+this.stackID(h)+" (via recover-insert)"),this.advanceFully(h,t);this.stream.end>o.pos?(Q==o.pos&&(Q++,n=0),o.recoverByDelete(n,Q),Z&&console.log(u+this.stackID(o)+` (via recover-delete ${this.parser.getName(n)})`),ee(o,t)):(!r||r.score<o.score)&&(r=o)}return r}stackToTree(O){return O.close(),tO.build({buffer:oO.create(O),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:O.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(O){let a=(pO||(pO=new WeakMap)).get(O);return a||pO.set(O,a=String.fromCodePoint(this.nextStackID++)),a+O}}function ee(e,O){for(let a=0;a<O.length;a++){let t=O[a];if(t.pos==e.pos&&t.sameState(e)){O[a].score<e.score&&(O[a]=e);return}}O.push(e)}class ga{constructor(O,a,t){this.source=O,this.flags=a,this.disabled=t}allows(O){return!this.disabled||this.disabled[O]==0}}const dO=e=>e;class je{constructor(O){this.start=O.start,this.shift=O.shift||dO,this.reduce=O.reduce||dO,this.reuse=O.reuse||dO,this.hash=O.hash||(()=>0),this.strict=O.strict!==!1}}class T extends Ct{constructor(O){if(super(),this.wrappers=[],O.version!=14)throw new RangeError(`Parser version (${O.version}) doesn't match runtime version (14)`);let a=O.nodeNames.split(" ");this.minRepeatTerm=a.length;for(let o=0;o<O.repeatNodeCount;o++)a.push("");let t=Object.keys(O.topRules).map(o=>O.topRules[o][1]),r=[];for(let o=0;o<a.length;o++)r.push([]);function s(o,n,Q){r[o].push([n,n.deserialize(String(Q))])}if(O.nodeProps)for(let o of O.nodeProps){let n=o[0];typeof n=="string"&&(n=qO[n]);for(let Q=1;Q<o.length;){let u=o[Q++];if(u>=0)s(u,n,o[Q++]);else{let c=o[Q+-u];for(let f=-u;f>0;f--)s(o[Q++],n,c);Q++}}}this.nodeSet=new At(a.map((o,n)=>Et.define({name:n>=this.minRepeatTerm?void 0:o,id:n,props:r[n],top:t.indexOf(n)>-1,error:n==0,skipped:O.skippedNodes&&O.skippedNodes.indexOf(n)>-1}))),O.propSources&&(this.nodeSet=this.nodeSet.extend(...O.propSources)),this.strict=!1,this.bufferLength=Nt;let i=N(O.tokenData);this.context=O.context,this.specializerSpecs=O.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let o=0;o<this.specializerSpecs.length;o++)this.specialized[o]=this.specializerSpecs[o].term;this.specializers=this.specializerSpecs.map(te),this.states=N(O.states,Uint32Array),this.data=N(O.stateData),this.goto=N(O.goto),this.maxTerm=O.maxTerm,this.tokenizers=O.tokenizers.map(o=>typeof o=="number"?new z(i,o):o),this.topRules=O.topRules,this.dialects=O.dialects||{},this.dynamicPrecedences=O.dynamicPrecedences||null,this.tokenPrecTable=O.tokenPrec,this.termNames=O.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(O,a,t){let r=new ma(this,O,a,t);for(let s of this.wrappers)r=s(r,O,a,t);return r}getGoto(O,a,t=!1){let r=this.goto;if(a>=r[0])return-1;for(let s=r[a+1];;){let i=r[s++],o=i&1,n=r[s++];if(o&&t)return n;for(let Q=s+(i>>1);s<Q;s++)if(r[s]==O)return n;if(o)return-1}}hasAction(O,a){let t=this.data;for(let r=0;r<2;r++)for(let s=this.stateSlot(O,r?2:1),i;;s+=3){if((i=t[s])==65535)if(t[s+1]==1)i=t[s=R(t,s+2)];else{if(t[s+1]==2)return R(t,s+2);break}if(i==a||i==0)return R(t,s+1)}return 0}stateSlot(O,a){return this.states[O*6+a]}stateFlag(O,a){return(this.stateSlot(O,0)&a)>0}validAction(O,a){return!!this.allActions(O,t=>t==a?!0:null)}allActions(O,a){let t=this.stateSlot(O,4),r=t?a(t):void 0;for(let s=this.stateSlot(O,1);r==null;s+=3){if(this.data[s]==65535)if(this.data[s+1]==1)s=R(this.data,s+2);else break;r=a(R(this.data,s+1))}return r}nextStates(O){let a=[];for(let t=this.stateSlot(O,1);;t+=3){if(this.data[t]==65535)if(this.data[t+1]==1)t=R(this.data,t+2);else break;if(!(this.data[t+2]&1)){let r=this.data[t+1];a.some((s,i)=>i&1&&s==r)||a.push(this.data[t],r)}}return a}configure(O){let a=Object.assign(Object.create(T.prototype),this);if(O.props&&(a.nodeSet=this.nodeSet.extend(...O.props)),O.top){let t=this.topRules[O.top];if(!t)throw new RangeError(`Invalid top rule name ${O.top}`);a.top=t}return O.tokenizers&&(a.tokenizers=this.tokenizers.map(t=>{let r=O.tokenizers.find(s=>s.from==t);return r?r.to:t})),O.specializers&&(a.specializers=this.specializers.slice(),a.specializerSpecs=this.specializerSpecs.map((t,r)=>{let s=O.specializers.find(o=>o.from==t.external);if(!s)return t;let i=Object.assign(Object.assign({},t),{external:s.to});return a.specializers[r]=te(i),i})),O.contextTracker&&(a.context=O.contextTracker),O.dialect&&(a.dialect=this.parseDialect(O.dialect)),O.strict!=null&&(a.strict=O.strict),O.wrap&&(a.wrappers=a.wrappers.concat(O.wrap)),O.bufferLength!=null&&(a.bufferLength=O.bufferLength),a}hasWrappers(){return this.wrappers.length>0}getName(O){return this.termNames?this.termNames[O]:String(O<=this.maxNode&&this.nodeSet.types[O].name||O)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(O){let a=this.dynamicPrecedences;return a==null?0:a[O]||0}parseDialect(O){let a=Object.keys(this.dialects),t=a.map(()=>!1);if(O)for(let s of O.split(" ")){let i=a.indexOf(s);i>=0&&(t[i]=!0)}let r=null;for(let s=0;s<a.length;s++)if(!t[s])for(let i=this.dialects[a[s]],o;(o=this.data[i++])!=65535;)(r||(r=new Uint8Array(this.maxTerm+1)))[o]=1;return new ga(O,t,r)}static deserialize(O){return new T(O)}}function R(e,O){return e[O]|e[O+1]<<16}function Sa(e){let O=null;for(let a of e){let t=a.p.stoppedAt;(a.pos==a.p.stream.end||t!=null&&a.pos>t)&&a.p.parser.stateFlag(a.state,2)&&(!O||O.score<a.score)&&(O=a)}return O}function te(e){if(e.external){let O=e.extend?1:0;return(a,t)=>e.external(a,t)<<1|O}return e.get}const Za=54,ba=1,ka=55,xa=2,Xa=56,ya=3,ae=4,wa=5,nO=6,Ge=7,Ce=8,Ae=9,Ee=10,Ra=11,Ya=12,Ta=13,fO=57,Wa=14,re=58,Ne=20,_a=22,Me=23,qa=24,XO=26,Ie=27,va=28,Ua=31,za=34,Va=36,ja=37,Ga=0,Ca=1,Aa={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},Ea={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},ie={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function Na(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}function De(e){return e==9||e==10||e==13||e==32}let se=null,oe=null,le=0;function yO(e,O){let a=e.pos+O;if(le==a&&oe==e)return se;let t=e.peek(O);for(;De(t);)t=e.peek(++O);let r="";for(;Na(t);)r+=String.fromCharCode(t),t=e.peek(++O);return oe=e,le=a,se=r?r.toLowerCase():t==Ma||t==Ia?void 0:null}const Be=60,cO=62,zO=47,Ma=63,Ia=33,Da=45;function ne(e,O){this.name=e,this.parent=O}const Ba=[nO,Ee,Ge,Ce,Ae],Ja=new je({start:null,shift(e,O,a,t){return Ba.indexOf(O)>-1?new ne(yO(t,1)||"",e):e},reduce(e,O){return O==Ne&&e?e.parent:e},reuse(e,O,a,t){let r=O.type.id;return r==nO||r==Va?new ne(yO(t,1)||"",e):e},strict:!1}),La=new k((e,O)=>{if(e.next!=Be){e.next<0&&O.context&&e.acceptToken(fO);return}e.advance();let a=e.next==zO;a&&e.advance();let t=yO(e,0);if(t===void 0)return;if(!t)return e.acceptToken(a?Wa:nO);let r=O.context?O.context.name:null;if(a){if(t==r)return e.acceptToken(Ra);if(r&&Ea[r])return e.acceptToken(fO,-2);if(O.dialectEnabled(Ga))return e.acceptToken(Ya);for(let s=O.context;s;s=s.parent)if(s.name==t)return;e.acceptToken(Ta)}else{if(t=="script")return e.acceptToken(Ge);if(t=="style")return e.acceptToken(Ce);if(t=="textarea")return e.acceptToken(Ae);if(Aa.hasOwnProperty(t))return e.acceptToken(Ee);r&&ie[r]&&ie[r][t]?e.acceptToken(fO,-1):e.acceptToken(nO)}},{contextual:!0}),Ka=new k(e=>{for(let O=0,a=0;;a++){if(e.next<0){a&&e.acceptToken(re);break}if(e.next==Da)O++;else if(e.next==cO&&O>=2){a>=3&&e.acceptToken(re,-2);break}else O=0;e.advance()}});function Fa(e){for(;e;e=e.parent)if(e.name=="svg"||e.name=="math")return!0;return!1}const Ha=new k((e,O)=>{if(e.next==zO&&e.peek(1)==cO){let a=O.dialectEnabled(Ca)||Fa(O.context);e.acceptToken(a?wa:ae,2)}else e.next==cO&&e.acceptToken(ae,1)});function VO(e,O,a){let t=2+e.length;return new k(r=>{for(let s=0,i=0,o=0;;o++){if(r.next<0){o&&r.acceptToken(O);break}if(s==0&&r.next==Be||s==1&&r.next==zO||s>=2&&s<t&&r.next==e.charCodeAt(s-2))s++,i++;else if((s==2||s==t)&&De(r.next))i++;else if(s==t&&r.next==cO){o>i?r.acceptToken(O,-i):r.acceptToken(a,-(i-2));break}else if((r.next==10||r.next==13)&&o){r.acceptToken(O,1);break}else s=i=0;r.advance()}})}const Or=VO("script",Za,ba),er=VO("style",ka,xa),tr=VO("textarea",Xa,ya),ar=B({"Text RawText":l.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":l.angleBracket,TagName:l.tagName,"MismatchedCloseTag/TagName":[l.tagName,l.invalid],AttributeName:l.attributeName,"AttributeValue UnquotedAttributeValue":l.attributeValue,Is:l.definitionOperator,"EntityReference CharacterReference":l.character,Comment:l.blockComment,ProcessingInst:l.processingInstruction,DoctypeDecl:l.documentMeta}),rr=T.deserialize({version:14,states:",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%ZQ&rO,59fO%fQ&rO,59iO%qQ&rO,59lO%|Q&rO,59nOOOa'#D^'#D^O&XOaO'#CxO&dOaO,59[OOOb'#D_'#D_O&lObO'#C{O&wObO,59[OOOd'#D`'#D`O'POdO'#DOO'[OdO,59[OOO`'#Da'#DaO'dO!rO,59[O'kQ#tO'#DROOO`,59[,59[OOOp'#Db'#DbO'pO$fO,59oOOO`,59o,59oO'xQ#|O,59qO'}Q#|O,59rOOO`-E7W-E7WO(SQ&rO'#CsOOQW'#DZ'#DZO(bQ&rO1G.wOOOa1G.w1G.wOOO`1G/Y1G/YO(mQ&rO1G/QOOOb1G/Q1G/QO(xQ&rO1G/TOOOd1G/T1G/TO)TQ&rO1G/WOOO`1G/W1G/WO)`Q&rO1G/YOOOa-E7[-E7[O)kQ#tO'#CyOOO`1G.v1G.vOOOb-E7]-E7]O)pQ#tO'#C|OO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%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"âš  StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:Ja,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,21,30,33,36,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,29,32,35,37,"OpenTag"],["group",-9,14,17,18,19,20,39,40,41,42,"Entity",16,"Entity TextContent",-3,28,31,34,"TextContent Entity"],["isolate",-11,21,29,30,32,33,35,36,37,38,41,42,"ltr",-3,26,27,39,""]],propSources:[ar],skippedNodes:[0],repeatNodeCount:9,tokenData:"!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1p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t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXiS`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",tokenizers:[Or,er,tr,Ha,La,Ka,0,1,2,3,4,5],topRules:{Document:[0,15]},dialects:{noMatch:0,selfClosing:509},tokenPrec:511});function Je(e,O){let a=Object.create(null);for(let t of e.getChildren(Me)){let r=t.getChild(qa),s=t.getChild(XO)||t.getChild(Ie);r&&(a[O.read(r.from,r.to)]=s?s.type.id==XO?O.read(s.from+1,s.to-1):O.read(s.from,s.to):"")}return a}function ce(e,O){let a=e.getChild(_a);return a?O.read(a.from,a.to):" "}function $O(e,O,a){let t;for(let r of a)if(!r.attrs||r.attrs(t||(t=Je(e.node.parent.firstChild,O))))return{parser:r.parser};return null}function Le(e=[],O=[]){let a=[],t=[],r=[],s=[];for(let o of e)(o.tag=="script"?a:o.tag=="style"?t:o.tag=="textarea"?r:s).push(o);let i=O.length?Object.create(null):null;for(let o of O)(i[o.name]||(i[o.name]=[])).push(o);return Mt((o,n)=>{let Q=o.type.id;if(Q==va)return $O(o,n,a);if(Q==Ua)return $O(o,n,t);if(Q==za)return $O(o,n,r);if(Q==Ne&&s.length){let u=o.node,c=u.firstChild,f=c&&ce(c,n),h;if(f){for(let d of s)if(d.tag==f&&(!d.attrs||d.attrs(h||(h=Je(c,n))))){let P=u.lastChild,m=P.type.id==ja?P.from:u.to;if(m>c.to)return{parser:d.parser,overlay:[{from:c.to,to:m}]}}}}if(i&&Q==Me){let u=o.node,c;if(c=u.firstChild){let f=i[n.read(c.from,c.to)];if(f)for(let h of f){if(h.tagName&&h.tagName!=ce(u.parent,n))continue;let d=u.lastChild;if(d.type.id==XO){let P=d.from+1,m=d.lastChild,x=d.to-(m&&m.isError?0:1);if(x>P)return{parser:h.parser,overlay:[{from:P,to:x}]}}else if(d.type.id==Ie)return{parser:h.parser,overlay:[{from:d.from,to:d.to}]}}}}return null})}const ir=99,Qe=1,sr=100,or=101,he=2,Ke=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],lr=58,nr=40,Fe=95,cr=91,rO=45,Qr=46,hr=35,ur=37,pr=38,dr=92,fr=10;function M(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function He(e){return e>=48&&e<=57}const $r=new k((e,O)=>{for(let a=!1,t=0,r=0;;r++){let{next:s}=e;if(M(s)||s==rO||s==Fe||a&&He(s))!a&&(s!=rO||r>0)&&(a=!0),t===r&&s==rO&&t++,e.advance();else if(s==dr&&e.peek(1)!=fr)e.advance(),e.next>-1&&e.advance(),a=!0;else{a&&e.acceptToken(s==nr?sr:t==2&&O.canShift(he)?he:or);break}}}),Pr=new k(e=>{if(Ke.includes(e.peek(-1))){let{next:O}=e;(M(O)||O==Fe||O==hr||O==Qr||O==cr||O==lr&&M(e.peek(1))||O==rO||O==pr)&&e.acceptToken(ir)}}),mr=new k(e=>{if(!Ke.includes(e.peek(-1))){let{next:O}=e;if(O==ur&&(e.advance(),e.acceptToken(Qe)),M(O)){do e.advance();while(M(e.next)||He(e.next));e.acceptToken(Qe)}}}),gr=B({"AtKeyword import charset namespace keyframes media supports":l.definitionKeyword,"from to selector":l.keyword,NamespaceName:l.namespace,KeyframeName:l.labelName,KeyframeRangeName:l.operatorKeyword,TagName:l.tagName,ClassName:l.className,PseudoClassName:l.constant(l.className),IdName:l.labelName,"FeatureName PropertyName":l.propertyName,AttributeName:l.attributeName,NumberLiteral:l.number,KeywordQuery:l.keyword,UnaryQueryOp:l.operatorKeyword,"CallTag ValueName":l.atom,VariableName:l.variableName,Callee:l.operatorKeyword,Unit:l.unit,"UniversalSelector NestingSelector":l.definitionOperator,MatchOp:l.compareOperator,"ChildOp SiblingOp, LogicOp":l.logicOperator,BinOp:l.arithmeticOperator,Important:l.modifier,Comment:l.blockComment,ColorLiteral:l.color,"ParenthesizedContent StringLiteral":l.string,":":l.punctuation,"PseudoOp #":l.derefOperator,"; ,":l.separator,"( )":l.paren,"[ ]":l.squareBracket,"{ }":l.brace}),Sr={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:138},Zr={__proto__:null,"@import":118,"@media":142,"@charset":146,"@namespace":150,"@keyframes":156,"@supports":168},br={__proto__:null,not:132,only:132},kr=T.deserialize({version:14,states:":jQYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#ChO$qQ[O'#DTO$vQ[O'#DWOOQP'#Em'#EmO${QdO'#DgO%jQ[O'#DtO${QdO'#DvO%{Q[O'#DxO&WQ[O'#D{O&`Q[O'#ERO&nQ[O'#ETOOQS'#El'#ElOOQS'#EW'#EWQYQ[OOO&uQXO'#CdO'jQWO'#DcO'oQWO'#EsO'zQ[O'#EsQOQWOOP(UO#tO'#C_POOO)C@[)C@[OOQP'#Cg'#CgOOQP,59Q,59QO#kQ[O,59QO(aQ[O'#E[O({QWO,58{O)TQ[O,59SO$qQ[O,59oO$vQ[O,59rO(aQ[O,59uO(aQ[O,59wO(aQ[O,59xO)`Q[O'#DbOOQS,58{,58{OOQP'#Ck'#CkOOQO'#DR'#DROOQP,59S,59SO)gQWO,59SO)lQWO,59SOOQP'#DV'#DVOOQP,59o,59oOOQO'#DX'#DXO)qQ`O,59rOOQS'#Cp'#CpO${QdO'#CqO)yQvO'#CsO+ZQtO,5:ROOQO'#Cx'#CxO)lQWO'#CwO+oQWO'#CyO+tQ[O'#DOOOQS'#Ep'#EpOOQO'#Dj'#DjO+|Q[O'#DqO,[QWO'#EtO&`Q[O'#DoO,jQWO'#DrOOQO'#Eu'#EuO)OQWO,5:`O,oQpO,5:bOOQS'#Dz'#DzO,wQWO,5:dO,|Q[O,5:dOOQO'#D}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ableName Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector ClassSelector ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee CallLiteral CallTag ParenthesizedContent ] [ LineNames LineName , PseudoClassName ArgList IdSelector # IdName AttributeSelector AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp } { Block Declaration PropertyName Important ; ImportStatement AtKeyword import KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports AtRule Styles",maxTerm:117,nodeProps:[["isolate",-2,3,24,""],["openedBy",17,"(",32,"[",50,"{"],["closedBy",18,")",33,"]",51,"}"]],propSources:[gr],skippedNodes:[0,3,87],repeatNodeCount:11,tokenData:"J^~R!^OX$}X^%u^p$}pq%uqr)Xrs.Rst/utu6duv$}vw7^wx7oxy9^yz9oz{9t{|:_|}?Q}!O?c!O!P@Q!P!Q@i!Q![Ab![!]B]!]!^CX!^!_$}!_!`Cj!`!aC{!a!b$}!b!cDw!c!}$}!}#OFa#O#P$}#P#QFr#Q#R6d#R#T$}#T#UGT#U#c$}#c#dHf#d#o$}#o#pH{#p#q6d#q#rI^#r#sIo#s#y$}#y#z%u#z$f$}$f$g%u$g#BY$}#BY#BZ%u#BZ$IS$}$IS$I_%u$I_$I|$}$I|$JO%u$JO$JT$}$JT$JU%u$JU$KV$}$KV$KW%u$KW&FU$}&FU&FV%u&FV;'S$};'S;=`JW<%lO$}`%QSOy%^z;'S%^;'S;=`%o<%lO%^`%cSo`Oy%^z;'S%^;'S;=`%o<%lO%^`%rP;=`<%l%^~%zh#Z~OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%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;=`%o<%lO%^fItU!RQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",tokenizers:[Pr,mr,$r,1,2,3,4,new lO("m~RRYZ[z{a~~g~aO#^~~dP!P!Qg~lO#_~~",28,105)],topRules:{StyleSheet:[0,4],Styles:[1,86]},specialized:[{term:100,get:e=>Sr[e]||-1},{term:58,get:e=>Zr[e]||-1},{term:101,get:e=>br[e]||-1}],tokenPrec:1219});let PO=null;function mO(){if(!PO&&typeof document=="object"&&document.body){let{style:e}=document.body,O=[],a=new Set;for(let t in e)t!="cssText"&&t!="cssFloat"&&typeof e[t]=="string"&&(/[A-Z]/.test(t)&&(t=t.replace(/[A-Z]/g,r=>"-"+r.toLowerCase())),a.has(t)||(O.push(t),a.add(t)));PO=O.sort().map(t=>({type:"property",label:t}))}return PO||[]}const ue=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(e=>({type:"class",label:e})),pe=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(e=>({type:"keyword",label:e})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(e=>({type:"constant",label:e}))),xr=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(e=>({type:"type",label:e})),Xr=["@charset","@color-profile","@container","@counter-style","@font-face","@font-feature-values","@font-palette-values","@import","@keyframes","@layer","@media","@namespace","@page","@position-try","@property","@scope","@starting-style","@supports","@view-transition"].map(e=>({type:"keyword",label:e})),w=/^(\w[\w-]*|-\w[\w-]*|)$/,yr=/^-(-[\w-]*)?$/;function wr(e,O){var a;if((e.name=="("||e.type.isError)&&(e=e.parent||e),e.name!="ArgList")return!1;let t=(a=e.parent)===null||a===void 0?void 0:a.firstChild;return(t==null?void 0:t.name)!="Callee"?!1:O.sliceString(t.from,t.to)=="var"}const de=new _e,Rr=["Declaration"];function Yr(e){for(let O=e;;){if(O.type.isTop)return O;if(!(O=O.parent))return e}}function Ot(e,O,a){if(O.to-O.from>4096){let t=de.get(O);if(t)return t;let r=[],s=new Set,i=O.cursor(vO.IncludeAnonymous);if(i.firstChild())do for(let o of Ot(e,i.node,a))s.has(o.label)||(s.add(o.label),r.push(o));while(i.nextSibling());return de.set(O,r),r}else{let t=[],r=new Set;return O.cursor().iterate(s=>{var i;if(a(s)&&s.matchContext(Rr)&&((i=s.node.nextSibling)===null||i===void 0?void 0:i.name)==":"){let o=e.sliceString(s.from,s.to);r.has(o)||(r.add(o),t.push({label:o,type:"variable"}))}}),t}}const Tr=e=>O=>{let{state:a,pos:t}=O,r=G(a).resolveInner(t,-1),s=r.type.isError&&r.from==r.to-1&&a.doc.sliceString(r.from,r.to)=="-";if(r.name=="PropertyName"||(s||r.name=="TagName")&&/^(Block|Styles)$/.test(r.resolve(r.to).name))return{from:r.from,options:mO(),validFor:w};if(r.name=="ValueName")return{from:r.from,options:pe,validFor:w};if(r.name=="PseudoClassName")return{from:r.from,options:ue,validFor:w};if(e(r)||(O.explicit||s)&&wr(r,a.doc))return{from:e(r)||s?r.from:t,options:Ot(a.doc,Yr(r),e),validFor:yr};if(r.name=="TagName"){for(let{parent:n}=r;n;n=n.parent)if(n.name=="Block")return{from:r.from,options:mO(),validFor:w};return{from:r.from,options:xr,validFor:w}}if(r.name=="AtKeyword")return{from:r.from,options:Xr,validFor:w};if(!O.explicit)return null;let i=r.resolve(t),o=i.childBefore(t);return o&&o.name==":"&&i.name=="PseudoClassSelector"?{from:t,options:ue,validFor:w}:o&&o.name==":"&&i.name=="Declaration"||i.name=="ArgList"?{from:t,options:pe,validFor:w}:i.name=="Block"||i.name=="Styles"?{from:t,options:mO(),validFor:w}:null},Wr=Tr(e=>e.name=="VariableName"),QO=J.define({name:"css",parser:kr.configure({props:[L.add({Declaration:v()}),K.add({"Block KeyframeList":UO})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function _r(){return new F(QO,QO.data.of({autocomplete:Wr}))}const qr=312,fe=1,vr=2,Ur=3,zr=4,Vr=313,jr=315,Gr=316,Cr=5,Ar=6,Er=0,wO=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],et=125,Nr=59,RO=47,Mr=42,Ir=43,Dr=45,Br=60,Jr=44,Lr=63,Kr=46,Fr=new je({start:!1,shift(e,O){return O==Cr||O==Ar||O==jr?e:O==Gr},strict:!1}),Hr=new k((e,O)=>{let{next:a}=e;(a==et||a==-1||O.context)&&e.acceptToken(Vr)},{contextual:!0,fallback:!0}),Oi=new k((e,O)=>{let{next:a}=e,t;wO.indexOf(a)>-1||a==RO&&((t=e.peek(1))==RO||t==Mr)||a!=et&&a!=Nr&&a!=-1&&!O.context&&e.acceptToken(qr)},{contextual:!0}),ei=new k((e,O)=>{let{next:a}=e;if(a==Ir||a==Dr){if(e.advance(),a==e.next){e.advance();let t=!O.context&&O.canShift(fe);e.acceptToken(t?fe:vr)}}else a==Lr&&e.peek(1)==Kr&&(e.advance(),e.advance(),(e.next<48||e.next>57)&&e.acceptToken(Ur))},{contextual:!0});function gO(e,O){return e>=65&&e<=90||e>=97&&e<=122||e==95||e>=192||!O&&e>=48&&e<=57}const ti=new k((e,O)=>{if(e.next!=Br||!O.dialectEnabled(Er)||(e.advance(),e.next==RO))return;let a=0;for(;wO.indexOf(e.next)>-1;)e.advance(),a++;if(gO(e.next,!0)){for(e.advance(),a++;gO(e.next,!1);)e.advance(),a++;for(;wO.indexOf(e.next)>-1;)e.advance(),a++;if(e.next==Jr)return;for(let t=0;;t++){if(t==7){if(!gO(e.next,!0))return;break}if(e.next!="extends".charCodeAt(t))break;e.advance(),a++}}e.acceptToken(zr,-a)}),ai=B({"get set async static":l.modifier,"for while do if else switch try catch finally return throw break continue default case":l.controlKeyword,"in of await yield void typeof delete instanceof":l.operatorKeyword,"let var const using function class extends":l.definitionKeyword,"import export from":l.moduleKeyword,"with debugger as new":l.keyword,TemplateString:l.special(l.string),super:l.atom,BooleanLiteral:l.bool,this:l.self,null:l.null,Star:l.modifier,VariableName:l.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":l.function(l.variableName),VariableDefinition:l.definition(l.variableName),Label:l.labelName,PropertyName:l.propertyName,PrivatePropertyName:l.special(l.propertyName),"CallExpression/MemberExpression/PropertyName":l.function(l.propertyName),"FunctionDeclaration/VariableDefinition":l.function(l.definition(l.variableName)),"ClassDeclaration/VariableDefinition":l.definition(l.className),PropertyDefinition:l.definition(l.propertyName),PrivatePropertyDefinition:l.definition(l.special(l.propertyName)),UpdateOp:l.updateOperator,"LineComment Hashbang":l.lineComment,BlockComment:l.blockComment,Number:l.number,String:l.string,Escape:l.escape,ArithOp:l.arithmeticOperator,LogicOp:l.logicOperator,BitOp:l.bitwiseOperator,CompareOp:l.compareOperator,RegExp:l.regexp,Equals:l.definitionOperator,Arrow:l.function(l.punctuation),": Spread":l.punctuation,"( )":l.paren,"[ ]":l.squareBracket,"{ }":l.brace,"InterpolationStart InterpolationEnd":l.special(l.brace),".":l.derefOperator,", ;":l.separator,"@":l.meta,TypeName:l.typeName,TypeDefinition:l.definition(l.typeName),"type enum interface implements namespace module declare":l.definitionKeyword,"abstract global Privacy readonly override":l.modifier,"is keyof unique infer":l.operatorKeyword,JSXAttributeValue:l.attributeValue,JSXText:l.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":l.angleBracket,"JSXIdentifier JSXNameSpacedName":l.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":l.attributeName,"JSXBuiltin/JSXIdentifier":l.standard(l.tagName)}),ri={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,extends:54,this:58,true:66,false:66,null:78,void:82,typeof:86,super:102,new:136,delete:148,yield:157,await:161,class:166,public:229,private:229,protected:229,readonly:231,instanceof:250,satisfies:253,in:254,const:256,import:290,keyof:345,unique:349,infer:355,is:391,abstract:411,implements:413,type:415,let:418,var:420,using:423,interface:429,enum:433,namespace:439,module:441,declare:445,global:449,for:468,of:477,while:480,with:484,do:488,if:492,else:494,switch:498,case:504,try:510,catch:514,finally:518,return:522,throw:526,break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l%c(d(e(f+W.R.S.T.V2|2}6mS*X$x*]Q/l*YQ1v,gQ2^,}Q4P/hQ6Z2UQ7[4QQ8k6[T<g'U+UV#aW%f*UU#`W%f*US(Q#W(YU(V#Z+T/eS-S'U+UT-v(P-{V'Z!e%g*VQ$lfR)t$qT)i$l)jR3w.|T*Z$x*]T*c${*UQ0l+`Q3P.^Q5i1cQ6q3TQ8V5lQ8v6pQ9j8UQ9|8uQ:b9lQ:j:OQ:r:cR:u:knqOXst!Z#d%k&o&q&r&t,k,p1|2PQ&i!VR,`&ftmOXst!U!V!Z#d%k&f&o&q&r&t,k,p1|2PR,g&lT%jm,gR1],PR,_&dQ&S|R+w&TR+m%}T&m!W&pT&n!W&pT2O,p2P",nodeNames:"âš  ArithOp ArithOp ?. JSXStartTag LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:376,context:Fr,nodeProps:[["isolate",-8,5,6,14,34,36,48,50,52,""],["group",-26,9,17,19,65,204,208,212,213,215,218,221,231,233,239,241,243,245,248,254,260,262,264,266,268,270,271,"Statement",-34,13,14,29,32,33,39,48,51,52,54,59,67,69,73,77,79,81,82,107,108,117,118,135,138,140,141,142,143,144,146,147,166,167,169,"Expression",-23,28,30,34,38,40,42,171,173,175,176,178,179,180,182,183,184,186,187,188,198,200,202,203,"Type",-3,85,100,106,"ClassItem"],["openedBy",23,"<",35,"InterpolationStart",53,"[",57,"{",70,"(",159,"JSXStartCloseTag"],["closedBy",24,">",37,"InterpolationEnd",47,"]",58,"}",71,")",164,"JSXEndTag"]],propSources:[ai],skippedNodes:[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196:1},specialized:[{term:322,get:e=>ri[e]||-1},{term:338,get:e=>ii[e]||-1},{term:92,get:e=>si[e]||-1}],tokenPrec:14749}),tt=[S("function ${name}(${params}) {\n	${}\n}",{label:"function",detail:"definition",type:"keyword"}),S("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n	${}\n}",{label:"for",detail:"loop",type:"keyword"}),S("for (let ${name} of ${collection}) {\n	${}\n}",{label:"for",detail:"of loop",type:"keyword"}),S("do {\n	${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),S("while (${}) {\n	${}\n}",{label:"while",detail:"loop",type:"keyword"}),S(`try {
+import{S as wt,i as Rt,s as Yt,f as Tt,j as Wt,a0 as OO,l as _t,H as BO,u as qt,N as vt,R as Ut,T as zt,P as Vt,I as jt,x as Gt}from"./index-zTV3nJbA.js";import{P as Ct,N as At,w as Et,D as Nt,x as qO,T as tO,I as vO,y as B,z as l,A as Mt,L as J,B as L,F as v,G as K,H as UO,J as F,v as G,K as _e,M as It,O as Dt,Q as qe,R as ve,U as Ue,E as q,V as ze,W as S,X as Bt,Y as Jt,b as C,e as Lt,f as Kt,g as Ft,i as Ht,j as Oa,k as ea,u as ta,l as aa,m as ra,r as ia,n as sa,o as oa,c as la,d as na,s as ca,h as Qa,a as ha,p as ua,q as JO,C as eO}from"./index-B5ReTu-C.js";var LO={};class sO{constructor(O,a,t,r,s,i,o,n,Q,u=0,c){this.p=O,this.stack=a,this.state=t,this.reducePos=r,this.pos=s,this.score=i,this.buffer=o,this.bufferBase=n,this.curContext=Q,this.lookAhead=u,this.parent=c}toString(){return`[${this.stack.filter((O,a)=>a%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(O,a,t=0){let r=O.parser.context;return new sO(O,[],a,t,t,0,[],0,r?new KO(r,r.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(O,a){this.stack.push(this.state,a,this.bufferBase+this.buffer.length),this.state=O}reduce(O){var a;let t=O>>19,r=O&65535,{parser:s}=this.p,i=this.reducePos<this.pos-25;i&&this.setLookAhead(this.pos);let o=s.dynamicPrecedence(r);if(o&&(this.score+=o),t==0){this.pushState(s.getGoto(this.state,r,!0),this.reducePos),r<s.minRepeatTerm&&this.storeNode(r,this.reducePos,this.reducePos,i?8:4,!0),this.reduceContext(r,this.reducePos);return}let n=this.stack.length-(t-1)*3-(O&262144?6:0),Q=n?this.stack[n-2]:this.p.ranges[0].from,u=this.reducePos-Q;u>=2e3&&!(!((a=this.p.parser.nodeSet.types[r])===null||a===void 0)&&a.isAnonymous)&&(Q==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=u):this.p.lastBigReductionSize<u&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=Q,this.p.lastBigReductionSize=u));let c=n?this.stack[n-1]:0,f=this.bufferBase+this.buffer.length-c;if(r<s.minRepeatTerm||O&131072){let h=s.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(r,Q,h,f+4,!0)}if(O&262144)this.state=this.stack[n];else{let h=this.stack[n-3];this.state=s.getGoto(h,r,!0)}for(;this.stack.length>n;)this.stack.pop();this.reduceContext(r,Q)}storeNode(O,a,t,r=4,s=!1){if(O==0&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let i=this,o=this.buffer.length;if(o==0&&i.parent&&(o=i.bufferBase-i.parent.bufferBase,i=i.parent),o>0&&i.buffer[o-4]==0&&i.buffer[o-1]>-1){if(a==t)return;if(i.buffer[o-2]>=a){i.buffer[o-2]=t;return}}}if(!s||this.pos==t)this.buffer.push(O,a,t,r);else{let i=this.buffer.length;if(i>0&&this.buffer[i-4]!=0){let o=!1;for(let n=i;n>0&&this.buffer[n-2]>t;n-=4)if(this.buffer[n-1]>=0){o=!0;break}if(o)for(;i>0&&this.buffer[i-2]>t;)this.buffer[i]=this.buffer[i-4],this.buffer[i+1]=this.buffer[i-3],this.buffer[i+2]=this.buffer[i-2],this.buffer[i+3]=this.buffer[i-1],i-=4,r>4&&(r-=4)}this.buffer[i]=O,this.buffer[i+1]=a,this.buffer[i+2]=t,this.buffer[i+3]=r}}shift(O,a,t,r){if(O&131072)this.pushState(O&65535,this.pos);else if(O&262144)this.pos=r,this.shiftContext(a,t),a<=this.p.parser.maxNode&&this.buffer.push(a,t,r,4);else{let s=O,{parser:i}=this.p;(r>this.pos||a<=i.maxNode)&&(this.pos=r,i.stateFlag(s,1)||(this.reducePos=r)),this.pushState(s,t),this.shiftContext(a,t),a<=i.maxNode&&this.buffer.push(a,t,r,4)}}apply(O,a,t,r){O&65536?this.reduce(O):this.shift(O,a,t,r)}useNode(O,a){let t=this.p.reused.length-1;(t<0||this.p.reused[t]!=O)&&(this.p.reused.push(O),t++);let r=this.pos;this.reducePos=this.pos=r+O.length,this.pushState(a,r),this.buffer.push(t,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,O,this,this.p.stream.reset(this.pos-O.length)))}split(){let O=this,a=O.buffer.length;for(;a>0&&O.buffer[a-2]>O.reducePos;)a-=4;let t=O.buffer.slice(a),r=O.bufferBase+a;for(;O&&r==O.bufferBase;)O=O.parent;return new sO(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,t,r,this.curContext,this.lookAhead,O)}recoverByDelete(O,a){let t=O<=this.p.parser.maxNode;t&&this.storeNode(O,this.pos,a,4),this.storeNode(0,this.pos,a,t?8:4),this.pos=this.reducePos=a,this.score-=190}canShift(O){for(let a=new pa(this);;){let t=this.p.parser.stateSlot(a.state,4)||this.p.parser.hasAction(a.state,O);if(t==0)return!1;if(!(t&65536))return!0;a.reduce(t)}}recoverByInsert(O){if(this.stack.length>=300)return[];let a=this.p.parser.nextStates(this.state);if(a.length>8||this.stack.length>=120){let r=[];for(let s=0,i;s<a.length;s+=2)(i=a[s+1])!=this.state&&this.p.parser.hasAction(i,O)&&r.push(a[s],i);if(this.stack.length<120)for(let s=0;r.length<8&&s<a.length;s+=2){let i=a[s+1];r.some((o,n)=>n&1&&o==i)||r.push(a[s],i)}a=r}let t=[];for(let r=0;r<a.length&&t.length<4;r+=2){let s=a[r+1];if(s==this.state)continue;let i=this.split();i.pushState(s,this.pos),i.storeNode(0,i.pos,i.pos,4,!0),i.shiftContext(a[r],this.pos),i.reducePos=this.pos,i.score-=200,t.push(i)}return t}forceReduce(){let{parser:O}=this.p,a=O.stateSlot(this.state,5);if(!(a&65536))return!1;if(!O.validAction(this.state,a)){let t=a>>19,r=a&65535,s=this.stack.length-t*3;if(s<0||O.getGoto(this.stack[s],r,!1)<0){let i=this.findForcedReduction();if(i==null)return!1;a=i}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(a),!0}findForcedReduction(){let{parser:O}=this.p,a=[],t=(r,s)=>{if(!a.includes(r))return a.push(r),O.allActions(r,i=>{if(!(i&393216))if(i&65536){let o=(i>>19)-s;if(o>1){let n=i&65535,Q=this.stack.length-o*3;if(Q>=0&&O.getGoto(this.stack[Q],n,!1)>=0)return o<<19|65536|n}}else{let o=t(i,s+1);if(o!=null)return o}})};return t(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:O}=this.p;return O.data[O.stateSlot(this.state,1)]==65535&&!O.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(O){if(this.state!=O.state||this.stack.length!=O.stack.length)return!1;for(let a=0;a<this.stack.length;a+=3)if(this.stack[a]!=O.stack[a])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(O){return this.p.parser.dialect.flags[O]}shiftContext(O,a){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,O,this,this.p.stream.reset(a)))}reduceContext(O,a){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,O,this,this.p.stream.reset(a)))}emitContext(){let O=this.buffer.length-1;(O<0||this.buffer[O]!=-3)&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let O=this.buffer.length-1;(O<0||this.buffer[O]!=-4)&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(O){if(O!=this.curContext.context){let a=new KO(this.curContext.tracker,O);a.hash!=this.curContext.hash&&this.emitContext(),this.curContext=a}}setLookAhead(O){O>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=O)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class KO{constructor(O,a){this.tracker=O,this.context=a,this.hash=O.strict?O.hash(a):0}}class pa{constructor(O){this.start=O,this.state=O.state,this.stack=O.stack,this.base=this.stack.length}reduce(O){let a=O&65535,t=O>>19;t==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(t-1)*3;let r=this.start.p.parser.getGoto(this.stack[this.base-3],a,!0);this.state=r}}class oO{constructor(O,a,t){this.stack=O,this.pos=a,this.index=t,this.buffer=O.buffer,this.index==0&&this.maybeNext()}static create(O,a=O.bufferBase+O.buffer.length){return new oO(O,a,a-O.bufferBase)}maybeNext(){let O=this.stack.parent;O!=null&&(this.index=this.stack.bufferBase-O.bufferBase,this.stack=O,this.buffer=O.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new oO(this.stack,this.pos,this.index)}}function N(e,O=Uint16Array){if(typeof e!="string")return e;let a=null;for(let t=0,r=0;t<e.length;){let s=0;for(;;){let i=e.charCodeAt(t++),o=!1;if(i==126){s=65535;break}i>=92&&i--,i>=34&&i--;let n=i-32;if(n>=46&&(n-=46,o=!0),s+=n,o)break;s*=46}a?a[r++]=s:a=new O(s)}return a}class aO{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const FO=new aO;class da{constructor(O,a){this.input=O,this.ranges=a,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=FO,this.rangeIndex=0,this.pos=this.chunkPos=a[0].from,this.range=a[0],this.end=a[a.length-1].to,this.readNext()}resolveOffset(O,a){let t=this.range,r=this.rangeIndex,s=this.pos+O;for(;s<t.from;){if(!r)return null;let i=this.ranges[--r];s-=t.from-i.to,t=i}for(;a<0?s>t.to:s>=t.to;){if(r==this.ranges.length-1)return null;let i=this.ranges[++r];s+=i.from-t.to,t=i}return s}clipPos(O){if(O>=this.range.from&&O<this.range.to)return O;for(let a of this.ranges)if(a.to>O)return Math.max(O,a.from);return this.end}peek(O){let a=this.chunkOff+O,t,r;if(a>=0&&a<this.chunk.length)t=this.pos+O,r=this.chunk.charCodeAt(a);else{let s=this.resolveOffset(O,1);if(s==null)return-1;if(t=s,t>=this.chunk2Pos&&t<this.chunk2Pos+this.chunk2.length)r=this.chunk2.charCodeAt(t-this.chunk2Pos);else{let i=this.rangeIndex,o=this.range;for(;o.to<=t;)o=this.ranges[++i];this.chunk2=this.input.chunk(this.chunk2Pos=t),t+this.chunk2.length>o.to&&(this.chunk2=this.chunk2.slice(0,o.to-t)),r=this.chunk2.charCodeAt(0)}}return t>=this.token.lookAhead&&(this.token.lookAhead=t+1),r}acceptToken(O,a=0){let t=a?this.resolveOffset(a,-1):this.pos;if(t==null||t<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=O,this.token.end=t}acceptTokenTo(O,a){this.token.value=O,this.token.end=a}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:O,chunkPos:a}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=O,this.chunk2Pos=a,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let O=this.input.chunk(this.pos),a=this.pos+O.length;this.chunk=a>this.range.to?O.slice(0,this.range.to-this.pos):O,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(O=1){for(this.chunkOff+=O;this.pos+O>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();O-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=O,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(O,a){if(a?(this.token=a,a.start=O,a.lookAhead=O+1,a.value=a.extended=-1):this.token=FO,this.pos!=O){if(this.pos=O,O==this.end)return this.setDone(),this;for(;O<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;O>=this.range.to;)this.range=this.ranges[++this.rangeIndex];O>=this.chunkPos&&O<this.chunkPos+this.chunk.length?this.chunkOff=O-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(O,a){if(O>=this.chunkPos&&a<=this.chunkPos+this.chunk.length)return this.chunk.slice(O-this.chunkPos,a-this.chunkPos);if(O>=this.chunk2Pos&&a<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(O-this.chunk2Pos,a-this.chunk2Pos);if(O>=this.range.from&&a<=this.range.to)return this.input.read(O,a);let t="";for(let r of this.ranges){if(r.from>=a)break;r.to>O&&(t+=this.input.read(Math.max(r.from,O),Math.min(r.to,a)))}return t}}class z{constructor(O,a){this.data=O,this.id=a}token(O,a){let{parser:t}=a.p;Ve(this.data,O,a,this.id,t.data,t.tokenPrecTable)}}z.prototype.contextual=z.prototype.fallback=z.prototype.extend=!1;class lO{constructor(O,a,t){this.precTable=a,this.elseToken=t,this.data=typeof O=="string"?N(O):O}token(O,a){let t=O.pos,r=0;for(;;){let s=O.next<0,i=O.resolveOffset(1,1);if(Ve(this.data,O,a,0,this.data,this.precTable),O.token.value>-1)break;if(this.elseToken==null)return;if(s||r++,i==null)break;O.reset(i,O.token)}r&&(O.reset(t,O.token),O.acceptToken(this.elseToken,r))}}lO.prototype.contextual=z.prototype.fallback=z.prototype.extend=!1;class k{constructor(O,a={}){this.token=O,this.contextual=!!a.contextual,this.fallback=!!a.fallback,this.extend=!!a.extend}}function Ve(e,O,a,t,r,s){let i=0,o=1<<t,{dialect:n}=a.p.parser;O:for(;o&e[i];){let Q=e[i+1];for(let h=i+3;h<Q;h+=2)if((e[h+1]&o)>0){let d=e[h];if(n.allows(d)&&(O.token.value==-1||O.token.value==d||fa(d,O.token.value,r,s))){O.acceptToken(d);break}}let u=O.next,c=0,f=e[i+2];if(O.next<0&&f>c&&e[Q+f*3-3]==65535){i=e[Q+f*3-1];continue O}for(;c<f;){let h=c+f>>1,d=Q+h+(h<<1),P=e[d],m=e[d+1]||65536;if(u<P)f=h;else if(u>=m)c=h+1;else{i=e[d+2],O.advance();continue O}}break}}function HO(e,O,a){for(let t=O,r;(r=e[t])!=65535;t++)if(r==a)return t-O;return-1}function fa(e,O,a,t){let r=HO(a,t,O);return r<0||HO(a,t,e)<r}const Z=typeof process<"u"&&LO&&/\bparse\b/.test(LO.LOG);let pO=null;function Oe(e,O,a){let t=e.cursor(vO.IncludeAnonymous);for(t.moveTo(O);;)if(!(a<0?t.childBefore(O):t.childAfter(O)))for(;;){if((a<0?t.to<O:t.from>O)&&!t.type.isError)return a<0?Math.max(0,Math.min(t.to-1,O-25)):Math.min(e.length,Math.max(t.from+1,O+25));if(a<0?t.prevSibling():t.nextSibling())break;if(!t.parent())return a<0?0:e.length}}class $a{constructor(O,a){this.fragments=O,this.nodeSet=a,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let O=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(O){for(this.safeFrom=O.openStart?Oe(O.tree,O.from+O.offset,1)-O.offset:O.from,this.safeTo=O.openEnd?Oe(O.tree,O.to+O.offset,-1)-O.offset:O.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(O.tree),this.start.push(-O.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(O){if(O<this.nextStart)return null;for(;this.fragment&&this.safeTo<=O;)this.nextFragment();if(!this.fragment)return null;for(;;){let a=this.trees.length-1;if(a<0)return this.nextFragment(),null;let t=this.trees[a],r=this.index[a];if(r==t.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let s=t.children[r],i=this.start[a]+t.positions[r];if(i>O)return this.nextStart=i,null;if(s instanceof tO){if(i==O){if(i<this.safeFrom)return null;let o=i+s.length;if(o<=this.safeTo){let n=s.prop(qO.lookAhead);if(!n||o+n<this.fragment.to)return s}}this.index[a]++,i+s.length>=Math.max(this.safeFrom,O)&&(this.trees.push(s),this.start.push(i),this.index.push(0))}else this.index[a]++,this.nextStart=i+s.length}}}class Pa{constructor(O,a){this.stream=a,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=O.tokenizers.map(t=>new aO)}getActions(O){let a=0,t=null,{parser:r}=O.p,{tokenizers:s}=r,i=r.stateSlot(O.state,3),o=O.curContext?O.curContext.hash:0,n=0;for(let Q=0;Q<s.length;Q++){if(!(1<<Q&i))continue;let u=s[Q],c=this.tokens[Q];if(!(t&&!u.fallback)&&((u.contextual||c.start!=O.pos||c.mask!=i||c.context!=o)&&(this.updateCachedToken(c,u,O),c.mask=i,c.context=o),c.lookAhead>c.end+25&&(n=Math.max(c.lookAhead,n)),c.value!=0)){let f=a;if(c.extended>-1&&(a=this.addActions(O,c.extended,c.end,a)),a=this.addActions(O,c.value,c.end,a),!u.extend&&(t=c,a>f))break}}for(;this.actions.length>a;)this.actions.pop();return n&&O.setLookAhead(n),!t&&O.pos==this.stream.end&&(t=new aO,t.value=O.p.parser.eofTerm,t.start=t.end=O.pos,a=this.addActions(O,t.value,t.end,a)),this.mainToken=t,this.actions}getMainToken(O){if(this.mainToken)return this.mainToken;let a=new aO,{pos:t,p:r}=O;return a.start=t,a.end=Math.min(t+1,r.stream.end),a.value=t==r.stream.end?r.parser.eofTerm:0,a}updateCachedToken(O,a,t){let r=this.stream.clipPos(t.pos);if(a.token(this.stream.reset(r,O),t),O.value>-1){let{parser:s}=t.p;for(let i=0;i<s.specialized.length;i++)if(s.specialized[i]==O.value){let o=s.specializers[i](this.stream.read(O.start,O.end),t);if(o>=0&&t.p.parser.dialect.allows(o>>1)){o&1?O.extended=o>>1:O.value=o>>1;break}}}else O.value=0,O.end=this.stream.clipPos(r+1)}putAction(O,a,t,r){for(let s=0;s<r;s+=3)if(this.actions[s]==O)return r;return this.actions[r++]=O,this.actions[r++]=a,this.actions[r++]=t,r}addActions(O,a,t,r){let{state:s}=O,{parser:i}=O.p,{data:o}=i;for(let n=0;n<2;n++)for(let Q=i.stateSlot(s,n?2:1);;Q+=3){if(o[Q]==65535)if(o[Q+1]==1)Q=R(o,Q+2);else{r==0&&o[Q+1]==2&&(r=this.putAction(R(o,Q+2),a,t,r));break}o[Q]==a&&(r=this.putAction(R(o,Q+1),a,t,r))}return r}}class ma{constructor(O,a,t,r){this.parser=O,this.input=a,this.ranges=r,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new da(a,r),this.tokens=new Pa(O,this.stream),this.topTerm=O.top[1];let{from:s}=r[0];this.stacks=[sO.start(this,O.top[0],s)],this.fragments=t.length&&this.stream.end-s>O.bufferLength*4?new $a(t,O.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let O=this.stacks,a=this.minStackPos,t=this.stacks=[],r,s;if(this.bigReductionCount>300&&O.length==1){let[i]=O;for(;i.forceReduce()&&i.stack.length&&i.stack[i.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let i=0;i<O.length;i++){let o=O[i];for(;;){if(this.tokens.mainToken=null,o.pos>a)t.push(o);else{if(this.advanceStack(o,t,O))continue;{r||(r=[],s=[]),r.push(o);let n=this.tokens.getMainToken(o);s.push(n.value,n.end)}}break}}if(!t.length){let i=r&&Sa(r);if(i)return Z&&console.log("Finish with "+this.stackID(i)),this.stackToTree(i);if(this.parser.strict)throw Z&&r&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+a);this.recovering||(this.recovering=5)}if(this.recovering&&r){let i=this.stoppedAt!=null&&r[0].pos>this.stoppedAt?r[0]:this.runRecovery(r,s,t);if(i)return Z&&console.log("Force-finish "+this.stackID(i)),this.stackToTree(i.forceAll())}if(this.recovering){let i=this.recovering==1?1:this.recovering*3;if(t.length>i)for(t.sort((o,n)=>n.score-o.score);t.length>i;)t.pop();t.some(o=>o.reducePos>a)&&this.recovering--}else if(t.length>1){O:for(let i=0;i<t.length-1;i++){let o=t[i];for(let n=i+1;n<t.length;n++){let Q=t[n];if(o.sameState(Q)||o.buffer.length>500&&Q.buffer.length>500)if((o.score-Q.score||o.buffer.length-Q.buffer.length)>0)t.splice(n--,1);else{t.splice(i--,1);continue O}}}t.length>12&&t.splice(12,t.length-12)}this.minStackPos=t[0].pos;for(let i=1;i<t.length;i++)t[i].pos<this.minStackPos&&(this.minStackPos=t[i].pos);return null}stopAt(O){if(this.stoppedAt!=null&&this.stoppedAt<O)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=O}advanceStack(O,a,t){let r=O.pos,{parser:s}=this,i=Z?this.stackID(O)+" -> ":"";if(this.stoppedAt!=null&&r>this.stoppedAt)return O.forceReduce()?O:null;if(this.fragments){let Q=O.curContext&&O.curContext.tracker.strict,u=Q?O.curContext.hash:0;for(let c=this.fragments.nodeAt(r);c;){let f=this.parser.nodeSet.types[c.type.id]==c.type?s.getGoto(O.state,c.type.id):-1;if(f>-1&&c.length&&(!Q||(c.prop(qO.contextHash)||0)==u))return O.useNode(c,f),Z&&console.log(i+this.stackID(O)+` (via reuse of ${s.getName(c.type.id)})`),!0;if(!(c instanceof tO)||c.children.length==0||c.positions[0]>0)break;let h=c.children[0];if(h instanceof tO&&c.positions[0]==0)c=h;else break}}let o=s.stateSlot(O.state,4);if(o>0)return O.reduce(o),Z&&console.log(i+this.stackID(O)+` (via always-reduce ${s.getName(o&65535)})`),!0;if(O.stack.length>=8400)for(;O.stack.length>6e3&&O.forceReduce(););let n=this.tokens.getActions(O);for(let Q=0;Q<n.length;){let u=n[Q++],c=n[Q++],f=n[Q++],h=Q==n.length||!t,d=h?O:O.split(),P=this.tokens.mainToken;if(d.apply(u,c,P?P.start:d.pos,f),Z&&console.log(i+this.stackID(d)+` (via ${u&65536?`reduce of ${s.getName(u&65535)}`:"shift"} for ${s.getName(c)} @ ${r}${d==O?"":", split"})`),h)return!0;d.pos>r?a.push(d):t.push(d)}return!1}advanceFully(O,a){let t=O.pos;for(;;){if(!this.advanceStack(O,null,null))return!1;if(O.pos>t)return ee(O,a),!0}}runRecovery(O,a,t){let r=null,s=!1;for(let i=0;i<O.length;i++){let o=O[i],n=a[i<<1],Q=a[(i<<1)+1],u=Z?this.stackID(o)+" -> ":"";if(o.deadEnd&&(s||(s=!0,o.restart(),Z&&console.log(u+this.stackID(o)+" (restarted)"),this.advanceFully(o,t))))continue;let c=o.split(),f=u;for(let h=0;c.forceReduce()&&h<10&&(Z&&console.log(f+this.stackID(c)+" (via force-reduce)"),!this.advanceFully(c,t));h++)Z&&(f=this.stackID(c)+" -> ");for(let h of o.recoverByInsert(n))Z&&console.log(u+this.stackID(h)+" (via recover-insert)"),this.advanceFully(h,t);this.stream.end>o.pos?(Q==o.pos&&(Q++,n=0),o.recoverByDelete(n,Q),Z&&console.log(u+this.stackID(o)+` (via recover-delete ${this.parser.getName(n)})`),ee(o,t)):(!r||r.score<o.score)&&(r=o)}return r}stackToTree(O){return O.close(),tO.build({buffer:oO.create(O),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:O.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(O){let a=(pO||(pO=new WeakMap)).get(O);return a||pO.set(O,a=String.fromCodePoint(this.nextStackID++)),a+O}}function ee(e,O){for(let a=0;a<O.length;a++){let t=O[a];if(t.pos==e.pos&&t.sameState(e)){O[a].score<e.score&&(O[a]=e);return}}O.push(e)}class ga{constructor(O,a,t){this.source=O,this.flags=a,this.disabled=t}allows(O){return!this.disabled||this.disabled[O]==0}}const dO=e=>e;class je{constructor(O){this.start=O.start,this.shift=O.shift||dO,this.reduce=O.reduce||dO,this.reuse=O.reuse||dO,this.hash=O.hash||(()=>0),this.strict=O.strict!==!1}}class T extends Ct{constructor(O){if(super(),this.wrappers=[],O.version!=14)throw new RangeError(`Parser version (${O.version}) doesn't match runtime version (14)`);let a=O.nodeNames.split(" ");this.minRepeatTerm=a.length;for(let o=0;o<O.repeatNodeCount;o++)a.push("");let t=Object.keys(O.topRules).map(o=>O.topRules[o][1]),r=[];for(let o=0;o<a.length;o++)r.push([]);function s(o,n,Q){r[o].push([n,n.deserialize(String(Q))])}if(O.nodeProps)for(let o of O.nodeProps){let n=o[0];typeof n=="string"&&(n=qO[n]);for(let Q=1;Q<o.length;){let u=o[Q++];if(u>=0)s(u,n,o[Q++]);else{let c=o[Q+-u];for(let f=-u;f>0;f--)s(o[Q++],n,c);Q++}}}this.nodeSet=new At(a.map((o,n)=>Et.define({name:n>=this.minRepeatTerm?void 0:o,id:n,props:r[n],top:t.indexOf(n)>-1,error:n==0,skipped:O.skippedNodes&&O.skippedNodes.indexOf(n)>-1}))),O.propSources&&(this.nodeSet=this.nodeSet.extend(...O.propSources)),this.strict=!1,this.bufferLength=Nt;let i=N(O.tokenData);this.context=O.context,this.specializerSpecs=O.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let o=0;o<this.specializerSpecs.length;o++)this.specialized[o]=this.specializerSpecs[o].term;this.specializers=this.specializerSpecs.map(te),this.states=N(O.states,Uint32Array),this.data=N(O.stateData),this.goto=N(O.goto),this.maxTerm=O.maxTerm,this.tokenizers=O.tokenizers.map(o=>typeof o=="number"?new z(i,o):o),this.topRules=O.topRules,this.dialects=O.dialects||{},this.dynamicPrecedences=O.dynamicPrecedences||null,this.tokenPrecTable=O.tokenPrec,this.termNames=O.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(O,a,t){let r=new ma(this,O,a,t);for(let s of this.wrappers)r=s(r,O,a,t);return r}getGoto(O,a,t=!1){let r=this.goto;if(a>=r[0])return-1;for(let s=r[a+1];;){let i=r[s++],o=i&1,n=r[s++];if(o&&t)return n;for(let Q=s+(i>>1);s<Q;s++)if(r[s]==O)return n;if(o)return-1}}hasAction(O,a){let t=this.data;for(let r=0;r<2;r++)for(let s=this.stateSlot(O,r?2:1),i;;s+=3){if((i=t[s])==65535)if(t[s+1]==1)i=t[s=R(t,s+2)];else{if(t[s+1]==2)return R(t,s+2);break}if(i==a||i==0)return R(t,s+1)}return 0}stateSlot(O,a){return this.states[O*6+a]}stateFlag(O,a){return(this.stateSlot(O,0)&a)>0}validAction(O,a){return!!this.allActions(O,t=>t==a?!0:null)}allActions(O,a){let t=this.stateSlot(O,4),r=t?a(t):void 0;for(let s=this.stateSlot(O,1);r==null;s+=3){if(this.data[s]==65535)if(this.data[s+1]==1)s=R(this.data,s+2);else break;r=a(R(this.data,s+1))}return r}nextStates(O){let a=[];for(let t=this.stateSlot(O,1);;t+=3){if(this.data[t]==65535)if(this.data[t+1]==1)t=R(this.data,t+2);else break;if(!(this.data[t+2]&1)){let r=this.data[t+1];a.some((s,i)=>i&1&&s==r)||a.push(this.data[t],r)}}return a}configure(O){let a=Object.assign(Object.create(T.prototype),this);if(O.props&&(a.nodeSet=this.nodeSet.extend(...O.props)),O.top){let t=this.topRules[O.top];if(!t)throw new RangeError(`Invalid top rule name ${O.top}`);a.top=t}return O.tokenizers&&(a.tokenizers=this.tokenizers.map(t=>{let r=O.tokenizers.find(s=>s.from==t);return r?r.to:t})),O.specializers&&(a.specializers=this.specializers.slice(),a.specializerSpecs=this.specializerSpecs.map((t,r)=>{let s=O.specializers.find(o=>o.from==t.external);if(!s)return t;let i=Object.assign(Object.assign({},t),{external:s.to});return a.specializers[r]=te(i),i})),O.contextTracker&&(a.context=O.contextTracker),O.dialect&&(a.dialect=this.parseDialect(O.dialect)),O.strict!=null&&(a.strict=O.strict),O.wrap&&(a.wrappers=a.wrappers.concat(O.wrap)),O.bufferLength!=null&&(a.bufferLength=O.bufferLength),a}hasWrappers(){return this.wrappers.length>0}getName(O){return this.termNames?this.termNames[O]:String(O<=this.maxNode&&this.nodeSet.types[O].name||O)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(O){let a=this.dynamicPrecedences;return a==null?0:a[O]||0}parseDialect(O){let a=Object.keys(this.dialects),t=a.map(()=>!1);if(O)for(let s of O.split(" ")){let i=a.indexOf(s);i>=0&&(t[i]=!0)}let r=null;for(let s=0;s<a.length;s++)if(!t[s])for(let i=this.dialects[a[s]],o;(o=this.data[i++])!=65535;)(r||(r=new Uint8Array(this.maxTerm+1)))[o]=1;return new ga(O,t,r)}static deserialize(O){return new T(O)}}function R(e,O){return e[O]|e[O+1]<<16}function Sa(e){let O=null;for(let a of e){let t=a.p.stoppedAt;(a.pos==a.p.stream.end||t!=null&&a.pos>t)&&a.p.parser.stateFlag(a.state,2)&&(!O||O.score<a.score)&&(O=a)}return O}function te(e){if(e.external){let O=e.extend?1:0;return(a,t)=>e.external(a,t)<<1|O}return e.get}const Za=54,ba=1,ka=55,xa=2,Xa=56,ya=3,ae=4,wa=5,nO=6,Ge=7,Ce=8,Ae=9,Ee=10,Ra=11,Ya=12,Ta=13,fO=57,Wa=14,re=58,Ne=20,_a=22,Me=23,qa=24,XO=26,Ie=27,va=28,Ua=31,za=34,Va=36,ja=37,Ga=0,Ca=1,Aa={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},Ea={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},ie={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function Na(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}function De(e){return e==9||e==10||e==13||e==32}let se=null,oe=null,le=0;function yO(e,O){let a=e.pos+O;if(le==a&&oe==e)return se;let t=e.peek(O);for(;De(t);)t=e.peek(++O);let r="";for(;Na(t);)r+=String.fromCharCode(t),t=e.peek(++O);return oe=e,le=a,se=r?r.toLowerCase():t==Ma||t==Ia?void 0:null}const Be=60,cO=62,zO=47,Ma=63,Ia=33,Da=45;function ne(e,O){this.name=e,this.parent=O}const Ba=[nO,Ee,Ge,Ce,Ae],Ja=new je({start:null,shift(e,O,a,t){return Ba.indexOf(O)>-1?new ne(yO(t,1)||"",e):e},reduce(e,O){return O==Ne&&e?e.parent:e},reuse(e,O,a,t){let r=O.type.id;return r==nO||r==Va?new ne(yO(t,1)||"",e):e},strict:!1}),La=new k((e,O)=>{if(e.next!=Be){e.next<0&&O.context&&e.acceptToken(fO);return}e.advance();let a=e.next==zO;a&&e.advance();let t=yO(e,0);if(t===void 0)return;if(!t)return e.acceptToken(a?Wa:nO);let r=O.context?O.context.name:null;if(a){if(t==r)return e.acceptToken(Ra);if(r&&Ea[r])return e.acceptToken(fO,-2);if(O.dialectEnabled(Ga))return e.acceptToken(Ya);for(let s=O.context;s;s=s.parent)if(s.name==t)return;e.acceptToken(Ta)}else{if(t=="script")return e.acceptToken(Ge);if(t=="style")return e.acceptToken(Ce);if(t=="textarea")return e.acceptToken(Ae);if(Aa.hasOwnProperty(t))return e.acceptToken(Ee);r&&ie[r]&&ie[r][t]?e.acceptToken(fO,-1):e.acceptToken(nO)}},{contextual:!0}),Ka=new k(e=>{for(let O=0,a=0;;a++){if(e.next<0){a&&e.acceptToken(re);break}if(e.next==Da)O++;else if(e.next==cO&&O>=2){a>=3&&e.acceptToken(re,-2);break}else O=0;e.advance()}});function Fa(e){for(;e;e=e.parent)if(e.name=="svg"||e.name=="math")return!0;return!1}const Ha=new k((e,O)=>{if(e.next==zO&&e.peek(1)==cO){let a=O.dialectEnabled(Ca)||Fa(O.context);e.acceptToken(a?wa:ae,2)}else e.next==cO&&e.acceptToken(ae,1)});function VO(e,O,a){let t=2+e.length;return new k(r=>{for(let s=0,i=0,o=0;;o++){if(r.next<0){o&&r.acceptToken(O);break}if(s==0&&r.next==Be||s==1&&r.next==zO||s>=2&&s<t&&r.next==e.charCodeAt(s-2))s++,i++;else if((s==2||s==t)&&De(r.next))i++;else if(s==t&&r.next==cO){o>i?r.acceptToken(O,-i):r.acceptToken(a,-(i-2));break}else if((r.next==10||r.next==13)&&o){r.acceptToken(O,1);break}else s=i=0;r.advance()}})}const Or=VO("script",Za,ba),er=VO("style",ka,xa),tr=VO("textarea",Xa,ya),ar=B({"Text RawText":l.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":l.angleBracket,TagName:l.tagName,"MismatchedCloseTag/TagName":[l.tagName,l.invalid],AttributeName:l.attributeName,"AttributeValue UnquotedAttributeValue":l.attributeValue,Is:l.definitionOperator,"EntityReference CharacterReference":l.character,Comment:l.blockComment,ProcessingInst:l.processingInstruction,DoctypeDecl:l.documentMeta}),rr=T.deserialize({version:14,states:",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%ZQ&rO,59fO%fQ&rO,59iO%qQ&rO,59lO%|Q&rO,59nOOOa'#D^'#D^O&XOaO'#CxO&dOaO,59[OOOb'#D_'#D_O&lObO'#C{O&wObO,59[OOOd'#D`'#D`O'POdO'#DOO'[OdO,59[OOO`'#Da'#DaO'dO!rO,59[O'kQ#tO'#DROOO`,59[,59[OOOp'#Db'#DbO'pO$fO,59oOOO`,59o,59oO'xQ#|O,59qO'}Q#|O,59rOOO`-E7W-E7WO(SQ&rO'#CsOOQW'#DZ'#DZO(bQ&rO1G.wOOOa1G.w1G.wOOO`1G/Y1G/YO(mQ&rO1G/QOOOb1G/Q1G/QO(xQ&rO1G/TOOOd1G/T1G/TO)TQ&rO1G/WOOO`1G/W1G/WO)`Q&rO1G/YOOOa-E7[-E7[O)kQ#tO'#CyOOO`1G.v1G.vOOOb-E7]-E7]O)pQ#tO'#C|OOOd-E7^-E7^O)uQ#tO'#DPOOO`-E7_-E7_O)zQ#|O,59mOOOp-E7`-E7`OOO`1G/Z1G/ZOOO`1G/]1G/]OOO`1G/^1G/^O*PQ,UO,59_OOQW-E7X-E7XOOOa7+$c7+$cOOO`7+$t7+$tOOOb7+$l7+$lOOOd7+$o7+$oOOO`7+$r7+$rO*[Q#|O,59e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Q!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"âš  StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:Ja,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,21,30,33,36,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,29,32,35,37,"OpenTag"],["group",-9,14,17,18,19,20,39,40,41,42,"Entity",16,"Entity TextContent",-3,28,31,34,"TextContent Entity"],["isolate",-11,21,29,30,32,33,35,36,37,38,41,42,"ltr",-3,26,27,39,""]],propSources:[ar],skippedNodes:[0],repeatNodeCount:9,tokenData:"!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!Z$|c`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qp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ects:{noMatch:0,selfClosing:509},tokenPrec:511});function Je(e,O){let a=Object.create(null);for(let t of e.getChildren(Me)){let r=t.getChild(qa),s=t.getChild(XO)||t.getChild(Ie);r&&(a[O.read(r.from,r.to)]=s?s.type.id==XO?O.read(s.from+1,s.to-1):O.read(s.from,s.to):"")}return a}function ce(e,O){let a=e.getChild(_a);return a?O.read(a.from,a.to):" "}function $O(e,O,a){let t;for(let r of a)if(!r.attrs||r.attrs(t||(t=Je(e.node.parent.firstChild,O))))return{parser:r.parser};return null}function Le(e=[],O=[]){let a=[],t=[],r=[],s=[];for(let o of e)(o.tag=="script"?a:o.tag=="style"?t:o.tag=="textarea"?r:s).push(o);let i=O.length?Object.create(null):null;for(let o of O)(i[o.name]||(i[o.name]=[])).push(o);return Mt((o,n)=>{let Q=o.type.id;if(Q==va)return $O(o,n,a);if(Q==Ua)return $O(o,n,t);if(Q==za)return $O(o,n,r);if(Q==Ne&&s.length){let u=o.node,c=u.firstChild,f=c&&ce(c,n),h;if(f){for(let d of s)if(d.tag==f&&(!d.attrs||d.attrs(h||(h=Je(c,n))))){let P=u.lastChild,m=P.type.id==ja?P.from:u.to;if(m>c.to)return{parser:d.parser,overlay:[{from:c.to,to:m}]}}}}if(i&&Q==Me){let u=o.node,c;if(c=u.firstChild){let f=i[n.read(c.from,c.to)];if(f)for(let h of f){if(h.tagName&&h.tagName!=ce(u.parent,n))continue;let d=u.lastChild;if(d.type.id==XO){let P=d.from+1,m=d.lastChild,x=d.to-(m&&m.isError?0:1);if(x>P)return{parser:h.parser,overlay:[{from:P,to:x}]}}else if(d.type.id==Ie)return{parser:h.parser,overlay:[{from:d.from,to:d.to}]}}}}return null})}const ir=99,Qe=1,sr=100,or=101,he=2,Ke=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],lr=58,nr=40,Fe=95,cr=91,rO=45,Qr=46,hr=35,ur=37,pr=38,dr=92,fr=10;function M(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function He(e){return e>=48&&e<=57}const $r=new k((e,O)=>{for(let a=!1,t=0,r=0;;r++){let{next:s}=e;if(M(s)||s==rO||s==Fe||a&&He(s))!a&&(s!=rO||r>0)&&(a=!0),t===r&&s==rO&&t++,e.advance();else if(s==dr&&e.peek(1)!=fr)e.advance(),e.next>-1&&e.advance(),a=!0;else{a&&e.acceptToken(s==nr?sr:t==2&&O.canShift(he)?he:or);break}}}),Pr=new k(e=>{if(Ke.includes(e.peek(-1))){let{next:O}=e;(M(O)||O==Fe||O==hr||O==Qr||O==cr||O==lr&&M(e.peek(1))||O==rO||O==pr)&&e.acceptToken(ir)}}),mr=new k(e=>{if(!Ke.includes(e.peek(-1))){let{next:O}=e;if(O==ur&&(e.advance(),e.acceptToken(Qe)),M(O)){do e.advance();while(M(e.next)||He(e.next));e.acceptToken(Qe)}}}),gr=B({"AtKeyword import charset namespace keyframes media supports":l.definitionKeyword,"from to selector":l.keyword,NamespaceName:l.namespace,KeyframeName:l.labelName,KeyframeRangeName:l.operatorKeyword,TagName:l.tagName,ClassName:l.className,PseudoClassName:l.constant(l.className),IdName:l.labelName,"FeatureName PropertyName":l.propertyName,AttributeName:l.attributeName,NumberLiteral:l.number,KeywordQuery:l.keyword,UnaryQueryOp:l.operatorKeyword,"CallTag ValueName":l.atom,VariableName:l.variableName,Callee:l.operatorKeyword,Unit:l.unit,"UniversalSelector NestingSelector":l.definitionOperator,MatchOp:l.compareOperator,"ChildOp SiblingOp, LogicOp":l.logicOperator,BinOp:l.arithmeticOperator,Important:l.modifier,Comment:l.blockComment,ColorLiteral:l.color,"ParenthesizedContent StringLiteral":l.string,":":l.punctuation,"PseudoOp #":l.derefOperator,"; ,":l.separator,"( )":l.paren,"[ ]":l.squareBracket,"{ }":l.brace}),Sr={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:138},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P(o(r(u(|#nP#nP)R)X)h)v)|*S*^*d*n*t*zPPPPPPPPPP+Q+ZP+v+yP,o,r,x-RRkQ_bOPdhw!n#tkYOPdhotuvw!n#R#h#tkSOPdhotuvw!n#R#h#tQmTR!tnQ{VR!xqQ!x}Q#Z!XR#y!zq![Z]!T!m#S#U#X#q#{$Q$[$k$l$s$x%Up![Z]!T!m#S#U#X#q#{$Q$[$k$l$s$x%UU$f#m$h${R$z$eq!XZ]!T!m#S#U#X#q#{$Q$[$k$l$s$x%Up![Z]!T!m#S#U#X#q#{$Q$[$k$l$s$x%UQ!f^R#l!gT#^!Z#_Q|VR!yqQ!x|R#y!yQ!PWR!{rQ!RXR!|sQxUQ!wpQ#i!cQ#o!jQ#p!kQ$}$gR%Z$|SgPwQ!phQ#s!nR$n#tZfPhw!n#ta!b[`a!V!^!`#d#eR#b!^R!g^R!i_R#n!iS$g#m$hR%X${V$e#m$h${Q!rjR#w!rQdOShPwU!ldh#tR#t!nQ$Q#SU$r$Q$x%UQ$x$[R%U$sQ#_!ZR$Y#_Q$t$QR%V$tQpUS!vp$pR$p#}Q$l#qR%R$lQ!ogS#u!o#vR#v!pQ#f!_R$`#fQ$h#mR%O$hQ$|$gR%Y$|_cOPdhw!n#t^UOPdhw!n#tQ!uoQ!}tQ#OuQ#PvQ#}#RR$a#hR$R#SQ!VZQ!d]Q#V!TQ#q!m[$P#S$Q$[$s$x%UQ$S#UQ$U#XS$j#q$lQ$o#{R%Q$kR$O#RQiPR#QwQ!c[Q!kaR#Y!VU!_[a!VQ!j`Q#c!^Q#g!`Q$^#dR$_#e",nodeNames:"âš  Unit VariableName Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector ClassSelector ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee CallLiteral CallTag ParenthesizedContent ] [ LineNames LineName , PseudoClassName ArgList IdSelector # IdName AttributeSelector AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp } { Block Declaration PropertyName Important ; ImportStatement AtKeyword import KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports AtRule Styles",maxTerm:117,nodeProps:[["isolate",-2,3,24,""],["openedBy",17,"(",32,"[",50,"{"],["closedBy",18,")",33,"]",51,"}"]],propSources:[gr],skippedNodes:[0,3,87],repeatNodeCount:11,tokenData:"J^~R!^OX$}X^%u^p$}pq%uqr)Xrs.Rst/utu6duv$}vw7^wx7oxy9^yz9oz{9t{|:_|}?Q}!O?c!O!P@Q!P!Q@i!Q![Ab![!]B]!]!^CX!^!_$}!_!`Cj!`!aC{!a!b$}!b!cDw!c!}$}!}#OFa#O#P$}#P#QFr#Q#R6d#R#T$}#T#UGT#U#c$}#c#dHf#d#o$}#o#pH{#p#q6d#q#rI^#r#sIo#s#y$}#y#z%u#z$f$}$f$g%u$g#BY$}#BY#BZ%u#BZ$IS$}$IS$I_%u$I_$I|$}$I|$JO%u$JO$JT$}$JT$JU%u$JU$KV$}$KV$KW%u$KW&FU$}&FU&FV%u&FV;'S$};'S;=`JW<%lO$}`%QSOy%^z;'S%^;'S;=`%o<%lO%^`%cSo`Oy%^z;'S%^;'S;=`%o<%lO%^`%rP;=`<%l%^~%zh#Z~OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^~'mh#Z~o`OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS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{term:58,get:e=>Zr[e]||-1},{term:101,get:e=>br[e]||-1}],tokenPrec:1219});let PO=null;function mO(){if(!PO&&typeof document=="object"&&document.body){let{style:e}=document.body,O=[],a=new Set;for(let t in e)t!="cssText"&&t!="cssFloat"&&typeof e[t]=="string"&&(/[A-Z]/.test(t)&&(t=t.replace(/[A-Z]/g,r=>"-"+r.toLowerCase())),a.has(t)||(O.push(t),a.add(t)));PO=O.sort().map(t=>({type:"property",label:t}))}return PO||[]}const ue=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(e=>({type:"class",label:e})),pe=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(e=>({type:"keyword",label:e})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(e=>({type:"constant",label:e}))),xr=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(e=>({type:"type",label:e})),Xr=["@charset","@color-profile","@container","@counter-style","@font-face","@font-feature-values","@font-palette-values","@import","@keyframes","@layer","@media","@namespace","@page","@position-try","@property","@scope","@starting-style","@supports","@view-transition"].map(e=>({type:"keyword",label:e})),w=/^(\w[\w-]*|-\w[\w-]*|)$/,yr=/^-(-[\w-]*)?$/;function wr(e,O){var a;if((e.name=="("||e.type.isError)&&(e=e.parent||e),e.name!="ArgList")return!1;let t=(a=e.parent)===null||a===void 0?void 0:a.firstChild;return(t==null?void 0:t.name)!="Callee"?!1:O.sliceString(t.from,t.to)=="var"}const de=new _e,Rr=["Declaration"];function Yr(e){for(let O=e;;){if(O.type.isTop)return O;if(!(O=O.parent))return e}}function Ot(e,O,a){if(O.to-O.from>4096){let t=de.get(O);if(t)return t;let r=[],s=new Set,i=O.cursor(vO.IncludeAnonymous);if(i.firstChild())do for(let o of Ot(e,i.node,a))s.has(o.label)||(s.add(o.label),r.push(o));while(i.nextSibling());return de.set(O,r),r}else{let t=[],r=new Set;return O.cursor().iterate(s=>{var i;if(a(s)&&s.matchContext(Rr)&&((i=s.node.nextSibling)===null||i===void 0?void 0:i.name)==":"){let o=e.sliceString(s.from,s.to);r.has(o)||(r.add(o),t.push({label:o,type:"variable"}))}}),t}}const Tr=e=>O=>{let{state:a,pos:t}=O,r=G(a).resolveInner(t,-1),s=r.type.isError&&r.from==r.to-1&&a.doc.sliceString(r.from,r.to)=="-";if(r.name=="PropertyName"||(s||r.name=="TagName")&&/^(Block|Styles)$/.test(r.resolve(r.to).name))return{from:r.from,options:mO(),validFor:w};if(r.name=="ValueName")return{from:r.from,options:pe,validFor:w};if(r.name=="PseudoClassName")return{from:r.from,options:ue,validFor:w};if(e(r)||(O.explicit||s)&&wr(r,a.doc))return{from:e(r)||s?r.from:t,options:Ot(a.doc,Yr(r),e),validFor:yr};if(r.name=="TagName"){for(let{parent:n}=r;n;n=n.parent)if(n.name=="Block")return{from:r.from,options:mO(),validFor:w};return{from:r.from,options:xr,validFor:w}}if(r.name=="AtKeyword")return{from:r.from,options:Xr,validFor:w};if(!O.explicit)return null;let i=r.resolve(t),o=i.childBefore(t);return o&&o.name==":"&&i.name=="PseudoClassSelector"?{from:t,options:ue,validFor:w}:o&&o.name==":"&&i.name=="Declaration"||i.name=="ArgList"?{from:t,options:pe,validFor:w}:i.name=="Block"||i.name=="Styles"?{from:t,options:mO(),validFor:w}:null},Wr=Tr(e=>e.name=="VariableName"),QO=J.define({name:"css",parser:kr.configure({props:[L.add({Declaration:v()}),K.add({"Block KeyframeList":UO})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function _r(){return new F(QO,QO.data.of({autocomplete:Wr}))}const qr=312,fe=1,vr=2,Ur=3,zr=4,Vr=313,jr=315,Gr=316,Cr=5,Ar=6,Er=0,wO=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],et=125,Nr=59,RO=47,Mr=42,Ir=43,Dr=45,Br=60,Jr=44,Lr=63,Kr=46,Fr=new je({start:!1,shift(e,O){return O==Cr||O==Ar||O==jr?e:O==Gr},strict:!1}),Hr=new k((e,O)=>{let{next:a}=e;(a==et||a==-1||O.context)&&e.acceptToken(Vr)},{contextual:!0,fallback:!0}),Oi=new k((e,O)=>{let{next:a}=e,t;wO.indexOf(a)>-1||a==RO&&((t=e.peek(1))==RO||t==Mr)||a!=et&&a!=Nr&&a!=-1&&!O.context&&e.acceptToken(qr)},{contextual:!0}),ei=new k((e,O)=>{let{next:a}=e;if(a==Ir||a==Dr){if(e.advance(),a==e.next){e.advance();let t=!O.context&&O.canShift(fe);e.acceptToken(t?fe:vr)}}else a==Lr&&e.peek(1)==Kr&&(e.advance(),e.advance(),(e.next<48||e.next>57)&&e.acceptToken(Ur))},{contextual:!0});function gO(e,O){return e>=65&&e<=90||e>=97&&e<=122||e==95||e>=192||!O&&e>=48&&e<=57}const ti=new k((e,O)=>{if(e.next!=Br||!O.dialectEnabled(Er)||(e.advance(),e.next==RO))return;let a=0;for(;wO.indexOf(e.next)>-1;)e.advance(),a++;if(gO(e.next,!0)){for(e.advance(),a++;gO(e.next,!1);)e.advance(),a++;for(;wO.indexOf(e.next)>-1;)e.advance(),a++;if(e.next==Jr)return;for(let t=0;;t++){if(t==7){if(!gO(e.next,!0))return;break}if(e.next!="extends".charCodeAt(t))break;e.advance(),a++}}e.acceptToken(zr,-a)}),ai=B({"get set async static":l.modifier,"for while do if else switch try catch finally return throw break continue default case":l.controlKeyword,"in of await yield void typeof delete instanceof":l.operatorKeyword,"let var const using function class extends":l.definitionKeyword,"import export from":l.moduleKeyword,"with debugger as new":l.keyword,TemplateString:l.special(l.string),super:l.atom,BooleanLiteral:l.bool,this:l.self,null:l.null,Star:l.modifier,VariableName:l.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":l.function(l.variableName),VariableDefinition:l.definition(l.variableName),Label:l.labelName,PropertyName:l.propertyName,PrivatePropertyName:l.special(l.propertyName),"CallExpression/MemberExpression/PropertyName":l.function(l.propertyName),"FunctionDeclaration/VariableDefinition":l.function(l.definition(l.variableName)),"ClassDeclaration/VariableDefinition":l.definition(l.className),PropertyDefinition:l.definition(l.propertyName),PrivatePropertyDefinition:l.definition(l.special(l.propertyName)),UpdateOp:l.updateOperator,"LineComment Hashbang":l.lineComment,BlockComment:l.blockComment,Number:l.number,String:l.string,Escape:l.escape,ArithOp:l.arithmeticOperator,LogicOp:l.logicOperator,BitOp:l.bitwiseOperator,CompareOp:l.compareOperator,RegExp:l.regexp,Equals:l.definitionOperator,Arrow:l.function(l.punctuation),": Spread":l.punctuation,"( )":l.paren,"[ ]":l.squareBracket,"{ }":l.brace,"InterpolationStart InterpolationEnd":l.special(l.brace),".":l.derefOperator,", ;":l.separator,"@":l.meta,TypeName:l.typeName,TypeDefinition:l.definition(l.typeName),"type enum interface implements namespace module declare":l.definitionKeyword,"abstract global Privacy readonly override":l.modifier,"is keyof unique infer":l.operatorKeyword,JSXAttributeValue:l.attributeValue,JSXText:l.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":l.angleBracket,"JSXIdentifier JSXNameSpacedName":l.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":l.attributeName,"JSXBuiltin/JSXIdentifier":l.standard(l.tagName)}),ri={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,extends:54,this:58,true:66,false:66,null:78,void:82,typeof:86,super:102,new:136,delete:148,yield:157,await:161,class:166,public:229,private:229,protected:229,readonly:231,instanceof:250,satisfies:253,in:254,const:256,import:290,keyof:345,unique:349,infer:355,is:391,abstract:411,implements:413,type:415,let:418,var:420,using:423,interface:429,enum:433,namespace:439,module:441,declare:445,global:449,for:468,of:477,while:480,with:484,do:488,if:492,else:494,switch:498,case:504,try:510,catch:514,finally:518,return:522,throw:526,break:530,continue:534,debugger:538},ii={__proto__:null,async:123,get:125,set:127,declare:189,public:191,private:191,protected:191,static:193,abstract:195,override:197,readonly:203,accessor:205,new:395},si={__proto__:null,"<":187},oi=T.deserialize({version:14,states:"$@QO%TQ^OOO%[Q^OOO'_Q`OOP(lOWOOO*zQ?NdO'#CiO+RO!bO'#CjO+aO#tO'#CjO+oO!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5i1cQ6q3TQ8V5lQ8v6pQ9j8UQ9|8uQ:b9lQ:j:OQ:r:cR:u:knqOXst!Z#d%k&o&q&r&t,k,p1|2PQ&i!VR,`&ftmOXst!U!V!Z#d%k&f&o&q&r&t,k,p1|2PR,g&lT%jm,gR1],PR,_&dQ&S|R+w&TR+m%}T&m!W&pT&n!W&pT2O,p2P",nodeNames:"âš  ArithOp ArithOp ?. JSXStartTag LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:376,context:Fr,nodeProps:[["isolate",-8,5,6,14,34,36,48,50,52,""],["group",-26,9,17,19,65,204,208,212,213,215,218,221,231,233,239,241,243,245,248,254,260,262,264,266,268,270,271,"Statement",-34,13,14,29,32,33,39,48,51,52,54,59,67,69,73,77,79,81,82,107,108,117,118,135,138,140,141,142,143,144,146,147,166,167,169,"Expression",-23,28,30,34,38,40,42,171,173,175,176,178,179,180,182,183,184,186,187,188,198,200,202,203,"Type",-3,85,100,106,"ClassItem"],["openedBy",23,"<",35,"InterpolationStart",53,"[",57,"{",70,"(",159,"JSXStartCloseTag"],["closedBy",24,">",37,"InterpolationEnd",47,"]",58,"}",71,")",164,"JSXEndTag"]],propSources:[ai],skippedNodes:[0,5,6,274],repeatNodeCount:37,tokenData:"$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`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^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr07[$D|k$h&j(Rp(U!b'x0/l$[#t(O,2j(`$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr",tokenizers:[Oi,ei,ti,2,3,4,5,6,7,8,9,10,11,12,13,14,Hr,new lO("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOu~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!R~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(^~~",141,335),new lO("j~RQYZXz{^~^O'{~~aP!P!Qd~iO'|~~",25,318)],topRules:{Script:[0,7],SingleExpression:[1,272],SingleClassItem:[2,273]},dialects:{jsx:0,ts:14725},dynamicPrecedences:{77:1,79:1,91:1,167:1,196:1},specialized:[{term:322,get:e=>ri[e]||-1},{term:338,get:e=>ii[e]||-1},{term:92,get:e=>si[e]||-1}],tokenPrec:14749}),tt=[S("function ${name}(${params}) {\n	${}\n}",{label:"function",detail:"definition",type:"keyword"}),S("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n	${}\n}",{label:"for",detail:"loop",type:"keyword"}),S("for (let ${name} of ${collection}) {\n	${}\n}",{label:"for",detail:"of loop",type:"keyword"}),S("do {\n	${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),S("while (${}) {\n	${}\n}",{label:"while",detail:"loop",type:"keyword"}),S(`try {
 	\${}
 } catch (\${error}) {
 	\${}
diff --git a/ui/dist/assets/CreateApiDocs-u5lIk15j.js b/ui/dist/assets/CreateApiDocs-CSOaDjHc.js
similarity index 99%
rename from ui/dist/assets/CreateApiDocs-u5lIk15j.js
rename to ui/dist/assets/CreateApiDocs-CSOaDjHc.js
index 9be3d601..7cfadc12 100644
--- a/ui/dist/assets/CreateApiDocs-u5lIk15j.js
+++ b/ui/dist/assets/CreateApiDocs-CSOaDjHc.js
@@ -1,4 +1,4 @@
-import{S as $t,i as qt,s as St,U as Tt,I as ee,W as ue,V as Ct,f as s,y as _,h as p,c as $e,j as w,l as r,n as i,m as qe,G as oe,X as Ve,Y as pt,D as Ot,Z as Mt,E as Pt,t as ye,a as ve,u as d,d as Se,p as Ft,k as Te,o as Ht,H as we,K as Lt}from"./index-DF0EYp3m.js";import{F as Rt}from"./FieldsQueryParam-DbnShkuc.js";function mt(a,e,t){const l=a.slice();return l[10]=e[t],l}function bt(a,e,t){const l=a.slice();return l[10]=e[t],l}function _t(a,e,t){const l=a.slice();return l[15]=e[t],l}function kt(a){let e;return{c(){e=s("p"),e.innerHTML="Requires superuser <code>Authorization:TOKEN</code> header",w(e,"class","txt-hint txt-sm txt-right")},m(t,l){r(t,e,l)},d(t){t&&d(e)}}}function ht(a){let e,t,l,u,c,f,b,m,$,h,g,A,T,O,R,M,U,J,S,Q,P,q,k,F,te,Y,I,re,z,G,X;function fe(y,C){var V,W,L;return C&1&&(f=null),f==null&&(f=!!((L=(W=(V=y[0])==null?void 0:V.fields)==null?void 0:W.find(Gt))!=null&&L.required)),f?At:jt}let le=fe(a,-1),E=le(a);function Z(y,C){var V,W,L;return C&1&&(U=null),U==null&&(U=!!((L=(W=(V=y[0])==null?void 0:V.fields)==null?void 0:W.find(zt))!=null&&L.required)),U?Vt:Bt}let x=Z(a,-1),H=x(a);return{c(){e=s("tr"),e.innerHTML='<td colspan="3" class="txt-hint txt-bold">Auth specific fields</td>',t=p(),l=s("tr"),u=s("td"),c=s("div"),E.c(),b=p(),m=s("span"),m.textContent="email",$=p(),h=s("td"),h.innerHTML='<span class="label">String</span>',g=p(),A=s("td"),A.textContent="Auth record email address.",T=p(),O=s("tr"),R=s("td"),M=s("div"),H.c(),J=p(),S=s("span"),S.textContent="emailVisibility",Q=p(),P=s("td"),P.innerHTML='<span class="label">Boolean</span>',q=p(),k=s("td"),k.textContent="Whether to show/hide the auth record email when fetching the record data.",F=p(),te=s("tr"),te.innerHTML='<td><div class="inline-flex"><span class="label label-success">Required</span> <span>password</span></div></td> <td><span class="label">String</span></td> <td>Auth record password.</td>',Y=p(),I=s("tr"),I.innerHTML='<td><div class="inline-flex"><span class="label label-success">Required</span> <span>passwordConfirm</span></div></td> <td><span class="label">String</span></td> <td>Auth record password confirmation.</td>',re=p(),z=s("tr"),z.innerHTML=`<td><div class="inline-flex"><span class="label label-warning">Optional</span> <span>verified</span></div></td> <td><span class="label">Boolean</span></td> <td>Indicates whether the auth record is verified or not.
+import{S as $t,i as qt,s as St,U as Tt,I as ee,W as ue,V as Ct,f as s,y as _,h as p,c as $e,j as w,l as r,n as i,m as qe,G as oe,X as Ve,Y as pt,D as Ot,Z as Mt,E as Pt,t as ye,a as ve,u as d,d as Se,p as Ft,k as Te,o as Ht,H as we,K as Lt}from"./index-zTV3nJbA.js";import{F as Rt}from"./FieldsQueryParam-V2urDtNW.js";function mt(a,e,t){const l=a.slice();return l[10]=e[t],l}function bt(a,e,t){const l=a.slice();return l[10]=e[t],l}function _t(a,e,t){const l=a.slice();return l[15]=e[t],l}function kt(a){let e;return{c(){e=s("p"),e.innerHTML="Requires superuser <code>Authorization:TOKEN</code> header",w(e,"class","txt-hint txt-sm txt-right")},m(t,l){r(t,e,l)},d(t){t&&d(e)}}}function ht(a){let e,t,l,u,c,f,b,m,$,h,g,A,T,O,R,M,U,J,S,Q,P,q,k,F,te,Y,I,re,z,G,X;function fe(y,C){var V,W,L;return C&1&&(f=null),f==null&&(f=!!((L=(W=(V=y[0])==null?void 0:V.fields)==null?void 0:W.find(Gt))!=null&&L.required)),f?At:jt}let le=fe(a,-1),E=le(a);function Z(y,C){var V,W,L;return C&1&&(U=null),U==null&&(U=!!((L=(W=(V=y[0])==null?void 0:V.fields)==null?void 0:W.find(zt))!=null&&L.required)),U?Vt:Bt}let x=Z(a,-1),H=x(a);return{c(){e=s("tr"),e.innerHTML='<td colspan="3" class="txt-hint txt-bold">Auth specific fields</td>',t=p(),l=s("tr"),u=s("td"),c=s("div"),E.c(),b=p(),m=s("span"),m.textContent="email",$=p(),h=s("td"),h.innerHTML='<span class="label">String</span>',g=p(),A=s("td"),A.textContent="Auth record email address.",T=p(),O=s("tr"),R=s("td"),M=s("div"),H.c(),J=p(),S=s("span"),S.textContent="emailVisibility",Q=p(),P=s("td"),P.innerHTML='<span class="label">Boolean</span>',q=p(),k=s("td"),k.textContent="Whether to show/hide the auth record email when fetching the record data.",F=p(),te=s("tr"),te.innerHTML='<td><div class="inline-flex"><span class="label label-success">Required</span> <span>password</span></div></td> <td><span class="label">String</span></td> <td>Auth record password.</td>',Y=p(),I=s("tr"),I.innerHTML='<td><div class="inline-flex"><span class="label label-success">Required</span> <span>passwordConfirm</span></div></td> <td><span class="label">String</span></td> <td>Auth record password confirmation.</td>',re=p(),z=s("tr"),z.innerHTML=`<td><div class="inline-flex"><span class="label label-warning">Optional</span> <span>verified</span></div></td> <td><span class="label">Boolean</span></td> <td>Indicates whether the auth record is verified or not.
                     <br/>
                     This field can be set only by superusers or auth records with &quot;Manage&quot; access.</td>`,G=p(),X=s("tr"),X.innerHTML='<td colspan="3" class="txt-hint txt-bold">Other fields</td>',w(c,"class","inline-flex"),w(M,"class","inline-flex")},m(y,C){r(y,e,C),r(y,t,C),r(y,l,C),i(l,u),i(u,c),E.m(c,null),i(c,b),i(c,m),i(l,$),i(l,h),i(l,g),i(l,A),r(y,T,C),r(y,O,C),i(O,R),i(R,M),H.m(M,null),i(M,J),i(M,S),i(O,Q),i(O,P),i(O,q),i(O,k),r(y,F,C),r(y,te,C),r(y,Y,C),r(y,I,C),r(y,re,C),r(y,z,C),r(y,G,C),r(y,X,C)},p(y,C){le!==(le=fe(y,C))&&(E.d(1),E=le(y),E&&(E.c(),E.m(c,b))),x!==(x=Z(y,C))&&(H.d(1),H=x(y),H&&(H.c(),H.m(M,J)))},d(y){y&&(d(e),d(t),d(l),d(T),d(O),d(F),d(te),d(Y),d(I),d(re),d(z),d(G),d(X)),E.d(),H.d()}}}function jt(a){let e;return{c(){e=s("span"),e.textContent="Optional",w(e,"class","label label-warning")},m(t,l){r(t,e,l)},d(t){t&&d(e)}}}function At(a){let e;return{c(){e=s("span"),e.textContent="Required",w(e,"class","label label-success")},m(t,l){r(t,e,l)},d(t){t&&d(e)}}}function Bt(a){let e;return{c(){e=s("span"),e.textContent="Optional",w(e,"class","label label-warning")},m(t,l){r(t,e,l)},d(t){t&&d(e)}}}function Vt(a){let e;return{c(){e=s("span"),e.textContent="Required",w(e,"class","label label-success")},m(t,l){r(t,e,l)},d(t){t&&d(e)}}}function Dt(a){let e;return{c(){e=s("span"),e.textContent="Required",w(e,"class","label label-success")},m(t,l){r(t,e,l)},d(t){t&&d(e)}}}function Nt(a){let e;return{c(){e=s("span"),e.textContent="Optional",w(e,"class","label label-warning")},m(t,l){r(t,e,l)},d(t){t&&d(e)}}}function Jt(a){let e,t=a[15].maxSelect===1?"id":"ids",l,u;return{c(){e=_("Relation record "),l=_(t),u=_(".")},m(c,f){r(c,e,f),r(c,l,f),r(c,u,f)},p(c,f){f&64&&t!==(t=c[15].maxSelect===1?"id":"ids")&&oe(l,t)},d(c){c&&(d(e),d(l),d(u))}}}function Et(a){let e,t,l,u,c,f,b,m,$;return{c(){e=_("File object."),t=s("br"),l=_(`
                         Set to empty value (`),u=s("code"),u.textContent="null",c=_(", "),f=s("code"),f.textContent='""',b=_(" or "),m=s("code"),m.textContent="[]",$=_(`) to delete
diff --git a/ui/dist/assets/DeleteApiDocs-Uf91x0my.js b/ui/dist/assets/DeleteApiDocs-BFCtHcbs.js
similarity index 98%
rename from ui/dist/assets/DeleteApiDocs-Uf91x0my.js
rename to ui/dist/assets/DeleteApiDocs-BFCtHcbs.js
index 69745123..527c2ef0 100644
--- a/ui/dist/assets/DeleteApiDocs-Uf91x0my.js
+++ b/ui/dist/assets/DeleteApiDocs-BFCtHcbs.js
@@ -1,4 +1,4 @@
-import{S as Re,i as Ee,s as Pe,U as Te,W as H,f as c,y,h as k,c as $e,j as m,l as p,n as i,m as Ce,G as ee,X as he,Y as Be,D as Ie,Z as Oe,E as Ae,t as te,a as le,u as f,d as we,I as Me,p as qe,k as z,o as Le,V as Se}from"./index-DF0EYp3m.js";function ke(a,l,s){const o=a.slice();return o[6]=l[s],o}function ge(a,l,s){const o=a.slice();return o[6]=l[s],o}function ve(a){let l;return{c(){l=c("p"),l.innerHTML="Requires superuser <code>Authorization:TOKEN</code> header",m(l,"class","txt-hint txt-sm txt-right")},m(s,o){p(s,l,o)},d(s){s&&f(l)}}}function ye(a,l){let s,o,h;function r(){return l[5](l[6])}return{key:a,first:null,c(){s=c("button"),s.textContent=`${l[6].code} `,m(s,"class","tab-item"),z(s,"active",l[2]===l[6].code),this.first=s},m(n,d){p(n,s,d),o||(h=Le(s,"click",r),o=!0)},p(n,d){l=n,d&20&&z(s,"active",l[2]===l[6].code)},d(n){n&&f(s),o=!1,h()}}}function De(a,l){let s,o,h,r;return o=new Se({props:{content:l[6].body}}),{key:a,first:null,c(){s=c("div"),$e(o.$$.fragment),h=k(),m(s,"class","tab-item"),z(s,"active",l[2]===l[6].code),this.first=s},m(n,d){p(n,s,d),Ce(o,s,null),i(s,h),r=!0},p(n,d){l=n,(!r||d&20)&&z(s,"active",l[2]===l[6].code)},i(n){r||(te(o.$$.fragment,n),r=!0)},o(n){le(o.$$.fragment,n),r=!1},d(n){n&&f(s),we(o)}}}function Ue(a){var fe,me;let l,s,o=a[0].name+"",h,r,n,d,D,$,F,q=a[0].name+"",G,se,K,C,N,P,V,g,L,ae,S,E,oe,W,U=a[0].name+"",X,ne,Y,ie,Z,T,J,B,Q,I,x,w,O,v=[],ce=new Map,re,A,b=[],de=new Map,R;C=new Te({props:{js:`
+import{S as Re,i as Ee,s as Pe,U as Te,W as H,f as c,y,h as k,c as $e,j as m,l as p,n as i,m as Ce,G as ee,X as he,Y as Be,D as Ie,Z as Oe,E as Ae,t as te,a as le,u as f,d as we,I as Me,p as qe,k as z,o as Le,V as Se}from"./index-zTV3nJbA.js";function ke(a,l,s){const o=a.slice();return o[6]=l[s],o}function ge(a,l,s){const o=a.slice();return o[6]=l[s],o}function ve(a){let l;return{c(){l=c("p"),l.innerHTML="Requires superuser <code>Authorization:TOKEN</code> header",m(l,"class","txt-hint txt-sm txt-right")},m(s,o){p(s,l,o)},d(s){s&&f(l)}}}function ye(a,l){let s,o,h;function r(){return l[5](l[6])}return{key:a,first:null,c(){s=c("button"),s.textContent=`${l[6].code} `,m(s,"class","tab-item"),z(s,"active",l[2]===l[6].code),this.first=s},m(n,d){p(n,s,d),o||(h=Le(s,"click",r),o=!0)},p(n,d){l=n,d&20&&z(s,"active",l[2]===l[6].code)},d(n){n&&f(s),o=!1,h()}}}function De(a,l){let s,o,h,r;return o=new Se({props:{content:l[6].body}}),{key:a,first:null,c(){s=c("div"),$e(o.$$.fragment),h=k(),m(s,"class","tab-item"),z(s,"active",l[2]===l[6].code),this.first=s},m(n,d){p(n,s,d),Ce(o,s,null),i(s,h),r=!0},p(n,d){l=n,(!r||d&20)&&z(s,"active",l[2]===l[6].code)},i(n){r||(te(o.$$.fragment,n),r=!0)},o(n){le(o.$$.fragment,n),r=!1},d(n){n&&f(s),we(o)}}}function Ue(a){var fe,me;let l,s,o=a[0].name+"",h,r,n,d,D,$,F,q=a[0].name+"",G,se,K,C,N,P,V,g,L,ae,S,E,oe,W,U=a[0].name+"",X,ne,Y,ie,Z,T,J,B,Q,I,x,w,O,v=[],ce=new Map,re,A,b=[],de=new Map,R;C=new Te({props:{js:`
         import PocketBase from 'pocketbase';
 
         const pb = new PocketBase('${a[3]}');
diff --git a/ui/dist/assets/EmailChangeDocs-COczUtit.js b/ui/dist/assets/EmailChangeDocs-pK3Wln29.js
similarity index 99%
rename from ui/dist/assets/EmailChangeDocs-COczUtit.js
rename to ui/dist/assets/EmailChangeDocs-pK3Wln29.js
index 45799d44..f65dbffd 100644
--- a/ui/dist/assets/EmailChangeDocs-COczUtit.js
+++ b/ui/dist/assets/EmailChangeDocs-pK3Wln29.js
@@ -1,4 +1,4 @@
-import{S as se,i as oe,s as ie,W as G,f as p,h as C,y as U,j as b,l as g,n as u,G as J,X as le,Y as Re,D as ne,Z as Se,E as ae,t as X,a as Z,u as v,k as K,o as ce,V as Oe,c as x,m as ee,d as te,U as Me,_ as _e,I as Be,p as De,$ as be}from"./index-DF0EYp3m.js";function ge(n,e,t){const l=n.slice();return l[4]=e[t],l}function ve(n,e,t){const l=n.slice();return l[4]=e[t],l}function ke(n,e){let t,l=e[4].code+"",d,i,r,a;function m(){return e[3](e[4])}return{key:n,first:null,c(){t=p("button"),d=U(l),i=C(),b(t,"class","tab-item"),K(t,"active",e[1]===e[4].code),this.first=t},m(k,A){g(k,t,A),u(t,d),u(t,i),r||(a=ce(t,"click",m),r=!0)},p(k,A){e=k,A&4&&l!==(l=e[4].code+"")&&J(d,l),A&6&&K(t,"active",e[1]===e[4].code)},d(k){k&&v(t),r=!1,a()}}}function $e(n,e){let t,l,d,i;return l=new Oe({props:{content:e[4].body}}),{key:n,first:null,c(){t=p("div"),x(l.$$.fragment),d=C(),b(t,"class","tab-item"),K(t,"active",e[1]===e[4].code),this.first=t},m(r,a){g(r,t,a),ee(l,t,null),u(t,d),i=!0},p(r,a){e=r;const m={};a&4&&(m.content=e[4].body),l.$set(m),(!i||a&6)&&K(t,"active",e[1]===e[4].code)},i(r){i||(X(l.$$.fragment,r),i=!0)},o(r){Z(l.$$.fragment,r),i=!1},d(r){r&&v(t),te(l)}}}function Ne(n){let e,t,l,d,i,r,a,m=n[0].name+"",k,A,Y,H,V,L,j,B,D,S,N,T=[],O=new Map,P,z,q=[],W=new Map,w,E=G(n[2]);const M=c=>c[4].code;for(let c=0;c<E.length;c+=1){let f=ve(n,E,c),s=M(f);O.set(s,T[c]=ke(s,f))}let _=G(n[2]);const F=c=>c[4].code;for(let c=0;c<_.length;c+=1){let f=ge(n,_,c),s=F(f);W.set(s,q[c]=$e(s,f))}return{c(){e=p("div"),t=p("strong"),t.textContent="POST",l=C(),d=p("div"),i=p("p"),r=U("/api/collections/"),a=p("strong"),k=U(m),A=U("/confirm-email-change"),Y=C(),H=p("div"),H.textContent="Body Parameters",V=C(),L=p("table"),L.innerHTML='<thead><tr><th>Param</th> <th>Type</th> <th width="50%">Description</th></tr></thead> <tbody><tr><td><div class="inline-flex"><span class="label label-success">Required</span> <span>token</span></div></td> <td><span class="label">String</span></td> <td>The token from the change email request email.</td></tr> <tr><td><div class="inline-flex"><span class="label label-success">Required</span> <span>password</span></div></td> <td><span class="label">String</span></td> <td>The account password to confirm the email change.</td></tr></tbody>',j=C(),B=p("div"),B.textContent="Responses",D=C(),S=p("div"),N=p("div");for(let c=0;c<T.length;c+=1)T[c].c();P=C(),z=p("div");for(let c=0;c<q.length;c+=1)q[c].c();b(t,"class","label label-primary"),b(d,"class","content"),b(e,"class","alert alert-success"),b(H,"class","section-title"),b(L,"class","table-compact table-border m-b-base"),b(B,"class","section-title"),b(N,"class","tabs-header compact combined left"),b(z,"class","tabs-content"),b(S,"class","tabs")},m(c,f){g(c,e,f),u(e,t),u(e,l),u(e,d),u(d,i),u(i,r),u(i,a),u(a,k),u(i,A),g(c,Y,f),g(c,H,f),g(c,V,f),g(c,L,f),g(c,j,f),g(c,B,f),g(c,D,f),g(c,S,f),u(S,N);for(let s=0;s<T.length;s+=1)T[s]&&T[s].m(N,null);u(S,P),u(S,z);for(let s=0;s<q.length;s+=1)q[s]&&q[s].m(z,null);w=!0},p(c,[f]){(!w||f&1)&&m!==(m=c[0].name+"")&&J(k,m),f&6&&(E=G(c[2]),T=le(T,f,M,1,c,E,O,N,Re,ke,null,ve)),f&6&&(_=G(c[2]),ne(),q=le(q,f,F,1,c,_,W,z,Se,$e,null,ge),ae())},i(c){if(!w){for(let f=0;f<_.length;f+=1)X(q[f]);w=!0}},o(c){for(let f=0;f<q.length;f+=1)Z(q[f]);w=!1},d(c){c&&(v(e),v(Y),v(H),v(V),v(L),v(j),v(B),v(D),v(S));for(let f=0;f<T.length;f+=1)T[f].d();for(let f=0;f<q.length;f+=1)q[f].d()}}}function We(n,e,t){let{collection:l}=e,d=204,i=[];const r=a=>t(1,d=a.code);return n.$$set=a=>{"collection"in a&&t(0,l=a.collection)},t(2,i=[{code:204,body:"null"},{code:400,body:`
+import{S as se,i as oe,s as ie,W as G,f as p,h as C,y as U,j as b,l as g,n as u,G as J,X as le,Y as Re,D as ne,Z as Se,E as ae,t as X,a as Z,u as v,k as K,o as ce,V as Oe,c as x,m as ee,d as te,U as Me,_ as _e,I as Be,p as De,$ as be}from"./index-zTV3nJbA.js";function ge(n,e,t){const l=n.slice();return l[4]=e[t],l}function ve(n,e,t){const l=n.slice();return l[4]=e[t],l}function ke(n,e){let t,l=e[4].code+"",d,i,r,a;function m(){return e[3](e[4])}return{key:n,first:null,c(){t=p("button"),d=U(l),i=C(),b(t,"class","tab-item"),K(t,"active",e[1]===e[4].code),this.first=t},m(k,A){g(k,t,A),u(t,d),u(t,i),r||(a=ce(t,"click",m),r=!0)},p(k,A){e=k,A&4&&l!==(l=e[4].code+"")&&J(d,l),A&6&&K(t,"active",e[1]===e[4].code)},d(k){k&&v(t),r=!1,a()}}}function $e(n,e){let t,l,d,i;return l=new Oe({props:{content:e[4].body}}),{key:n,first:null,c(){t=p("div"),x(l.$$.fragment),d=C(),b(t,"class","tab-item"),K(t,"active",e[1]===e[4].code),this.first=t},m(r,a){g(r,t,a),ee(l,t,null),u(t,d),i=!0},p(r,a){e=r;const m={};a&4&&(m.content=e[4].body),l.$set(m),(!i||a&6)&&K(t,"active",e[1]===e[4].code)},i(r){i||(X(l.$$.fragment,r),i=!0)},o(r){Z(l.$$.fragment,r),i=!1},d(r){r&&v(t),te(l)}}}function Ne(n){let e,t,l,d,i,r,a,m=n[0].name+"",k,A,Y,H,V,L,j,B,D,S,N,T=[],O=new Map,P,z,q=[],W=new Map,w,E=G(n[2]);const M=c=>c[4].code;for(let c=0;c<E.length;c+=1){let f=ve(n,E,c),s=M(f);O.set(s,T[c]=ke(s,f))}let _=G(n[2]);const F=c=>c[4].code;for(let c=0;c<_.length;c+=1){let f=ge(n,_,c),s=F(f);W.set(s,q[c]=$e(s,f))}return{c(){e=p("div"),t=p("strong"),t.textContent="POST",l=C(),d=p("div"),i=p("p"),r=U("/api/collections/"),a=p("strong"),k=U(m),A=U("/confirm-email-change"),Y=C(),H=p("div"),H.textContent="Body Parameters",V=C(),L=p("table"),L.innerHTML='<thead><tr><th>Param</th> <th>Type</th> <th width="50%">Description</th></tr></thead> <tbody><tr><td><div class="inline-flex"><span class="label label-success">Required</span> <span>token</span></div></td> <td><span class="label">String</span></td> <td>The token from the change email request email.</td></tr> <tr><td><div class="inline-flex"><span class="label label-success">Required</span> <span>password</span></div></td> <td><span class="label">String</span></td> <td>The account password to confirm the email change.</td></tr></tbody>',j=C(),B=p("div"),B.textContent="Responses",D=C(),S=p("div"),N=p("div");for(let c=0;c<T.length;c+=1)T[c].c();P=C(),z=p("div");for(let c=0;c<q.length;c+=1)q[c].c();b(t,"class","label label-primary"),b(d,"class","content"),b(e,"class","alert alert-success"),b(H,"class","section-title"),b(L,"class","table-compact table-border m-b-base"),b(B,"class","section-title"),b(N,"class","tabs-header compact combined left"),b(z,"class","tabs-content"),b(S,"class","tabs")},m(c,f){g(c,e,f),u(e,t),u(e,l),u(e,d),u(d,i),u(i,r),u(i,a),u(a,k),u(i,A),g(c,Y,f),g(c,H,f),g(c,V,f),g(c,L,f),g(c,j,f),g(c,B,f),g(c,D,f),g(c,S,f),u(S,N);for(let s=0;s<T.length;s+=1)T[s]&&T[s].m(N,null);u(S,P),u(S,z);for(let s=0;s<q.length;s+=1)q[s]&&q[s].m(z,null);w=!0},p(c,[f]){(!w||f&1)&&m!==(m=c[0].name+"")&&J(k,m),f&6&&(E=G(c[2]),T=le(T,f,M,1,c,E,O,N,Re,ke,null,ve)),f&6&&(_=G(c[2]),ne(),q=le(q,f,F,1,c,_,W,z,Se,$e,null,ge),ae())},i(c){if(!w){for(let f=0;f<_.length;f+=1)X(q[f]);w=!0}},o(c){for(let f=0;f<q.length;f+=1)Z(q[f]);w=!1},d(c){c&&(v(e),v(Y),v(H),v(V),v(L),v(j),v(B),v(D),v(S));for(let f=0;f<T.length;f+=1)T[f].d();for(let f=0;f<q.length;f+=1)q[f].d()}}}function We(n,e,t){let{collection:l}=e,d=204,i=[];const r=a=>t(1,d=a.code);return n.$$set=a=>{"collection"in a&&t(0,l=a.collection)},t(2,i=[{code:204,body:"null"},{code:400,body:`
                 {
                   "code": 400,
                   "message": "An error occurred while validating the submitted data.",
diff --git a/ui/dist/assets/FieldsQueryParam-DbnShkuc.js b/ui/dist/assets/FieldsQueryParam-V2urDtNW.js
similarity index 96%
rename from ui/dist/assets/FieldsQueryParam-DbnShkuc.js
rename to ui/dist/assets/FieldsQueryParam-V2urDtNW.js
index ef7cb76a..26fdeb41 100644
--- a/ui/dist/assets/FieldsQueryParam-DbnShkuc.js
+++ b/ui/dist/assets/FieldsQueryParam-V2urDtNW.js
@@ -1,4 +1,4 @@
-import{S as I,i as J,s as N,V as O,f as t,h as c,y as i,c as P,j as Q,l as R,n as e,m as V,G as z,t as A,a as D,u as K,d as U}from"./index-DF0EYp3m.js";function W(f){let n,o,u,d,k,s,p,v,g,F,r,S,_,w,b,E,C,a,$,L,q,H,M,T,m,j,y,B,x;return r=new O({props:{content:"?fields=*,"+f[0]+"expand.relField.name"}}),{c(){n=t("tr"),o=t("td"),o.textContent="fields",u=c(),d=t("td"),d.innerHTML='<span class="label">String</span>',k=c(),s=t("td"),p=t("p"),v=i(`Comma separated string of the fields to return in the JSON response
+import{S as I,i as J,s as N,V as O,f as t,h as c,y as i,c as P,j as Q,l as R,n as e,m as V,G as z,t as A,a as D,u as K,d as U}from"./index-zTV3nJbA.js";function W(f){let n,o,u,d,k,s,p,v,g,F,r,S,_,w,b,E,C,a,$,L,q,H,M,T,m,j,y,B,x;return r=new O({props:{content:"?fields=*,"+f[0]+"expand.relField.name"}}),{c(){n=t("tr"),o=t("td"),o.textContent="fields",u=c(),d=t("td"),d.innerHTML='<span class="label">String</span>',k=c(),s=t("td"),p=t("p"),v=i(`Comma separated string of the fields to return in the JSON response
             `),g=t("em"),g.textContent="(by default returns all fields)",F=i(`. Ex.:
             `),P(r.$$.fragment),S=c(),_=t("p"),_.innerHTML="<code>*</code> targets all keys from the specific depth level.",w=c(),b=t("p"),b.textContent="In addition, the following field modifiers are also supported:",E=c(),C=t("ul"),a=t("li"),$=t("code"),$.textContent=":excerpt(maxLength, withEllipsis?)",L=c(),q=t("br"),H=i(`
                 Returns a short plain text version of the field string value.
diff --git a/ui/dist/assets/FilterAutocompleteInput-B2Le__Nn.js b/ui/dist/assets/FilterAutocompleteInput-Cars2s_J.js
similarity index 99%
rename from ui/dist/assets/FilterAutocompleteInput-B2Le__Nn.js
rename to ui/dist/assets/FilterAutocompleteInput-Cars2s_J.js
index 894071aa..a88a9c65 100644
--- a/ui/dist/assets/FilterAutocompleteInput-B2Le__Nn.js
+++ b/ui/dist/assets/FilterAutocompleteInput-Cars2s_J.js
@@ -1 +1 @@
-import{S as $,i as ee,s as te,f as ne,j as re,l as ie,H as O,u as ae,N as oe,R as le,T as se,P as de,I as u,x as ce}from"./index-DF0EYp3m.js";import{c as fe,d as ue,s as ge,h as he,a as ye,E,b as S,e as pe,f as ke,g as xe,i as me,j as be,k as we,l as Ee,m as Se,r as Ke,n as Ce,o as Re,p as Le,q as G,C as R,S as qe,t as ve,u as We,v as _e}from"./index-B5ReTu-C.js";function Ie(e){return new Worker(""+new URL("autocomplete.worker-Br7MPIGR.js",import.meta.url).href,{name:e==null?void 0:e.name})}function Oe(e){j(e,"start");var r={},t=e.languageData||{},g=!1;for(var h in e)if(h!=t&&e.hasOwnProperty(h))for(var f=r[h]=[],a=e[h],i=0;i<a.length;i++){var o=a[i];f.push(new Ae(o,e)),(o.indent||o.dedent)&&(g=!0)}return{name:t.name,startState:function(){return{state:"start",pending:null,indent:g?[]:null}},copyState:function(s){var y={state:s.state,pending:s.pending,indent:s.indent&&s.indent.slice(0)};return s.stack&&(y.stack=s.stack.slice(0)),y},token:Be(r),indent:He(r,t),languageData:t}}function j(e,r){if(!e.hasOwnProperty(r))throw new Error("Undefined state "+r+" in simple mode")}function De(e,r){if(!e)return/(?:)/;var t="";return e instanceof RegExp?(e.ignoreCase&&(t="i"),e=e.source):e=String(e),new RegExp("^(?:"+e+")",t)}function Me(e){if(!e)return null;if(e.apply)return e;if(typeof e=="string")return e.replace(/\./g," ");for(var r=[],t=0;t<e.length;t++)r.push(e[t]&&e[t].replace(/\./g," "));return r}function Ae(e,r){(e.next||e.push)&&j(r,e.next||e.push),this.regex=De(e.regex),this.token=Me(e.token),this.data=e}function Be(e){return function(r,t){if(t.pending){var g=t.pending.shift();return t.pending.length==0&&(t.pending=null),r.pos+=g.text.length,g.token}for(var h=e[t.state],f=0;f<h.length;f++){var a=h[f],i=(!a.data.sol||r.sol())&&r.match(a.regex);if(i){a.data.next?t.state=a.data.next:a.data.push?((t.stack||(t.stack=[])).push(t.state),t.state=a.data.push):a.data.pop&&t.stack&&t.stack.length&&(t.state=t.stack.pop()),a.data.indent&&t.indent.push(r.indentation()+r.indentUnit),a.data.dedent&&t.indent.pop();var o=a.token;if(o&&o.apply&&(o=o(i)),i.length>2&&a.token&&typeof a.token!="string"){t.pending=[];for(var s=2;s<i.length;s++)i[s]&&t.pending.push({text:i[s],token:a.token[s-1]});return r.backUp(i[0].length-(i[1]?i[1].length:0)),o[0]}else return o&&o.join?o[0]:o}}return r.next(),null}}function He(e,r){return function(t,g){if(t.indent==null||r.dontIndentStates&&r.doneIndentState.indexOf(t.state)>-1)return null;var h=t.indent.length-1,f=e[t.state];e:for(;;){for(var a=0;a<f.length;a++){var i=f[a];if(i.data.dedent&&i.data.dedentIfLineStart!==!1){var o=i.regex.exec(g);if(o&&o[0]){h--,(i.next||i.push)&&(f=e[i.next||i.push]),g=g.slice(o[0].length);continue e}}}break}return h<0?0:t.indent[h]}}function Je(e){let r;return{c(){r=ne("div"),re(r,"class","code-editor")},m(t,g){ie(t,r,g),e[15](r)},p:O,i:O,o:O,d(t){t&&ae(r),e[15](null)}}}function Te(e){return JSON.stringify([e==null?void 0:e.name,e==null?void 0:e.type,e==null?void 0:e.fields])}function Fe(e,r,t){let g;oe(e,le,n=>t(21,g=n));const h=se();let{id:f=""}=r,{value:a=""}=r,{disabled:i=!1}=r,{placeholder:o=""}=r,{baseCollection:s=null}=r,{singleLine:y=!1}=r,{extraAutocompleteKeys:L=[]}=r,{disableRequestKeys:b=!1}=r,{disableCollectionJoinKeys:x=!1}=r,d,p,q=i,D=new R,M=new R,A=new R,B=new R,v=new Ie,H=[],J=[],T=[],K="",W="";function _(){d==null||d.focus()}let I=null;v.onmessage=n=>{T=n.data.baseKeys||[],H=n.data.requestKeys||[],J=n.data.collectionJoinKeys||[]};function V(){clearTimeout(I),I=setTimeout(()=>{v.postMessage({baseCollection:s,collections:z(g),disableRequestKeys:b,disableCollectionJoinKeys:x})},250)}function z(n){let c=n.slice();return s&&u.pushOrReplaceByKey(c,s,"id"),c}function F(){p==null||p.dispatchEvent(new CustomEvent("change",{detail:{value:a},bubbles:!0}))}function P(){if(!f)return;const n=document.querySelectorAll('[for="'+f+'"]');for(let c of n)c.removeEventListener("click",_)}function U(){if(!f)return;P();const n=document.querySelectorAll('[for="'+f+'"]');for(let c of n)c.addEventListener("click",_)}function Q(n=!0,c=!0){let l=[].concat(L);return l=l.concat(T||[]),n&&(l=l.concat(H||[])),c&&(l=l.concat(J||[])),l}function X(n){var w;let c=n.matchBefore(/[\'\"\@\w\.]*/);if(c&&c.from==c.to&&!n.explicit)return null;let l=_e(n.state).resolveInner(n.pos,-1);if(((w=l==null?void 0:l.type)==null?void 0:w.name)=="comment")return null;let m=[{label:"false"},{label:"true"},{label:"@now"},{label:"@second"},{label:"@minute"},{label:"@hour"},{label:"@year"},{label:"@day"},{label:"@month"},{label:"@weekday"},{label:"@todayStart"},{label:"@todayEnd"},{label:"@monthStart"},{label:"@monthEnd"},{label:"@yearStart"},{label:"@yearEnd"}];x||m.push({label:"@collection.*",apply:"@collection."});let C=Q(!b&&c.text.startsWith("@r"),!x&&c.text.startsWith("@c"));for(const k of C)m.push({label:k.endsWith(".")?k+"*":k,apply:k,boost:k.indexOf("_via_")>0?-1:0});return{from:c.from,options:m}}function N(){return qe.define(Oe({start:[{regex:/true|false|null/,token:"atom"},{regex:/\/\/.*/,token:"comment"},{regex:/"(?:[^\\]|\\.)*?(?:"|$)/,token:"string"},{regex:/'(?:[^\\]|\\.)*?(?:'|$)/,token:"string"},{regex:/0x[a-f\d]+|[-+]?(?:\.\d+|\d+\.?\d*)(?:e[-+]?\d+)?/i,token:"number"},{regex:/\&\&|\|\||\=|\!\=|\~|\!\~|\>|\<|\>\=|\<\=/,token:"operator"},{regex:/[\{\[\(]/,indent:!0},{regex:/[\}\]\)]/,dedent:!0},{regex:/\w+[\w\.]*\w+/,token:"keyword"},{regex:u.escapeRegExp("@now"),token:"keyword"},{regex:u.escapeRegExp("@second"),token:"keyword"},{regex:u.escapeRegExp("@minute"),token:"keyword"},{regex:u.escapeRegExp("@hour"),token:"keyword"},{regex:u.escapeRegExp("@year"),token:"keyword"},{regex:u.escapeRegExp("@day"),token:"keyword"},{regex:u.escapeRegExp("@month"),token:"keyword"},{regex:u.escapeRegExp("@weekday"),token:"keyword"},{regex:u.escapeRegExp("@todayStart"),token:"keyword"},{regex:u.escapeRegExp("@todayEnd"),token:"keyword"},{regex:u.escapeRegExp("@monthStart"),token:"keyword"},{regex:u.escapeRegExp("@monthEnd"),token:"keyword"},{regex:u.escapeRegExp("@yearStart"),token:"keyword"},{regex:u.escapeRegExp("@yearEnd"),token:"keyword"},{regex:u.escapeRegExp("@request.method"),token:"keyword"}],meta:{lineComment:"//"}}))}de(()=>{const n={key:"Enter",run:l=>{y&&h("submit",a)}};U();let c=[n,...fe,...ue,ge.find(l=>l.key==="Mod-d"),...he,...ye];return y||c.push(ve),t(11,d=new E({parent:p,state:S.create({doc:a,extensions:[pe(),ke(),xe(),me(),be(),S.allowMultipleSelections.of(!0),we(We,{fallback:!0}),Ee(),Se(),Ke(),Ce(),Re.of(c),E.lineWrapping,Le({override:[X],icons:!1}),B.of(G(o)),M.of(E.editable.of(!i)),A.of(S.readOnly.of(i)),D.of(N()),S.transactionFilter.of(l=>{var m,C,w;if(y&&l.newDoc.lines>1){if(!((w=(C=(m=l.changes)==null?void 0:m.inserted)==null?void 0:C.filter(k=>!!k.text.find(Z=>Z)))!=null&&w.length))return[];l.newDoc.text=[l.newDoc.text.join(" ")]}return l}),E.updateListener.of(l=>{!l.docChanged||i||(t(1,a=l.state.doc.toString()),F())})]})})),()=>{clearTimeout(I),P(),d==null||d.destroy(),v.terminate()}});function Y(n){ce[n?"unshift":"push"](()=>{p=n,t(0,p)})}return e.$$set=n=>{"id"in n&&t(2,f=n.id),"value"in n&&t(1,a=n.value),"disabled"in n&&t(3,i=n.disabled),"placeholder"in n&&t(4,o=n.placeholder),"baseCollection"in n&&t(5,s=n.baseCollection),"singleLine"in n&&t(6,y=n.singleLine),"extraAutocompleteKeys"in n&&t(7,L=n.extraAutocompleteKeys),"disableRequestKeys"in n&&t(8,b=n.disableRequestKeys),"disableCollectionJoinKeys"in n&&t(9,x=n.disableCollectionJoinKeys)},e.$$.update=()=>{e.$$.dirty[0]&32&&t(13,K=Te(s)),e.$$.dirty[0]&25352&&!i&&(W!=K||b!==-1||x!==-1)&&(t(14,W=K),V()),e.$$.dirty[0]&4&&f&&U(),e.$$.dirty[0]&2080&&d&&s!=null&&s.fields&&d.dispatch({effects:[D.reconfigure(N())]}),e.$$.dirty[0]&6152&&d&&q!=i&&(d.dispatch({effects:[M.reconfigure(E.editable.of(!i)),A.reconfigure(S.readOnly.of(i))]}),t(12,q=i),F()),e.$$.dirty[0]&2050&&d&&a!=d.state.doc.toString()&&d.dispatch({changes:{from:0,to:d.state.doc.length,insert:a}}),e.$$.dirty[0]&2064&&d&&typeof o<"u"&&d.dispatch({effects:[B.reconfigure(G(o))]})},[p,a,f,i,o,s,y,L,b,x,_,d,q,K,W,Y]}class Ne extends ${constructor(r){super(),ee(this,r,Fe,Je,te,{id:2,value:1,disabled:3,placeholder:4,baseCollection:5,singleLine:6,extraAutocompleteKeys:7,disableRequestKeys:8,disableCollectionJoinKeys:9,focus:10},null,[-1,-1])}get focus(){return this.$$.ctx[10]}}export{Ne as default};
+import{S as $,i as ee,s as te,f as ne,j as re,l as ie,H as O,u as ae,N as oe,R as le,T as se,P as de,I as u,x as ce}from"./index-zTV3nJbA.js";import{c as fe,d as ue,s as ge,h as he,a as ye,E,b as S,e as pe,f as ke,g as xe,i as me,j as be,k as we,l as Ee,m as Se,r as Ke,n as Ce,o as Re,p as Le,q as G,C as R,S as qe,t as ve,u as We,v as _e}from"./index-B5ReTu-C.js";function Ie(e){return new Worker(""+new URL("autocomplete.worker-Br7MPIGR.js",import.meta.url).href,{name:e==null?void 0:e.name})}function Oe(e){j(e,"start");var r={},t=e.languageData||{},g=!1;for(var h in e)if(h!=t&&e.hasOwnProperty(h))for(var f=r[h]=[],a=e[h],i=0;i<a.length;i++){var o=a[i];f.push(new Ae(o,e)),(o.indent||o.dedent)&&(g=!0)}return{name:t.name,startState:function(){return{state:"start",pending:null,indent:g?[]:null}},copyState:function(s){var y={state:s.state,pending:s.pending,indent:s.indent&&s.indent.slice(0)};return s.stack&&(y.stack=s.stack.slice(0)),y},token:Be(r),indent:He(r,t),languageData:t}}function j(e,r){if(!e.hasOwnProperty(r))throw new Error("Undefined state "+r+" in simple mode")}function De(e,r){if(!e)return/(?:)/;var t="";return e instanceof RegExp?(e.ignoreCase&&(t="i"),e=e.source):e=String(e),new RegExp("^(?:"+e+")",t)}function Me(e){if(!e)return null;if(e.apply)return e;if(typeof e=="string")return e.replace(/\./g," ");for(var r=[],t=0;t<e.length;t++)r.push(e[t]&&e[t].replace(/\./g," "));return r}function Ae(e,r){(e.next||e.push)&&j(r,e.next||e.push),this.regex=De(e.regex),this.token=Me(e.token),this.data=e}function Be(e){return function(r,t){if(t.pending){var g=t.pending.shift();return t.pending.length==0&&(t.pending=null),r.pos+=g.text.length,g.token}for(var h=e[t.state],f=0;f<h.length;f++){var a=h[f],i=(!a.data.sol||r.sol())&&r.match(a.regex);if(i){a.data.next?t.state=a.data.next:a.data.push?((t.stack||(t.stack=[])).push(t.state),t.state=a.data.push):a.data.pop&&t.stack&&t.stack.length&&(t.state=t.stack.pop()),a.data.indent&&t.indent.push(r.indentation()+r.indentUnit),a.data.dedent&&t.indent.pop();var o=a.token;if(o&&o.apply&&(o=o(i)),i.length>2&&a.token&&typeof a.token!="string"){t.pending=[];for(var s=2;s<i.length;s++)i[s]&&t.pending.push({text:i[s],token:a.token[s-1]});return r.backUp(i[0].length-(i[1]?i[1].length:0)),o[0]}else return o&&o.join?o[0]:o}}return r.next(),null}}function He(e,r){return function(t,g){if(t.indent==null||r.dontIndentStates&&r.doneIndentState.indexOf(t.state)>-1)return null;var h=t.indent.length-1,f=e[t.state];e:for(;;){for(var a=0;a<f.length;a++){var i=f[a];if(i.data.dedent&&i.data.dedentIfLineStart!==!1){var o=i.regex.exec(g);if(o&&o[0]){h--,(i.next||i.push)&&(f=e[i.next||i.push]),g=g.slice(o[0].length);continue e}}}break}return h<0?0:t.indent[h]}}function Je(e){let r;return{c(){r=ne("div"),re(r,"class","code-editor")},m(t,g){ie(t,r,g),e[15](r)},p:O,i:O,o:O,d(t){t&&ae(r),e[15](null)}}}function Te(e){return JSON.stringify([e==null?void 0:e.name,e==null?void 0:e.type,e==null?void 0:e.fields])}function Fe(e,r,t){let g;oe(e,le,n=>t(21,g=n));const h=se();let{id:f=""}=r,{value:a=""}=r,{disabled:i=!1}=r,{placeholder:o=""}=r,{baseCollection:s=null}=r,{singleLine:y=!1}=r,{extraAutocompleteKeys:L=[]}=r,{disableRequestKeys:b=!1}=r,{disableCollectionJoinKeys:x=!1}=r,d,p,q=i,D=new R,M=new R,A=new R,B=new R,v=new Ie,H=[],J=[],T=[],K="",W="";function _(){d==null||d.focus()}let I=null;v.onmessage=n=>{T=n.data.baseKeys||[],H=n.data.requestKeys||[],J=n.data.collectionJoinKeys||[]};function V(){clearTimeout(I),I=setTimeout(()=>{v.postMessage({baseCollection:s,collections:z(g),disableRequestKeys:b,disableCollectionJoinKeys:x})},250)}function z(n){let c=n.slice();return s&&u.pushOrReplaceByKey(c,s,"id"),c}function F(){p==null||p.dispatchEvent(new CustomEvent("change",{detail:{value:a},bubbles:!0}))}function P(){if(!f)return;const n=document.querySelectorAll('[for="'+f+'"]');for(let c of n)c.removeEventListener("click",_)}function U(){if(!f)return;P();const n=document.querySelectorAll('[for="'+f+'"]');for(let c of n)c.addEventListener("click",_)}function Q(n=!0,c=!0){let l=[].concat(L);return l=l.concat(T||[]),n&&(l=l.concat(H||[])),c&&(l=l.concat(J||[])),l}function X(n){var w;let c=n.matchBefore(/[\'\"\@\w\.]*/);if(c&&c.from==c.to&&!n.explicit)return null;let l=_e(n.state).resolveInner(n.pos,-1);if(((w=l==null?void 0:l.type)==null?void 0:w.name)=="comment")return null;let m=[{label:"false"},{label:"true"},{label:"@now"},{label:"@second"},{label:"@minute"},{label:"@hour"},{label:"@year"},{label:"@day"},{label:"@month"},{label:"@weekday"},{label:"@todayStart"},{label:"@todayEnd"},{label:"@monthStart"},{label:"@monthEnd"},{label:"@yearStart"},{label:"@yearEnd"}];x||m.push({label:"@collection.*",apply:"@collection."});let C=Q(!b&&c.text.startsWith("@r"),!x&&c.text.startsWith("@c"));for(const k of C)m.push({label:k.endsWith(".")?k+"*":k,apply:k,boost:k.indexOf("_via_")>0?-1:0});return{from:c.from,options:m}}function N(){return qe.define(Oe({start:[{regex:/true|false|null/,token:"atom"},{regex:/\/\/.*/,token:"comment"},{regex:/"(?:[^\\]|\\.)*?(?:"|$)/,token:"string"},{regex:/'(?:[^\\]|\\.)*?(?:'|$)/,token:"string"},{regex:/0x[a-f\d]+|[-+]?(?:\.\d+|\d+\.?\d*)(?:e[-+]?\d+)?/i,token:"number"},{regex:/\&\&|\|\||\=|\!\=|\~|\!\~|\>|\<|\>\=|\<\=/,token:"operator"},{regex:/[\{\[\(]/,indent:!0},{regex:/[\}\]\)]/,dedent:!0},{regex:/\w+[\w\.]*\w+/,token:"keyword"},{regex:u.escapeRegExp("@now"),token:"keyword"},{regex:u.escapeRegExp("@second"),token:"keyword"},{regex:u.escapeRegExp("@minute"),token:"keyword"},{regex:u.escapeRegExp("@hour"),token:"keyword"},{regex:u.escapeRegExp("@year"),token:"keyword"},{regex:u.escapeRegExp("@day"),token:"keyword"},{regex:u.escapeRegExp("@month"),token:"keyword"},{regex:u.escapeRegExp("@weekday"),token:"keyword"},{regex:u.escapeRegExp("@todayStart"),token:"keyword"},{regex:u.escapeRegExp("@todayEnd"),token:"keyword"},{regex:u.escapeRegExp("@monthStart"),token:"keyword"},{regex:u.escapeRegExp("@monthEnd"),token:"keyword"},{regex:u.escapeRegExp("@yearStart"),token:"keyword"},{regex:u.escapeRegExp("@yearEnd"),token:"keyword"},{regex:u.escapeRegExp("@request.method"),token:"keyword"}],meta:{lineComment:"//"}}))}de(()=>{const n={key:"Enter",run:l=>{y&&h("submit",a)}};U();let c=[n,...fe,...ue,ge.find(l=>l.key==="Mod-d"),...he,...ye];return y||c.push(ve),t(11,d=new E({parent:p,state:S.create({doc:a,extensions:[pe(),ke(),xe(),me(),be(),S.allowMultipleSelections.of(!0),we(We,{fallback:!0}),Ee(),Se(),Ke(),Ce(),Re.of(c),E.lineWrapping,Le({override:[X],icons:!1}),B.of(G(o)),M.of(E.editable.of(!i)),A.of(S.readOnly.of(i)),D.of(N()),S.transactionFilter.of(l=>{var m,C,w;if(y&&l.newDoc.lines>1){if(!((w=(C=(m=l.changes)==null?void 0:m.inserted)==null?void 0:C.filter(k=>!!k.text.find(Z=>Z)))!=null&&w.length))return[];l.newDoc.text=[l.newDoc.text.join(" ")]}return l}),E.updateListener.of(l=>{!l.docChanged||i||(t(1,a=l.state.doc.toString()),F())})]})})),()=>{clearTimeout(I),P(),d==null||d.destroy(),v.terminate()}});function Y(n){ce[n?"unshift":"push"](()=>{p=n,t(0,p)})}return e.$$set=n=>{"id"in n&&t(2,f=n.id),"value"in n&&t(1,a=n.value),"disabled"in n&&t(3,i=n.disabled),"placeholder"in n&&t(4,o=n.placeholder),"baseCollection"in n&&t(5,s=n.baseCollection),"singleLine"in n&&t(6,y=n.singleLine),"extraAutocompleteKeys"in n&&t(7,L=n.extraAutocompleteKeys),"disableRequestKeys"in n&&t(8,b=n.disableRequestKeys),"disableCollectionJoinKeys"in n&&t(9,x=n.disableCollectionJoinKeys)},e.$$.update=()=>{e.$$.dirty[0]&32&&t(13,K=Te(s)),e.$$.dirty[0]&25352&&!i&&(W!=K||b!==-1||x!==-1)&&(t(14,W=K),V()),e.$$.dirty[0]&4&&f&&U(),e.$$.dirty[0]&2080&&d&&s!=null&&s.fields&&d.dispatch({effects:[D.reconfigure(N())]}),e.$$.dirty[0]&6152&&d&&q!=i&&(d.dispatch({effects:[M.reconfigure(E.editable.of(!i)),A.reconfigure(S.readOnly.of(i))]}),t(12,q=i),F()),e.$$.dirty[0]&2050&&d&&a!=d.state.doc.toString()&&d.dispatch({changes:{from:0,to:d.state.doc.length,insert:a}}),e.$$.dirty[0]&2064&&d&&typeof o<"u"&&d.dispatch({effects:[B.reconfigure(G(o))]})},[p,a,f,i,o,s,y,L,b,x,_,d,q,K,W,Y]}class Ne extends ${constructor(r){super(),ee(this,r,Fe,Je,te,{id:2,value:1,disabled:3,placeholder:4,baseCollection:5,singleLine:6,extraAutocompleteKeys:7,disableRequestKeys:8,disableCollectionJoinKeys:9,focus:10},null,[-1,-1])}get focus(){return this.$$.ctx[10]}}export{Ne as default};
diff --git a/ui/dist/assets/ListApiDocs-BH_qyQ5z.js b/ui/dist/assets/ListApiDocs--hFhtamL.js
similarity index 99%
rename from ui/dist/assets/ListApiDocs-BH_qyQ5z.js
rename to ui/dist/assets/ListApiDocs--hFhtamL.js
index a20a5e7b..6a03ef20 100644
--- a/ui/dist/assets/ListApiDocs-BH_qyQ5z.js
+++ b/ui/dist/assets/ListApiDocs--hFhtamL.js
@@ -1,4 +1,4 @@
-import{S as Ze,i as tl,s as el,f as e,h as s,K as sl,j as a,l as m,o as ll,H as je,u as h,y as g,n as t,U as nl,V as ve,W as se,c as jt,m as Ut,G as ke,X as Ue,Y as ol,D as al,Z as il,E as rl,t as $t,a as Ct,d as Kt,_ as cl,I as Le,p as dl,k as Fe}from"./index-DF0EYp3m.js";import{F as pl}from"./FieldsQueryParam-DbnShkuc.js";function fl(r){let n,o,i;return{c(){n=e("span"),n.textContent="Show details",o=s(),i=e("i"),a(n,"class","txt"),a(i,"class","ri-arrow-down-s-line")},m(f,b){m(f,n,b),m(f,o,b),m(f,i,b)},d(f){f&&(h(n),h(o),h(i))}}}function ul(r){let n,o,i;return{c(){n=e("span"),n.textContent="Hide details",o=s(),i=e("i"),a(n,"class","txt"),a(i,"class","ri-arrow-up-s-line")},m(f,b){m(f,n,b),m(f,o,b),m(f,i,b)},d(f){f&&(h(n),h(o),h(i))}}}function Ke(r){let n,o,i,f,b,p,u,C,_,$,d,tt,kt,zt,S,Qt,H,rt,R,et,ne,j,U,oe,ct,yt,lt,vt,ae,dt,pt,st,N,Jt,Ft,y,nt,Lt,Vt,At,K,ot,Tt,Wt,Pt,F,ft,Rt,ie,ut,re,M,Ot,at,Et,O,mt,ce,z,St,Xt,Nt,de,q,Yt,Q,ht,pe,I,fe,B,ue,P,qt,J,bt,me,gt,he,x,Dt,it,Ht,be,Mt,Zt,V,_t,ge,It,_e,wt,we,W,G,xe,xt,te,X,ee,L,Y,E,Bt,$e,Z,v,Gt;return{c(){n=e("p"),n.innerHTML=`The syntax basically follows the format
+import{S as Ze,i as tl,s as el,f as e,h as s,K as sl,j as a,l as m,o as ll,H as je,u as h,y as g,n as t,U as nl,V as ve,W as se,c as jt,m as Ut,G as ke,X as Ue,Y as ol,D as al,Z as il,E as rl,t as $t,a as Ct,d as Kt,_ as cl,I as Le,p as dl,k as Fe}from"./index-zTV3nJbA.js";import{F as pl}from"./FieldsQueryParam-V2urDtNW.js";function fl(r){let n,o,i;return{c(){n=e("span"),n.textContent="Show details",o=s(),i=e("i"),a(n,"class","txt"),a(i,"class","ri-arrow-down-s-line")},m(f,b){m(f,n,b),m(f,o,b),m(f,i,b)},d(f){f&&(h(n),h(o),h(i))}}}function ul(r){let n,o,i;return{c(){n=e("span"),n.textContent="Hide details",o=s(),i=e("i"),a(n,"class","txt"),a(i,"class","ri-arrow-up-s-line")},m(f,b){m(f,n,b),m(f,o,b),m(f,i,b)},d(f){f&&(h(n),h(o),h(i))}}}function Ke(r){let n,o,i,f,b,p,u,C,_,$,d,tt,kt,zt,S,Qt,H,rt,R,et,ne,j,U,oe,ct,yt,lt,vt,ae,dt,pt,st,N,Jt,Ft,y,nt,Lt,Vt,At,K,ot,Tt,Wt,Pt,F,ft,Rt,ie,ut,re,M,Ot,at,Et,O,mt,ce,z,St,Xt,Nt,de,q,Yt,Q,ht,pe,I,fe,B,ue,P,qt,J,bt,me,gt,he,x,Dt,it,Ht,be,Mt,Zt,V,_t,ge,It,_e,wt,we,W,G,xe,xt,te,X,ee,L,Y,E,Bt,$e,Z,v,Gt;return{c(){n=e("p"),n.innerHTML=`The syntax basically follows the format
         <code><span class="txt-success">OPERAND</span> <span class="txt-danger">OPERATOR</span> <span class="txt-success">OPERAND</span></code>, where:`,o=s(),i=e("ul"),f=e("li"),f.innerHTML=`<code class="txt-success">OPERAND</code> - could be any of the above field literal, string (single
             or double quoted), number, null, true, false`,b=s(),p=e("li"),u=e("code"),u.textContent="OPERATOR",C=g(` - is one of:
             `),_=e("br"),$=s(),d=e("ul"),tt=e("li"),kt=e("code"),kt.textContent="=",zt=s(),S=e("span"),S.textContent="Equal",Qt=s(),H=e("li"),rt=e("code"),rt.textContent="!=",R=s(),et=e("span"),et.textContent="NOT equal",ne=s(),j=e("li"),U=e("code"),U.textContent=">",oe=s(),ct=e("span"),ct.textContent="Greater than",yt=s(),lt=e("li"),vt=e("code"),vt.textContent=">=",ae=s(),dt=e("span"),dt.textContent="Greater than or equal",pt=s(),st=e("li"),N=e("code"),N.textContent="<",Jt=s(),Ft=e("span"),Ft.textContent="Less than",y=s(),nt=e("li"),Lt=e("code"),Lt.textContent="<=",Vt=s(),At=e("span"),At.textContent="Less than or equal",K=s(),ot=e("li"),Tt=e("code"),Tt.textContent="~",Wt=s(),Pt=e("span"),Pt.textContent=`Like/Contains (if not specified auto wraps the right string OPERAND in a "%" for
diff --git a/ui/dist/assets/PageInstaller-B_fgTpbw.js b/ui/dist/assets/PageInstaller-D8GlaVLM.js
similarity index 98%
rename from ui/dist/assets/PageInstaller-B_fgTpbw.js
rename to ui/dist/assets/PageInstaller-D8GlaVLM.js
index 723079a5..50911379 100644
--- a/ui/dist/assets/PageInstaller-B_fgTpbw.js
+++ b/ui/dist/assets/PageInstaller-D8GlaVLM.js
@@ -1,3 +1,3 @@
-import{S as R,i as U,s as W,F as G,c as M,m as S,t as E,a as O,d as j,r as H,g as J,p as z,b as Q,e as D,f as w,h as $,j as f,k as T,l as m,n as P,o as B,q as V,u as _,v as X,w as Y,x as Z,y as K,z as F,A as x}from"./index-DF0EYp3m.js";function ee(i){let t,u,r,n,e,p,c,d;return{c(){t=w("label"),u=K("Email"),n=$(),e=w("input"),f(t,"for",r=i[18]),f(e,"type","email"),f(e,"autocomplete","off"),f(e,"id",p=i[18]),e.disabled=i[6],e.required=!0,e.autofocus=!0},m(o,a){m(o,t,a),P(t,u),m(o,n,a),m(o,e,a),F(e,i[2]),e.focus(),c||(d=B(e,"input",i[10]),c=!0)},p(o,a){a&262144&&r!==(r=o[18])&&f(t,"for",r),a&262144&&p!==(p=o[18])&&f(e,"id",p),a&64&&(e.disabled=o[6]),a&4&&e.value!==o[2]&&F(e,o[2])},d(o){o&&(_(t),_(n),_(e)),c=!1,d()}}}function te(i){let t,u,r,n,e,p,c,d,o,a;return{c(){t=w("label"),u=K("Password"),n=$(),e=w("input"),c=$(),d=w("div"),d.textContent="Recommended at least 10 characters.",f(t,"for",r=i[18]),f(e,"type","password"),f(e,"autocomplete","new-password"),f(e,"minlength","10"),f(e,"id",p=i[18]),e.disabled=i[6],e.required=!0,f(d,"class","help-block")},m(b,h){m(b,t,h),P(t,u),m(b,n,h),m(b,e,h),F(e,i[3]),m(b,c,h),m(b,d,h),o||(a=B(e,"input",i[11]),o=!0)},p(b,h){h&262144&&r!==(r=b[18])&&f(t,"for",r),h&262144&&p!==(p=b[18])&&f(e,"id",p),h&64&&(e.disabled=b[6]),h&8&&e.value!==b[3]&&F(e,b[3])},d(b){b&&(_(t),_(n),_(e),_(c),_(d)),o=!1,a()}}}function ne(i){let t,u,r,n,e,p,c,d;return{c(){t=w("label"),u=K("Password confirm"),n=$(),e=w("input"),f(t,"for",r=i[18]),f(e,"type","password"),f(e,"minlength","10"),f(e,"id",p=i[18]),e.disabled=i[6],e.required=!0},m(o,a){m(o,t,a),P(t,u),m(o,n,a),m(o,e,a),F(e,i[4]),c||(d=B(e,"input",i[12]),c=!0)},p(o,a){a&262144&&r!==(r=o[18])&&f(t,"for",r),a&262144&&p!==(p=o[18])&&f(e,"id",p),a&64&&(e.disabled=o[6]),a&16&&e.value!==o[4]&&F(e,o[4])},d(o){o&&(_(t),_(n),_(e)),c=!1,d()}}}function le(i){let t,u,r,n,e,p,c,d,o,a,b,h,C,g,A,k,v,I,L;return n=new D({props:{class:"form-field required",name:"email",$$slots:{default:[ee,({uniqueId:s})=>({18:s}),({uniqueId:s})=>s?262144:0]},$$scope:{ctx:i}}}),p=new D({props:{class:"form-field required",name:"password",$$slots:{default:[te,({uniqueId:s})=>({18:s}),({uniqueId:s})=>s?262144:0]},$$scope:{ctx:i}}}),d=new D({props:{class:"form-field required",name:"passwordConfirm",$$slots:{default:[ne,({uniqueId:s})=>({18:s}),({uniqueId:s})=>s?262144:0]},$$scope:{ctx:i}}}),{c(){t=w("form"),u=w("div"),u.innerHTML="<h4>Create your first superuser account in order to continue</h4>",r=$(),M(n.$$.fragment),e=$(),M(p.$$.fragment),c=$(),M(d.$$.fragment),o=$(),a=w("button"),a.innerHTML='<span class="txt">Create superuser and login</span> <i class="ri-arrow-right-line"></i>',b=$(),h=w("hr"),C=$(),g=w("label"),g.innerHTML='<i class="ri-upload-cloud-line"></i> <span class="txt">Or initialize from backup</span>',A=$(),k=w("input"),f(u,"class","content txt-center m-b-base"),f(a,"type","submit"),f(a,"class","btn btn-lg btn-block btn-next"),T(a,"btn-disabled",i[6]),T(a,"btn-loading",i[0]),f(t,"class","block"),f(t,"autocomplete","off"),f(g,"for","backupFileInput"),f(g,"class","btn btn-lg btn-hint btn-transparent btn-block"),T(g,"btn-disabled",i[6]),T(g,"btn-loading",i[1]),f(k,"id","backupFileInput"),f(k,"type","file"),f(k,"class","hidden"),f(k,"accept",".zip")},m(s,l){m(s,t,l),P(t,u),P(t,r),S(n,t,null),P(t,e),S(p,t,null),P(t,c),S(d,t,null),P(t,o),P(t,a),m(s,b,l),m(s,h,l),m(s,C,l),m(s,g,l),m(s,A,l),m(s,k,l),i[13](k),v=!0,I||(L=[B(t,"submit",V(i[7])),B(k,"change",i[14])],I=!0)},p(s,l){const q={};l&786500&&(q.$$scope={dirty:l,ctx:s}),n.$set(q);const y={};l&786504&&(y.$$scope={dirty:l,ctx:s}),p.$set(y);const N={};l&786512&&(N.$$scope={dirty:l,ctx:s}),d.$set(N),(!v||l&64)&&T(a,"btn-disabled",s[6]),(!v||l&1)&&T(a,"btn-loading",s[0]),(!v||l&64)&&T(g,"btn-disabled",s[6]),(!v||l&2)&&T(g,"btn-loading",s[1])},i(s){v||(E(n.$$.fragment,s),E(p.$$.fragment,s),E(d.$$.fragment,s),v=!0)},o(s){O(n.$$.fragment,s),O(p.$$.fragment,s),O(d.$$.fragment,s),v=!1},d(s){s&&(_(t),_(b),_(h),_(C),_(g),_(A),_(k)),j(n),j(p),j(d),i[13](null),I=!1,X(L)}}}function se(i){let t,u;return t=new G({props:{$$slots:{default:[le]},$$scope:{ctx:i}}}),{c(){M(t.$$.fragment)},m(r,n){S(t,r,n),u=!0},p(r,[n]){const e={};n&524415&&(e.$$scope={dirty:n,ctx:r}),t.$set(e)},i(r){u||(E(t.$$.fragment,r),u=!0)},o(r){O(t.$$.fragment,r),u=!1},d(r){j(t,r)}}}function ae(i,t,u){let r,{params:n}=t,e="",p="",c="",d=!1,o=!1,a;b();async function b(){if(!(n!=null&&n.token))return H("/");u(0,d=!0);try{const l=J(n==null?void 0:n.token);await z.collection("_superusers").getOne(l.id,{requestKey:"installer_token_check",headers:{Authorization:n==null?void 0:n.token}})}catch(l){l!=null&&l.isAbort||(Q("The installer token is invalid or has expired."),H("/"))}u(0,d=!1)}async function h(){if(!r){u(0,d=!0);try{await z.collection("_superusers").create({email:e,password:p,passwordConfirm:c},{headers:{Authorization:n==null?void 0:n.token}}),await z.collection("_superusers").authWithPassword(e,p),H("/")}catch(l){z.error(l)}u(0,d=!1)}}function C(){a&&u(5,a.value="",a)}function g(l){l&&Y(`Note that we don't perform validations for the uploaded backup files. Proceed with caution and only if you trust the file source.
+import{S as R,i as U,s as W,F as G,c as M,m as S,t as E,a as O,d as j,r as H,g as J,p as z,b as Q,e as D,f as w,h as $,j as f,k as T,l as m,n as P,o as B,q as V,u as _,v as X,w as Y,x as Z,y as K,z as F,A as x}from"./index-zTV3nJbA.js";function ee(i){let t,u,r,n,e,p,c,d;return{c(){t=w("label"),u=K("Email"),n=$(),e=w("input"),f(t,"for",r=i[18]),f(e,"type","email"),f(e,"autocomplete","off"),f(e,"id",p=i[18]),e.disabled=i[6],e.required=!0,e.autofocus=!0},m(o,a){m(o,t,a),P(t,u),m(o,n,a),m(o,e,a),F(e,i[2]),e.focus(),c||(d=B(e,"input",i[10]),c=!0)},p(o,a){a&262144&&r!==(r=o[18])&&f(t,"for",r),a&262144&&p!==(p=o[18])&&f(e,"id",p),a&64&&(e.disabled=o[6]),a&4&&e.value!==o[2]&&F(e,o[2])},d(o){o&&(_(t),_(n),_(e)),c=!1,d()}}}function te(i){let t,u,r,n,e,p,c,d,o,a;return{c(){t=w("label"),u=K("Password"),n=$(),e=w("input"),c=$(),d=w("div"),d.textContent="Recommended at least 10 characters.",f(t,"for",r=i[18]),f(e,"type","password"),f(e,"autocomplete","new-password"),f(e,"minlength","10"),f(e,"id",p=i[18]),e.disabled=i[6],e.required=!0,f(d,"class","help-block")},m(b,h){m(b,t,h),P(t,u),m(b,n,h),m(b,e,h),F(e,i[3]),m(b,c,h),m(b,d,h),o||(a=B(e,"input",i[11]),o=!0)},p(b,h){h&262144&&r!==(r=b[18])&&f(t,"for",r),h&262144&&p!==(p=b[18])&&f(e,"id",p),h&64&&(e.disabled=b[6]),h&8&&e.value!==b[3]&&F(e,b[3])},d(b){b&&(_(t),_(n),_(e),_(c),_(d)),o=!1,a()}}}function ne(i){let t,u,r,n,e,p,c,d;return{c(){t=w("label"),u=K("Password confirm"),n=$(),e=w("input"),f(t,"for",r=i[18]),f(e,"type","password"),f(e,"minlength","10"),f(e,"id",p=i[18]),e.disabled=i[6],e.required=!0},m(o,a){m(o,t,a),P(t,u),m(o,n,a),m(o,e,a),F(e,i[4]),c||(d=B(e,"input",i[12]),c=!0)},p(o,a){a&262144&&r!==(r=o[18])&&f(t,"for",r),a&262144&&p!==(p=o[18])&&f(e,"id",p),a&64&&(e.disabled=o[6]),a&16&&e.value!==o[4]&&F(e,o[4])},d(o){o&&(_(t),_(n),_(e)),c=!1,d()}}}function le(i){let t,u,r,n,e,p,c,d,o,a,b,h,C,g,A,k,v,I,L;return n=new D({props:{class:"form-field required",name:"email",$$slots:{default:[ee,({uniqueId:s})=>({18:s}),({uniqueId:s})=>s?262144:0]},$$scope:{ctx:i}}}),p=new D({props:{class:"form-field required",name:"password",$$slots:{default:[te,({uniqueId:s})=>({18:s}),({uniqueId:s})=>s?262144:0]},$$scope:{ctx:i}}}),d=new D({props:{class:"form-field required",name:"passwordConfirm",$$slots:{default:[ne,({uniqueId:s})=>({18:s}),({uniqueId:s})=>s?262144:0]},$$scope:{ctx:i}}}),{c(){t=w("form"),u=w("div"),u.innerHTML="<h4>Create your first superuser account in order to continue</h4>",r=$(),M(n.$$.fragment),e=$(),M(p.$$.fragment),c=$(),M(d.$$.fragment),o=$(),a=w("button"),a.innerHTML='<span class="txt">Create superuser and login</span> <i class="ri-arrow-right-line"></i>',b=$(),h=w("hr"),C=$(),g=w("label"),g.innerHTML='<i class="ri-upload-cloud-line"></i> <span class="txt">Or initialize from backup</span>',A=$(),k=w("input"),f(u,"class","content txt-center m-b-base"),f(a,"type","submit"),f(a,"class","btn btn-lg btn-block btn-next"),T(a,"btn-disabled",i[6]),T(a,"btn-loading",i[0]),f(t,"class","block"),f(t,"autocomplete","off"),f(g,"for","backupFileInput"),f(g,"class","btn btn-lg btn-hint btn-transparent btn-block"),T(g,"btn-disabled",i[6]),T(g,"btn-loading",i[1]),f(k,"id","backupFileInput"),f(k,"type","file"),f(k,"class","hidden"),f(k,"accept",".zip")},m(s,l){m(s,t,l),P(t,u),P(t,r),S(n,t,null),P(t,e),S(p,t,null),P(t,c),S(d,t,null),P(t,o),P(t,a),m(s,b,l),m(s,h,l),m(s,C,l),m(s,g,l),m(s,A,l),m(s,k,l),i[13](k),v=!0,I||(L=[B(t,"submit",V(i[7])),B(k,"change",i[14])],I=!0)},p(s,l){const q={};l&786500&&(q.$$scope={dirty:l,ctx:s}),n.$set(q);const y={};l&786504&&(y.$$scope={dirty:l,ctx:s}),p.$set(y);const N={};l&786512&&(N.$$scope={dirty:l,ctx:s}),d.$set(N),(!v||l&64)&&T(a,"btn-disabled",s[6]),(!v||l&1)&&T(a,"btn-loading",s[0]),(!v||l&64)&&T(g,"btn-disabled",s[6]),(!v||l&2)&&T(g,"btn-loading",s[1])},i(s){v||(E(n.$$.fragment,s),E(p.$$.fragment,s),E(d.$$.fragment,s),v=!0)},o(s){O(n.$$.fragment,s),O(p.$$.fragment,s),O(d.$$.fragment,s),v=!1},d(s){s&&(_(t),_(b),_(h),_(C),_(g),_(A),_(k)),j(n),j(p),j(d),i[13](null),I=!1,X(L)}}}function se(i){let t,u;return t=new G({props:{$$slots:{default:[le]},$$scope:{ctx:i}}}),{c(){M(t.$$.fragment)},m(r,n){S(t,r,n),u=!0},p(r,[n]){const e={};n&524415&&(e.$$scope={dirty:n,ctx:r}),t.$set(e)},i(r){u||(E(t.$$.fragment,r),u=!0)},o(r){O(t.$$.fragment,r),u=!1},d(r){j(t,r)}}}function ae(i,t,u){let r,{params:n}=t,e="",p="",c="",d=!1,o=!1,a;b();async function b(){if(!(n!=null&&n.token))return H("/");u(0,d=!0);try{const l=J(n==null?void 0:n.token);await z.collection("_superusers").getOne(l.id,{requestKey:"installer_token_check",headers:{Authorization:n==null?void 0:n.token}})}catch(l){l!=null&&l.isAbort||(Q("The installer token is invalid or has expired."),H("/"))}u(0,d=!1)}async function h(){if(!r){u(0,d=!0);try{await z.collection("_superusers").create({email:e,password:p,passwordConfirm:c},{headers:{Authorization:n==null?void 0:n.token}}),await z.collection("_superusers").authWithPassword(e,p),H("/")}catch(l){z.error(l)}u(0,d=!1)}}function C(){a&&u(5,a.value="",a)}function g(l){l&&Y(`Note that we don't perform validations for the uploaded backup files. Proceed with caution and only if you trust the file source.
 
 Do you really want to upload and initialize "${l.name}"?`,()=>{A(l)},()=>{C()})}async function A(l){if(!(!l||r)){u(1,o=!0);try{await z.backups.upload({file:l},{headers:{Authorization:n==null?void 0:n.token}}),await z.backups.restore(l.name,{headers:{Authorization:n==null?void 0:n.token}}),x("Please wait while extracting the uploaded archive!"),await new Promise(q=>setTimeout(q,2e3)),H("/")}catch(q){z.error(q)}C(),u(1,o=!1)}}function k(){e=this.value,u(2,e)}function v(){p=this.value,u(3,p)}function I(){c=this.value,u(4,c)}function L(l){Z[l?"unshift":"push"](()=>{a=l,u(5,a)})}const s=l=>{var q,y;g((y=(q=l.target)==null?void 0:q.files)==null?void 0:y[0])};return i.$$set=l=>{"params"in l&&u(9,n=l.params)},i.$$.update=()=>{i.$$.dirty&3&&u(6,r=d||o)},[d,o,e,p,c,a,r,h,g,n,k,v,I,L,s]}class oe extends R{constructor(t){super(),U(this,t,ae,se,W,{params:9})}}export{oe as default};
diff --git a/ui/dist/assets/PageOAuth2RedirectFailure-CsSjlH_-.js b/ui/dist/assets/PageOAuth2RedirectFailure-B2Kl5IoI.js
similarity index 88%
rename from ui/dist/assets/PageOAuth2RedirectFailure-CsSjlH_-.js
rename to ui/dist/assets/PageOAuth2RedirectFailure-B2Kl5IoI.js
index 350d518f..3387c994 100644
--- a/ui/dist/assets/PageOAuth2RedirectFailure-CsSjlH_-.js
+++ b/ui/dist/assets/PageOAuth2RedirectFailure-B2Kl5IoI.js
@@ -1 +1 @@
-import{S as r,i as c,s as l,f as u,j as p,l as h,H as n,u as d,N as f,O as m,P as g,Q as o}from"./index-DF0EYp3m.js";function _(s){let t;return{c(){t=u("div"),t.innerHTML='<h3 class="m-b-sm">Auth failed.</h3> <h5>You can close this window and go back to the app to try again.</h5>',p(t,"class","content txt-hint txt-center p-base")},m(e,a){h(e,t,a)},p:n,i:n,o:n,d(e){e&&d(t)}}}function b(s,t,e){let a;return f(s,o,i=>e(0,a=i)),m(o,a="OAuth2 auth failed",a),g(()=>{window.close()}),[]}class v extends r{constructor(t){super(),c(this,t,b,_,l,{})}}export{v as default};
+import{S as r,i as c,s as l,f as u,j as p,l as h,H as n,u as d,N as f,O as m,P as g,Q as o}from"./index-zTV3nJbA.js";function _(s){let t;return{c(){t=u("div"),t.innerHTML='<h3 class="m-b-sm">Auth failed.</h3> <h5>You can close this window and go back to the app to try again.</h5>',p(t,"class","content txt-hint txt-center p-base")},m(e,a){h(e,t,a)},p:n,i:n,o:n,d(e){e&&d(t)}}}function b(s,t,e){let a;return f(s,o,i=>e(0,a=i)),m(o,a="OAuth2 auth failed",a),g(()=>{window.close()}),[]}class v extends r{constructor(t){super(),c(this,t,b,_,l,{})}}export{v as default};
diff --git a/ui/dist/assets/PageOAuth2RedirectSuccess-BWa5jmVD.js b/ui/dist/assets/PageOAuth2RedirectSuccess-BWY7TQLu.js
similarity index 88%
rename from ui/dist/assets/PageOAuth2RedirectSuccess-BWa5jmVD.js
rename to ui/dist/assets/PageOAuth2RedirectSuccess-BWY7TQLu.js
index 13bb2a1f..52d2ccba 100644
--- a/ui/dist/assets/PageOAuth2RedirectSuccess-BWa5jmVD.js
+++ b/ui/dist/assets/PageOAuth2RedirectSuccess-BWY7TQLu.js
@@ -1 +1 @@
-import{S as i,i as r,s as u,f as l,j as p,l as h,H as n,u as d,N as m,O as f,P as _,Q as o}from"./index-DF0EYp3m.js";function b(a){let t;return{c(){t=l("div"),t.innerHTML='<h3 class="m-b-sm">Auth completed.</h3> <h5>You can close this window and go back to the app.</h5>',p(t,"class","content txt-hint txt-center p-base")},m(e,s){h(e,t,s)},p:n,i:n,o:n,d(e){e&&d(t)}}}function g(a,t,e){let s;return m(a,o,c=>e(0,s=c)),f(o,s="OAuth2 auth completed",s),_(()=>{window.close()}),[]}class v extends i{constructor(t){super(),r(this,t,g,b,u,{})}}export{v as default};
+import{S as i,i as r,s as u,f as l,j as p,l as h,H as n,u as d,N as m,O as f,P as _,Q as o}from"./index-zTV3nJbA.js";function b(a){let t;return{c(){t=l("div"),t.innerHTML='<h3 class="m-b-sm">Auth completed.</h3> <h5>You can close this window and go back to the app.</h5>',p(t,"class","content txt-hint txt-center p-base")},m(e,s){h(e,t,s)},p:n,i:n,o:n,d(e){e&&d(t)}}}function g(a,t,e){let s;return m(a,o,c=>e(0,s=c)),f(o,s="OAuth2 auth completed",s),_(()=>{window.close()}),[]}class v extends i{constructor(t){super(),r(this,t,g,b,u,{})}}export{v as default};
diff --git a/ui/dist/assets/PageRecordConfirmEmailChange-BK2d5uSN.js b/ui/dist/assets/PageRecordConfirmEmailChange-CRN7SPCn.js
similarity index 98%
rename from ui/dist/assets/PageRecordConfirmEmailChange-BK2d5uSN.js
rename to ui/dist/assets/PageRecordConfirmEmailChange-CRN7SPCn.js
index d1e08fc9..790f6c8d 100644
--- a/ui/dist/assets/PageRecordConfirmEmailChange-BK2d5uSN.js
+++ b/ui/dist/assets/PageRecordConfirmEmailChange-CRN7SPCn.js
@@ -1,2 +1,2 @@
-import{S as j,i as z,s as D,F as G,c as L,m as S,t as h,a as y,d as I,I as J,K,l as _,D as M,E as N,u as b,L as R,g as W,p as Y,e as A,f as m,y as v,h as C,j as p,k as T,n as g,o as P,q as B,H as E,G as O,z as F}from"./index-DF0EYp3m.js";function Q(i){let e,t,n,l,s,o,f,a,r,u,k,$,d=i[3]&&H(i);return o=new A({props:{class:"form-field required",name:"password",$$slots:{default:[V,({uniqueId:c})=>({8:c}),({uniqueId:c})=>c?256:0]},$$scope:{ctx:i}}}),{c(){e=m("form"),t=m("div"),n=m("h5"),l=v(`Type your password to confirm changing your email address
+import{S as j,i as z,s as D,F as G,c as L,m as S,t as h,a as y,d as I,I as J,K,l as _,D as M,E as N,u as b,L as R,g as W,p as Y,e as A,f as m,y as v,h as C,j as p,k as T,n as g,o as P,q as B,H as E,G as O,z as F}from"./index-zTV3nJbA.js";function Q(i){let e,t,n,l,s,o,f,a,r,u,k,$,d=i[3]&&H(i);return o=new A({props:{class:"form-field required",name:"password",$$slots:{default:[V,({uniqueId:c})=>({8:c}),({uniqueId:c})=>c?256:0]},$$scope:{ctx:i}}}),{c(){e=m("form"),t=m("div"),n=m("h5"),l=v(`Type your password to confirm changing your email address
                     `),d&&d.c(),s=C(),L(o.$$.fragment),f=C(),a=m("button"),r=m("span"),r.textContent="Confirm new email",p(t,"class","content txt-center m-b-base"),p(r,"class","txt"),p(a,"type","submit"),p(a,"class","btn btn-lg btn-block"),a.disabled=i[1],T(a,"btn-loading",i[1])},m(c,w){_(c,e,w),g(e,t),g(t,n),g(n,l),d&&d.m(n,null),g(e,s),S(o,e,null),g(e,f),g(e,a),g(a,r),u=!0,k||($=P(e,"submit",B(i[4])),k=!0)},p(c,w){c[3]?d?d.p(c,w):(d=H(c),d.c(),d.m(n,null)):d&&(d.d(1),d=null);const q={};w&769&&(q.$$scope={dirty:w,ctx:c}),o.$set(q),(!u||w&2)&&(a.disabled=c[1]),(!u||w&2)&&T(a,"btn-loading",c[1])},i(c){u||(h(o.$$.fragment,c),u=!0)},o(c){y(o.$$.fragment,c),u=!1},d(c){c&&b(e),d&&d.d(),I(o),k=!1,$()}}}function U(i){let e,t,n,l,s;return{c(){e=m("div"),e.innerHTML='<div class="icon"><i class="ri-checkbox-circle-line"></i></div> <div class="content txt-bold"><p>Successfully changed the user email address.</p> <p>You can now sign in with your new email address.</p></div>',t=C(),n=m("button"),n.textContent="Close",p(e,"class","alert alert-success"),p(n,"type","button"),p(n,"class","btn btn-transparent btn-block")},m(o,f){_(o,e,f),_(o,t,f),_(o,n,f),l||(s=P(n,"click",i[6]),l=!0)},p:E,i:E,o:E,d(o){o&&(b(e),b(t),b(n)),l=!1,s()}}}function H(i){let e,t,n;return{c(){e=v("to "),t=m("strong"),n=v(i[3]),p(t,"class","txt-nowrap")},m(l,s){_(l,e,s),_(l,t,s),g(t,n)},p(l,s){s&8&&O(n,l[3])},d(l){l&&(b(e),b(t))}}}function V(i){let e,t,n,l,s,o,f,a;return{c(){e=m("label"),t=v("Password"),l=C(),s=m("input"),p(e,"for",n=i[8]),p(s,"type","password"),p(s,"id",o=i[8]),s.required=!0,s.autofocus=!0},m(r,u){_(r,e,u),g(e,t),_(r,l,u),_(r,s,u),F(s,i[0]),s.focus(),f||(a=P(s,"input",i[7]),f=!0)},p(r,u){u&256&&n!==(n=r[8])&&p(e,"for",n),u&256&&o!==(o=r[8])&&p(s,"id",o),u&1&&s.value!==r[0]&&F(s,r[0])},d(r){r&&(b(e),b(l),b(s)),f=!1,a()}}}function X(i){let e,t,n,l;const s=[U,Q],o=[];function f(a,r){return a[2]?0:1}return e=f(i),t=o[e]=s[e](i),{c(){t.c(),n=K()},m(a,r){o[e].m(a,r),_(a,n,r),l=!0},p(a,r){let u=e;e=f(a),e===u?o[e].p(a,r):(M(),y(o[u],1,1,()=>{o[u]=null}),N(),t=o[e],t?t.p(a,r):(t=o[e]=s[e](a),t.c()),h(t,1),t.m(n.parentNode,n))},i(a){l||(h(t),l=!0)},o(a){y(t),l=!1},d(a){a&&b(n),o[e].d(a)}}}function Z(i){let e,t;return e=new G({props:{nobranding:!0,$$slots:{default:[X]},$$scope:{ctx:i}}}),{c(){L(e.$$.fragment)},m(n,l){S(e,n,l),t=!0},p(n,[l]){const s={};l&527&&(s.$$scope={dirty:l,ctx:n}),e.$set(s)},i(n){t||(h(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){I(e,n)}}}function x(i,e,t){let n,{params:l}=e,s="",o=!1,f=!1;async function a(){if(o)return;t(1,o=!0);const k=new R("../");try{const $=W(l==null?void 0:l.token);await k.collection($.collectionId).confirmEmailChange(l==null?void 0:l.token,s),t(2,f=!0)}catch($){Y.error($)}t(1,o=!1)}const r=()=>window.close();function u(){s=this.value,t(0,s)}return i.$$set=k=>{"params"in k&&t(5,l=k.params)},i.$$.update=()=>{i.$$.dirty&32&&t(3,n=J.getJWTPayload(l==null?void 0:l.token).newEmail||"")},[s,o,f,n,a,l,r,u]}class te extends j{constructor(e){super(),z(this,e,x,Z,D,{params:5})}}export{te as default};
diff --git a/ui/dist/assets/PageRecordConfirmPasswordReset-CyUwaOlm.js b/ui/dist/assets/PageRecordConfirmPasswordReset-BgK7OeNS.js
similarity index 98%
rename from ui/dist/assets/PageRecordConfirmPasswordReset-CyUwaOlm.js
rename to ui/dist/assets/PageRecordConfirmPasswordReset-BgK7OeNS.js
index 173e239f..f93cbab5 100644
--- a/ui/dist/assets/PageRecordConfirmPasswordReset-CyUwaOlm.js
+++ b/ui/dist/assets/PageRecordConfirmPasswordReset-BgK7OeNS.js
@@ -1,2 +1,2 @@
-import{S as E,i as G,s as J,F as K,c as H,m as L,t as P,a as y,d as N,I as M,K as W,l as _,D as Y,E as A,u as m,L as B,g as O,p as Q,e as j,f as b,y as q,h as C,j as p,k as z,n as w,o as S,q as U,H as F,G as V,z as R}from"./index-DF0EYp3m.js";function X(a){let e,l,s,n,t,o,c,r,i,u,v,g,k,h,d=a[4]&&D(a);return o=new j({props:{class:"form-field required",name:"password",$$slots:{default:[x,({uniqueId:f})=>({10:f}),({uniqueId:f})=>f?1024:0]},$$scope:{ctx:a}}}),r=new j({props:{class:"form-field required",name:"passwordConfirm",$$slots:{default:[ee,({uniqueId:f})=>({10:f}),({uniqueId:f})=>f?1024:0]},$$scope:{ctx:a}}}),{c(){e=b("form"),l=b("div"),s=b("h5"),n=q(`Reset your user password
+import{S as E,i as G,s as J,F as K,c as H,m as L,t as P,a as y,d as N,I as M,K as W,l as _,D as Y,E as A,u as m,L as B,g as O,p as Q,e as j,f as b,y as q,h as C,j as p,k as z,n as w,o as S,q as U,H as F,G as V,z as R}from"./index-zTV3nJbA.js";function X(a){let e,l,s,n,t,o,c,r,i,u,v,g,k,h,d=a[4]&&D(a);return o=new j({props:{class:"form-field required",name:"password",$$slots:{default:[x,({uniqueId:f})=>({10:f}),({uniqueId:f})=>f?1024:0]},$$scope:{ctx:a}}}),r=new j({props:{class:"form-field required",name:"passwordConfirm",$$slots:{default:[ee,({uniqueId:f})=>({10:f}),({uniqueId:f})=>f?1024:0]},$$scope:{ctx:a}}}),{c(){e=b("form"),l=b("div"),s=b("h5"),n=q(`Reset your user password
                     `),d&&d.c(),t=C(),H(o.$$.fragment),c=C(),H(r.$$.fragment),i=C(),u=b("button"),v=b("span"),v.textContent="Set new password",p(l,"class","content txt-center m-b-base"),p(v,"class","txt"),p(u,"type","submit"),p(u,"class","btn btn-lg btn-block"),u.disabled=a[2],z(u,"btn-loading",a[2])},m(f,$){_(f,e,$),w(e,l),w(l,s),w(s,n),d&&d.m(s,null),w(e,t),L(o,e,null),w(e,c),L(r,e,null),w(e,i),w(e,u),w(u,v),g=!0,k||(h=S(e,"submit",U(a[5])),k=!0)},p(f,$){f[4]?d?d.p(f,$):(d=D(f),d.c(),d.m(s,null)):d&&(d.d(1),d=null);const T={};$&3073&&(T.$$scope={dirty:$,ctx:f}),o.$set(T);const I={};$&3074&&(I.$$scope={dirty:$,ctx:f}),r.$set(I),(!g||$&4)&&(u.disabled=f[2]),(!g||$&4)&&z(u,"btn-loading",f[2])},i(f){g||(P(o.$$.fragment,f),P(r.$$.fragment,f),g=!0)},o(f){y(o.$$.fragment,f),y(r.$$.fragment,f),g=!1},d(f){f&&m(e),d&&d.d(),N(o),N(r),k=!1,h()}}}function Z(a){let e,l,s,n,t;return{c(){e=b("div"),e.innerHTML='<div class="icon"><i class="ri-checkbox-circle-line"></i></div> <div class="content txt-bold"><p>Successfully changed the user password.</p> <p>You can now sign in with your new password.</p></div>',l=C(),s=b("button"),s.textContent="Close",p(e,"class","alert alert-success"),p(s,"type","button"),p(s,"class","btn btn-transparent btn-block")},m(o,c){_(o,e,c),_(o,l,c),_(o,s,c),n||(t=S(s,"click",a[7]),n=!0)},p:F,i:F,o:F,d(o){o&&(m(e),m(l),m(s)),n=!1,t()}}}function D(a){let e,l,s;return{c(){e=q("for "),l=b("strong"),s=q(a[4])},m(n,t){_(n,e,t),_(n,l,t),w(l,s)},p(n,t){t&16&&V(s,n[4])},d(n){n&&(m(e),m(l))}}}function x(a){let e,l,s,n,t,o,c,r;return{c(){e=b("label"),l=q("New password"),n=C(),t=b("input"),p(e,"for",s=a[10]),p(t,"type","password"),p(t,"id",o=a[10]),t.required=!0,t.autofocus=!0},m(i,u){_(i,e,u),w(e,l),_(i,n,u),_(i,t,u),R(t,a[0]),t.focus(),c||(r=S(t,"input",a[8]),c=!0)},p(i,u){u&1024&&s!==(s=i[10])&&p(e,"for",s),u&1024&&o!==(o=i[10])&&p(t,"id",o),u&1&&t.value!==i[0]&&R(t,i[0])},d(i){i&&(m(e),m(n),m(t)),c=!1,r()}}}function ee(a){let e,l,s,n,t,o,c,r;return{c(){e=b("label"),l=q("New password confirm"),n=C(),t=b("input"),p(e,"for",s=a[10]),p(t,"type","password"),p(t,"id",o=a[10]),t.required=!0},m(i,u){_(i,e,u),w(e,l),_(i,n,u),_(i,t,u),R(t,a[1]),c||(r=S(t,"input",a[9]),c=!0)},p(i,u){u&1024&&s!==(s=i[10])&&p(e,"for",s),u&1024&&o!==(o=i[10])&&p(t,"id",o),u&2&&t.value!==i[1]&&R(t,i[1])},d(i){i&&(m(e),m(n),m(t)),c=!1,r()}}}function te(a){let e,l,s,n;const t=[Z,X],o=[];function c(r,i){return r[3]?0:1}return e=c(a),l=o[e]=t[e](a),{c(){l.c(),s=W()},m(r,i){o[e].m(r,i),_(r,s,i),n=!0},p(r,i){let u=e;e=c(r),e===u?o[e].p(r,i):(Y(),y(o[u],1,1,()=>{o[u]=null}),A(),l=o[e],l?l.p(r,i):(l=o[e]=t[e](r),l.c()),P(l,1),l.m(s.parentNode,s))},i(r){n||(P(l),n=!0)},o(r){y(l),n=!1},d(r){r&&m(s),o[e].d(r)}}}function se(a){let e,l;return e=new K({props:{nobranding:!0,$$slots:{default:[te]},$$scope:{ctx:a}}}),{c(){H(e.$$.fragment)},m(s,n){L(e,s,n),l=!0},p(s,[n]){const t={};n&2079&&(t.$$scope={dirty:n,ctx:s}),e.$set(t)},i(s){l||(P(e.$$.fragment,s),l=!0)},o(s){y(e.$$.fragment,s),l=!1},d(s){N(e,s)}}}function le(a,e,l){let s,{params:n}=e,t="",o="",c=!1,r=!1;async function i(){if(c)return;l(2,c=!0);const k=new B("../");try{const h=O(n==null?void 0:n.token);await k.collection(h.collectionId).confirmPasswordReset(n==null?void 0:n.token,t,o),l(3,r=!0)}catch(h){Q.error(h)}l(2,c=!1)}const u=()=>window.close();function v(){t=this.value,l(0,t)}function g(){o=this.value,l(1,o)}return a.$$set=k=>{"params"in k&&l(6,n=k.params)},a.$$.update=()=>{a.$$.dirty&64&&l(4,s=M.getJWTPayload(n==null?void 0:n.token).email||"")},[t,o,c,r,s,i,n,u,v,g]}class oe extends E{constructor(e){super(),G(this,e,le,se,J,{params:6})}}export{oe as default};
diff --git a/ui/dist/assets/PageRecordConfirmVerification-BJLVAeG2.js b/ui/dist/assets/PageRecordConfirmVerification-0DoMfsaQ.js
similarity index 98%
rename from ui/dist/assets/PageRecordConfirmVerification-BJLVAeG2.js
rename to ui/dist/assets/PageRecordConfirmVerification-0DoMfsaQ.js
index 076a74e6..64985685 100644
--- a/ui/dist/assets/PageRecordConfirmVerification-BJLVAeG2.js
+++ b/ui/dist/assets/PageRecordConfirmVerification-0DoMfsaQ.js
@@ -1 +1 @@
-import{S as M,i as P,s as R,F as I,c as S,m as V,t as q,a as F,d as N,L as w,g as y,M as j,K as g,l as r,u as a,p as E,f as u,h as v,j as f,o as k,H as m,k as C,n as K}from"./index-DF0EYp3m.js";function z(o){let e,l,n;function t(i,d){return i[4]?J:G}let s=t(o),c=s(o);return{c(){e=u("div"),e.innerHTML='<div class="icon"><i class="ri-error-warning-line"></i></div> <div class="content txt-bold"><p>Invalid or expired verification token.</p></div>',l=v(),c.c(),n=g(),f(e,"class","alert alert-danger")},m(i,d){r(i,e,d),r(i,l,d),c.m(i,d),r(i,n,d)},p(i,d){s===(s=t(i))&&c?c.p(i,d):(c.d(1),c=s(i),c&&(c.c(),c.m(n.parentNode,n)))},d(i){i&&(a(e),a(l),a(n)),c.d(i)}}}function A(o){let e,l,n,t,s;return{c(){e=u("div"),e.innerHTML='<div class="icon"><i class="ri-checkbox-circle-line"></i></div> <div class="content txt-bold"><p>Please check your email for the new verification link.</p></div>',l=v(),n=u("button"),n.textContent="Close",f(e,"class","alert alert-success"),f(n,"type","button"),f(n,"class","btn btn-transparent btn-block")},m(c,i){r(c,e,i),r(c,l,i),r(c,n,i),t||(s=k(n,"click",o[8]),t=!0)},p:m,d(c){c&&(a(e),a(l),a(n)),t=!1,s()}}}function B(o){let e,l,n,t,s;return{c(){e=u("div"),e.innerHTML='<div class="icon"><i class="ri-checkbox-circle-line"></i></div> <div class="content txt-bold"><p>Successfully verified email address.</p></div>',l=v(),n=u("button"),n.textContent="Close",f(e,"class","alert alert-success"),f(n,"type","button"),f(n,"class","btn btn-transparent btn-block")},m(c,i){r(c,e,i),r(c,l,i),r(c,n,i),t||(s=k(n,"click",o[7]),t=!0)},p:m,d(c){c&&(a(e),a(l),a(n)),t=!1,s()}}}function D(o){let e;return{c(){e=u("div"),e.innerHTML='<div class="loader loader-lg"><em>Please wait...</em></div>',f(e,"class","txt-center")},m(l,n){r(l,e,n)},p:m,d(l){l&&a(e)}}}function G(o){let e,l,n;return{c(){e=u("button"),e.textContent="Close",f(e,"type","button"),f(e,"class","btn btn-transparent btn-block")},m(t,s){r(t,e,s),l||(n=k(e,"click",o[9]),l=!0)},p:m,d(t){t&&a(e),l=!1,n()}}}function J(o){let e,l,n,t;return{c(){e=u("button"),l=u("span"),l.textContent="Resend",f(l,"class","txt"),f(e,"type","button"),f(e,"class","btn btn-transparent btn-block"),e.disabled=o[3],C(e,"btn-loading",o[3])},m(s,c){r(s,e,c),K(e,l),n||(t=k(e,"click",o[5]),n=!0)},p(s,c){c&8&&(e.disabled=s[3]),c&8&&C(e,"btn-loading",s[3])},d(s){s&&a(e),n=!1,t()}}}function O(o){let e;function l(s,c){return s[1]?D:s[0]?B:s[2]?A:z}let n=l(o),t=n(o);return{c(){t.c(),e=g()},m(s,c){t.m(s,c),r(s,e,c)},p(s,c){n===(n=l(s))&&t?t.p(s,c):(t.d(1),t=n(s),t&&(t.c(),t.m(e.parentNode,e)))},d(s){s&&a(e),t.d(s)}}}function Q(o){let e,l;return e=new I({props:{nobranding:!0,$$slots:{default:[O]},$$scope:{ctx:o}}}),{c(){S(e.$$.fragment)},m(n,t){V(e,n,t),l=!0},p(n,[t]){const s={};t&2079&&(s.$$scope={dirty:t,ctx:n}),e.$set(s)},i(n){l||(q(e.$$.fragment,n),l=!0)},o(n){F(e.$$.fragment,n),l=!1},d(n){N(e,n)}}}function U(o,e,l){let n,{params:t}=e,s=!1,c=!1,i=!1,d=!1;x();async function x(){if(c)return;l(1,c=!0);const p=new w("../");try{const b=y(t==null?void 0:t.token);await p.collection(b.collectionId).confirmVerification(t==null?void 0:t.token),l(0,s=!0)}catch{l(0,s=!1)}l(1,c=!1)}async function T(){const p=y(t==null?void 0:t.token);if(d||!p.collectionId||!p.email)return;l(3,d=!0);const b=new w("../");try{const _=y(t==null?void 0:t.token);await b.collection(_.collectionId).requestVerification(_.email),l(2,i=!0)}catch(_){E.error(_),l(2,i=!1)}l(3,d=!1)}const h=()=>window.close(),H=()=>window.close(),L=()=>window.close();return o.$$set=p=>{"params"in p&&l(6,t=p.params)},o.$$.update=()=>{o.$$.dirty&64&&l(4,n=(t==null?void 0:t.token)&&j(t.token))},[s,c,i,d,n,T,t,h,H,L]}class X extends M{constructor(e){super(),P(this,e,U,Q,R,{params:6})}}export{X as default};
+import{S as M,i as P,s as R,F as I,c as S,m as V,t as q,a as F,d as N,L as w,g as y,M as j,K as g,l as r,u as a,p as E,f as u,h as v,j as f,o as k,H as m,k as C,n as K}from"./index-zTV3nJbA.js";function z(o){let e,l,n;function t(i,d){return i[4]?J:G}let s=t(o),c=s(o);return{c(){e=u("div"),e.innerHTML='<div class="icon"><i class="ri-error-warning-line"></i></div> <div class="content txt-bold"><p>Invalid or expired verification token.</p></div>',l=v(),c.c(),n=g(),f(e,"class","alert alert-danger")},m(i,d){r(i,e,d),r(i,l,d),c.m(i,d),r(i,n,d)},p(i,d){s===(s=t(i))&&c?c.p(i,d):(c.d(1),c=s(i),c&&(c.c(),c.m(n.parentNode,n)))},d(i){i&&(a(e),a(l),a(n)),c.d(i)}}}function A(o){let e,l,n,t,s;return{c(){e=u("div"),e.innerHTML='<div class="icon"><i class="ri-checkbox-circle-line"></i></div> <div class="content txt-bold"><p>Please check your email for the new verification link.</p></div>',l=v(),n=u("button"),n.textContent="Close",f(e,"class","alert alert-success"),f(n,"type","button"),f(n,"class","btn btn-transparent btn-block")},m(c,i){r(c,e,i),r(c,l,i),r(c,n,i),t||(s=k(n,"click",o[8]),t=!0)},p:m,d(c){c&&(a(e),a(l),a(n)),t=!1,s()}}}function B(o){let e,l,n,t,s;return{c(){e=u("div"),e.innerHTML='<div class="icon"><i class="ri-checkbox-circle-line"></i></div> <div class="content txt-bold"><p>Successfully verified email address.</p></div>',l=v(),n=u("button"),n.textContent="Close",f(e,"class","alert alert-success"),f(n,"type","button"),f(n,"class","btn btn-transparent btn-block")},m(c,i){r(c,e,i),r(c,l,i),r(c,n,i),t||(s=k(n,"click",o[7]),t=!0)},p:m,d(c){c&&(a(e),a(l),a(n)),t=!1,s()}}}function D(o){let e;return{c(){e=u("div"),e.innerHTML='<div class="loader loader-lg"><em>Please wait...</em></div>',f(e,"class","txt-center")},m(l,n){r(l,e,n)},p:m,d(l){l&&a(e)}}}function G(o){let e,l,n;return{c(){e=u("button"),e.textContent="Close",f(e,"type","button"),f(e,"class","btn btn-transparent btn-block")},m(t,s){r(t,e,s),l||(n=k(e,"click",o[9]),l=!0)},p:m,d(t){t&&a(e),l=!1,n()}}}function J(o){let e,l,n,t;return{c(){e=u("button"),l=u("span"),l.textContent="Resend",f(l,"class","txt"),f(e,"type","button"),f(e,"class","btn btn-transparent btn-block"),e.disabled=o[3],C(e,"btn-loading",o[3])},m(s,c){r(s,e,c),K(e,l),n||(t=k(e,"click",o[5]),n=!0)},p(s,c){c&8&&(e.disabled=s[3]),c&8&&C(e,"btn-loading",s[3])},d(s){s&&a(e),n=!1,t()}}}function O(o){let e;function l(s,c){return s[1]?D:s[0]?B:s[2]?A:z}let n=l(o),t=n(o);return{c(){t.c(),e=g()},m(s,c){t.m(s,c),r(s,e,c)},p(s,c){n===(n=l(s))&&t?t.p(s,c):(t.d(1),t=n(s),t&&(t.c(),t.m(e.parentNode,e)))},d(s){s&&a(e),t.d(s)}}}function Q(o){let e,l;return e=new I({props:{nobranding:!0,$$slots:{default:[O]},$$scope:{ctx:o}}}),{c(){S(e.$$.fragment)},m(n,t){V(e,n,t),l=!0},p(n,[t]){const s={};t&2079&&(s.$$scope={dirty:t,ctx:n}),e.$set(s)},i(n){l||(q(e.$$.fragment,n),l=!0)},o(n){F(e.$$.fragment,n),l=!1},d(n){N(e,n)}}}function U(o,e,l){let n,{params:t}=e,s=!1,c=!1,i=!1,d=!1;x();async function x(){if(c)return;l(1,c=!0);const p=new w("../");try{const b=y(t==null?void 0:t.token);await p.collection(b.collectionId).confirmVerification(t==null?void 0:t.token),l(0,s=!0)}catch{l(0,s=!1)}l(1,c=!1)}async function T(){const p=y(t==null?void 0:t.token);if(d||!p.collectionId||!p.email)return;l(3,d=!0);const b=new w("../");try{const _=y(t==null?void 0:t.token);await b.collection(_.collectionId).requestVerification(_.email),l(2,i=!0)}catch(_){E.error(_),l(2,i=!1)}l(3,d=!1)}const h=()=>window.close(),H=()=>window.close(),L=()=>window.close();return o.$$set=p=>{"params"in p&&l(6,t=p.params)},o.$$.update=()=>{o.$$.dirty&64&&l(4,n=(t==null?void 0:t.token)&&j(t.token))},[s,c,i,d,n,T,t,h,H,L]}class X extends M{constructor(e){super(),P(this,e,U,Q,R,{params:6})}}export{X as default};
diff --git a/ui/dist/assets/PageSuperuserConfirmPasswordReset-vTV8h3Ka.js b/ui/dist/assets/PageSuperuserConfirmPasswordReset-BUXxyBas.js
similarity index 98%
rename from ui/dist/assets/PageSuperuserConfirmPasswordReset-vTV8h3Ka.js
rename to ui/dist/assets/PageSuperuserConfirmPasswordReset-BUXxyBas.js
index 410d9ffe..1c2f6623 100644
--- a/ui/dist/assets/PageSuperuserConfirmPasswordReset-vTV8h3Ka.js
+++ b/ui/dist/assets/PageSuperuserConfirmPasswordReset-BUXxyBas.js
@@ -1,2 +1,2 @@
-import{S as A,i as D,s as E,F as K,c as R,m as B,t as J,a as N,d as T,I as M,e as H,f as _,y as P,h,j as f,k as I,l as b,n as c,o as j,q as O,B as Q,C as U,u as w,v as V,p as L,J as X,r as Y,G as Z,z as q}from"./index-DF0EYp3m.js";function W(r){let e,n,s;return{c(){e=P("for "),n=_("strong"),s=P(r[3]),f(n,"class","txt-nowrap")},m(l,t){b(l,e,t),b(l,n,t),c(n,s)},p(l,t){t&8&&Z(s,l[3])},d(l){l&&(w(e),w(n))}}}function x(r){let e,n,s,l,t,i,p,d;return{c(){e=_("label"),n=P("New password"),l=h(),t=_("input"),f(e,"for",s=r[8]),f(t,"type","password"),f(t,"id",i=r[8]),t.required=!0,t.autofocus=!0},m(u,a){b(u,e,a),c(e,n),b(u,l,a),b(u,t,a),q(t,r[0]),t.focus(),p||(d=j(t,"input",r[6]),p=!0)},p(u,a){a&256&&s!==(s=u[8])&&f(e,"for",s),a&256&&i!==(i=u[8])&&f(t,"id",i),a&1&&t.value!==u[0]&&q(t,u[0])},d(u){u&&(w(e),w(l),w(t)),p=!1,d()}}}function ee(r){let e,n,s,l,t,i,p,d;return{c(){e=_("label"),n=P("New password confirm"),l=h(),t=_("input"),f(e,"for",s=r[8]),f(t,"type","password"),f(t,"id",i=r[8]),t.required=!0},m(u,a){b(u,e,a),c(e,n),b(u,l,a),b(u,t,a),q(t,r[1]),p||(d=j(t,"input",r[7]),p=!0)},p(u,a){a&256&&s!==(s=u[8])&&f(e,"for",s),a&256&&i!==(i=u[8])&&f(t,"id",i),a&2&&t.value!==u[1]&&q(t,u[1])},d(u){u&&(w(e),w(l),w(t)),p=!1,d()}}}function te(r){let e,n,s,l,t,i,p,d,u,a,g,S,C,v,k,F,y,m=r[3]&&W(r);return i=new H({props:{class:"form-field required",name:"password",$$slots:{default:[x,({uniqueId:o})=>({8:o}),({uniqueId:o})=>o?256:0]},$$scope:{ctx:r}}}),d=new H({props:{class:"form-field required",name:"passwordConfirm",$$slots:{default:[ee,({uniqueId:o})=>({8:o}),({uniqueId:o})=>o?256:0]},$$scope:{ctx:r}}}),{c(){e=_("form"),n=_("div"),s=_("h4"),l=P(`Reset your superuser password
+import{S as A,i as D,s as E,F as K,c as R,m as B,t as J,a as N,d as T,I as M,e as H,f as _,y as P,h,j as f,k as I,l as b,n as c,o as j,q as O,B as Q,C as U,u as w,v as V,p as L,J as X,r as Y,G as Z,z as q}from"./index-zTV3nJbA.js";function W(r){let e,n,s;return{c(){e=P("for "),n=_("strong"),s=P(r[3]),f(n,"class","txt-nowrap")},m(l,t){b(l,e,t),b(l,n,t),c(n,s)},p(l,t){t&8&&Z(s,l[3])},d(l){l&&(w(e),w(n))}}}function x(r){let e,n,s,l,t,i,p,d;return{c(){e=_("label"),n=P("New password"),l=h(),t=_("input"),f(e,"for",s=r[8]),f(t,"type","password"),f(t,"id",i=r[8]),t.required=!0,t.autofocus=!0},m(u,a){b(u,e,a),c(e,n),b(u,l,a),b(u,t,a),q(t,r[0]),t.focus(),p||(d=j(t,"input",r[6]),p=!0)},p(u,a){a&256&&s!==(s=u[8])&&f(e,"for",s),a&256&&i!==(i=u[8])&&f(t,"id",i),a&1&&t.value!==u[0]&&q(t,u[0])},d(u){u&&(w(e),w(l),w(t)),p=!1,d()}}}function ee(r){let e,n,s,l,t,i,p,d;return{c(){e=_("label"),n=P("New password confirm"),l=h(),t=_("input"),f(e,"for",s=r[8]),f(t,"type","password"),f(t,"id",i=r[8]),t.required=!0},m(u,a){b(u,e,a),c(e,n),b(u,l,a),b(u,t,a),q(t,r[1]),p||(d=j(t,"input",r[7]),p=!0)},p(u,a){a&256&&s!==(s=u[8])&&f(e,"for",s),a&256&&i!==(i=u[8])&&f(t,"id",i),a&2&&t.value!==u[1]&&q(t,u[1])},d(u){u&&(w(e),w(l),w(t)),p=!1,d()}}}function te(r){let e,n,s,l,t,i,p,d,u,a,g,S,C,v,k,F,y,m=r[3]&&W(r);return i=new H({props:{class:"form-field required",name:"password",$$slots:{default:[x,({uniqueId:o})=>({8:o}),({uniqueId:o})=>o?256:0]},$$scope:{ctx:r}}}),d=new H({props:{class:"form-field required",name:"passwordConfirm",$$slots:{default:[ee,({uniqueId:o})=>({8:o}),({uniqueId:o})=>o?256:0]},$$scope:{ctx:r}}}),{c(){e=_("form"),n=_("div"),s=_("h4"),l=P(`Reset your superuser password
                 `),m&&m.c(),t=h(),R(i.$$.fragment),p=h(),R(d.$$.fragment),u=h(),a=_("button"),g=_("span"),g.textContent="Set new password",S=h(),C=_("div"),v=_("a"),v.textContent="Back to login",f(s,"class","m-b-xs"),f(n,"class","content txt-center m-b-sm"),f(g,"class","txt"),f(a,"type","submit"),f(a,"class","btn btn-lg btn-block"),a.disabled=r[2],I(a,"btn-loading",r[2]),f(e,"class","m-b-base"),f(v,"href","/login"),f(v,"class","link-hint"),f(C,"class","content txt-center")},m(o,$){b(o,e,$),c(e,n),c(n,s),c(s,l),m&&m.m(s,null),c(e,t),B(i,e,null),c(e,p),B(d,e,null),c(e,u),c(e,a),c(a,g),b(o,S,$),b(o,C,$),c(C,v),k=!0,F||(y=[j(e,"submit",O(r[4])),Q(U.call(null,v))],F=!0)},p(o,$){o[3]?m?m.p(o,$):(m=W(o),m.c(),m.m(s,null)):m&&(m.d(1),m=null);const z={};$&769&&(z.$$scope={dirty:$,ctx:o}),i.$set(z);const G={};$&770&&(G.$$scope={dirty:$,ctx:o}),d.$set(G),(!k||$&4)&&(a.disabled=o[2]),(!k||$&4)&&I(a,"btn-loading",o[2])},i(o){k||(J(i.$$.fragment,o),J(d.$$.fragment,o),k=!0)},o(o){N(i.$$.fragment,o),N(d.$$.fragment,o),k=!1},d(o){o&&(w(e),w(S),w(C)),m&&m.d(),T(i),T(d),F=!1,V(y)}}}function se(r){let e,n;return e=new K({props:{$$slots:{default:[te]},$$scope:{ctx:r}}}),{c(){R(e.$$.fragment)},m(s,l){B(e,s,l),n=!0},p(s,[l]){const t={};l&527&&(t.$$scope={dirty:l,ctx:s}),e.$set(t)},i(s){n||(J(e.$$.fragment,s),n=!0)},o(s){N(e.$$.fragment,s),n=!1},d(s){T(e,s)}}}function le(r,e,n){let s,{params:l}=e,t="",i="",p=!1;async function d(){if(!p){n(2,p=!0);try{await L.collection("_superusers").confirmPasswordReset(l==null?void 0:l.token,t,i),X("Successfully set a new superuser password."),Y("/")}catch(g){L.error(g)}n(2,p=!1)}}function u(){t=this.value,n(0,t)}function a(){i=this.value,n(1,i)}return r.$$set=g=>{"params"in g&&n(5,l=g.params)},r.$$.update=()=>{r.$$.dirty&32&&n(3,s=M.getJWTPayload(l==null?void 0:l.token).email||"")},[t,i,p,s,d,l,u,a]}class ae extends A{constructor(e){super(),D(this,e,le,se,E,{params:5})}}export{ae as default};
diff --git a/ui/dist/assets/PageSuperuserRequestPasswordReset-D8ve17kT.js b/ui/dist/assets/PageSuperuserRequestPasswordReset-BHBWKlnx.js
similarity index 98%
rename from ui/dist/assets/PageSuperuserRequestPasswordReset-D8ve17kT.js
rename to ui/dist/assets/PageSuperuserRequestPasswordReset-BHBWKlnx.js
index e8c02760..5e5fbb4b 100644
--- a/ui/dist/assets/PageSuperuserRequestPasswordReset-D8ve17kT.js
+++ b/ui/dist/assets/PageSuperuserRequestPasswordReset-BHBWKlnx.js
@@ -1 +1 @@
-import{S as B,i as M,s as T,F as j,c as E,m as H,t as w,a as y,d as L,h as v,f as m,j as p,l as g,n as d,B as z,C as D,D as G,E as N,u as k,p as C,e as A,k as F,o as R,q as I,y as h,G as J,H as P,z as S}from"./index-DF0EYp3m.js";function K(u){let e,s,n,l,t,r,c,_,i,a,b,f;return l=new A({props:{class:"form-field required",name:"email",$$slots:{default:[Q,({uniqueId:o})=>({5:o}),({uniqueId:o})=>o?32:0]},$$scope:{ctx:u}}}),{c(){e=m("form"),s=m("div"),s.innerHTML='<h4 class="m-b-xs">Forgotten superuser password</h4> <p>Enter the email associated with your account and we’ll send you a recovery link:</p>',n=v(),E(l.$$.fragment),t=v(),r=m("button"),c=m("i"),_=v(),i=m("span"),i.textContent="Send recovery link",p(s,"class","content txt-center m-b-sm"),p(c,"class","ri-mail-send-line"),p(i,"class","txt"),p(r,"type","submit"),p(r,"class","btn btn-lg btn-block"),r.disabled=u[1],F(r,"btn-loading",u[1]),p(e,"class","m-b-base")},m(o,$){g(o,e,$),d(e,s),d(e,n),H(l,e,null),d(e,t),d(e,r),d(r,c),d(r,_),d(r,i),a=!0,b||(f=R(e,"submit",I(u[3])),b=!0)},p(o,$){const q={};$&97&&(q.$$scope={dirty:$,ctx:o}),l.$set(q),(!a||$&2)&&(r.disabled=o[1]),(!a||$&2)&&F(r,"btn-loading",o[1])},i(o){a||(w(l.$$.fragment,o),a=!0)},o(o){y(l.$$.fragment,o),a=!1},d(o){o&&k(e),L(l),b=!1,f()}}}function O(u){let e,s,n,l,t,r,c,_,i;return{c(){e=m("div"),s=m("div"),s.innerHTML='<i class="ri-checkbox-circle-line"></i>',n=v(),l=m("div"),t=m("p"),r=h("Check "),c=m("strong"),_=h(u[0]),i=h(" for the recovery link."),p(s,"class","icon"),p(c,"class","txt-nowrap"),p(l,"class","content"),p(e,"class","alert alert-success")},m(a,b){g(a,e,b),d(e,s),d(e,n),d(e,l),d(l,t),d(t,r),d(t,c),d(c,_),d(t,i)},p(a,b){b&1&&J(_,a[0])},i:P,o:P,d(a){a&&k(e)}}}function Q(u){let e,s,n,l,t,r,c,_;return{c(){e=m("label"),s=h("Email"),l=v(),t=m("input"),p(e,"for",n=u[5]),p(t,"type","email"),p(t,"id",r=u[5]),t.required=!0,t.autofocus=!0},m(i,a){g(i,e,a),d(e,s),g(i,l,a),g(i,t,a),S(t,u[0]),t.focus(),c||(_=R(t,"input",u[4]),c=!0)},p(i,a){a&32&&n!==(n=i[5])&&p(e,"for",n),a&32&&r!==(r=i[5])&&p(t,"id",r),a&1&&t.value!==i[0]&&S(t,i[0])},d(i){i&&(k(e),k(l),k(t)),c=!1,_()}}}function U(u){let e,s,n,l,t,r,c,_;const i=[O,K],a=[];function b(f,o){return f[2]?0:1}return e=b(u),s=a[e]=i[e](u),{c(){s.c(),n=v(),l=m("div"),t=m("a"),t.textContent="Back to login",p(t,"href","/login"),p(t,"class","link-hint"),p(l,"class","content txt-center")},m(f,o){a[e].m(f,o),g(f,n,o),g(f,l,o),d(l,t),r=!0,c||(_=z(D.call(null,t)),c=!0)},p(f,o){let $=e;e=b(f),e===$?a[e].p(f,o):(G(),y(a[$],1,1,()=>{a[$]=null}),N(),s=a[e],s?s.p(f,o):(s=a[e]=i[e](f),s.c()),w(s,1),s.m(n.parentNode,n))},i(f){r||(w(s),r=!0)},o(f){y(s),r=!1},d(f){f&&(k(n),k(l)),a[e].d(f),c=!1,_()}}}function V(u){let e,s;return e=new j({props:{$$slots:{default:[U]},$$scope:{ctx:u}}}),{c(){E(e.$$.fragment)},m(n,l){H(e,n,l),s=!0},p(n,[l]){const t={};l&71&&(t.$$scope={dirty:l,ctx:n}),e.$set(t)},i(n){s||(w(e.$$.fragment,n),s=!0)},o(n){y(e.$$.fragment,n),s=!1},d(n){L(e,n)}}}function W(u,e,s){let n="",l=!1,t=!1;async function r(){if(!l){s(1,l=!0);try{await C.collection("_superusers").requestPasswordReset(n),s(2,t=!0)}catch(_){C.error(_)}s(1,l=!1)}}function c(){n=this.value,s(0,n)}return[n,l,t,r,c]}class Y extends B{constructor(e){super(),M(this,e,W,V,T,{})}}export{Y as default};
+import{S as B,i as M,s as T,F as j,c as E,m as H,t as w,a as y,d as L,h as v,f as m,j as p,l as g,n as d,B as z,C as D,D as G,E as N,u as k,p as C,e as A,k as F,o as R,q as I,y as h,G as J,H as P,z as S}from"./index-zTV3nJbA.js";function K(u){let e,s,n,l,t,r,c,_,i,a,b,f;return l=new A({props:{class:"form-field required",name:"email",$$slots:{default:[Q,({uniqueId:o})=>({5:o}),({uniqueId:o})=>o?32:0]},$$scope:{ctx:u}}}),{c(){e=m("form"),s=m("div"),s.innerHTML='<h4 class="m-b-xs">Forgotten superuser password</h4> <p>Enter the email associated with your account and we’ll send you a recovery link:</p>',n=v(),E(l.$$.fragment),t=v(),r=m("button"),c=m("i"),_=v(),i=m("span"),i.textContent="Send recovery link",p(s,"class","content txt-center m-b-sm"),p(c,"class","ri-mail-send-line"),p(i,"class","txt"),p(r,"type","submit"),p(r,"class","btn btn-lg btn-block"),r.disabled=u[1],F(r,"btn-loading",u[1]),p(e,"class","m-b-base")},m(o,$){g(o,e,$),d(e,s),d(e,n),H(l,e,null),d(e,t),d(e,r),d(r,c),d(r,_),d(r,i),a=!0,b||(f=R(e,"submit",I(u[3])),b=!0)},p(o,$){const q={};$&97&&(q.$$scope={dirty:$,ctx:o}),l.$set(q),(!a||$&2)&&(r.disabled=o[1]),(!a||$&2)&&F(r,"btn-loading",o[1])},i(o){a||(w(l.$$.fragment,o),a=!0)},o(o){y(l.$$.fragment,o),a=!1},d(o){o&&k(e),L(l),b=!1,f()}}}function O(u){let e,s,n,l,t,r,c,_,i;return{c(){e=m("div"),s=m("div"),s.innerHTML='<i class="ri-checkbox-circle-line"></i>',n=v(),l=m("div"),t=m("p"),r=h("Check "),c=m("strong"),_=h(u[0]),i=h(" for the recovery link."),p(s,"class","icon"),p(c,"class","txt-nowrap"),p(l,"class","content"),p(e,"class","alert alert-success")},m(a,b){g(a,e,b),d(e,s),d(e,n),d(e,l),d(l,t),d(t,r),d(t,c),d(c,_),d(t,i)},p(a,b){b&1&&J(_,a[0])},i:P,o:P,d(a){a&&k(e)}}}function Q(u){let e,s,n,l,t,r,c,_;return{c(){e=m("label"),s=h("Email"),l=v(),t=m("input"),p(e,"for",n=u[5]),p(t,"type","email"),p(t,"id",r=u[5]),t.required=!0,t.autofocus=!0},m(i,a){g(i,e,a),d(e,s),g(i,l,a),g(i,t,a),S(t,u[0]),t.focus(),c||(_=R(t,"input",u[4]),c=!0)},p(i,a){a&32&&n!==(n=i[5])&&p(e,"for",n),a&32&&r!==(r=i[5])&&p(t,"id",r),a&1&&t.value!==i[0]&&S(t,i[0])},d(i){i&&(k(e),k(l),k(t)),c=!1,_()}}}function U(u){let e,s,n,l,t,r,c,_;const i=[O,K],a=[];function b(f,o){return f[2]?0:1}return e=b(u),s=a[e]=i[e](u),{c(){s.c(),n=v(),l=m("div"),t=m("a"),t.textContent="Back to login",p(t,"href","/login"),p(t,"class","link-hint"),p(l,"class","content txt-center")},m(f,o){a[e].m(f,o),g(f,n,o),g(f,l,o),d(l,t),r=!0,c||(_=z(D.call(null,t)),c=!0)},p(f,o){let $=e;e=b(f),e===$?a[e].p(f,o):(G(),y(a[$],1,1,()=>{a[$]=null}),N(),s=a[e],s?s.p(f,o):(s=a[e]=i[e](f),s.c()),w(s,1),s.m(n.parentNode,n))},i(f){r||(w(s),r=!0)},o(f){y(s),r=!1},d(f){f&&(k(n),k(l)),a[e].d(f),c=!1,_()}}}function V(u){let e,s;return e=new j({props:{$$slots:{default:[U]},$$scope:{ctx:u}}}),{c(){E(e.$$.fragment)},m(n,l){H(e,n,l),s=!0},p(n,[l]){const t={};l&71&&(t.$$scope={dirty:l,ctx:n}),e.$set(t)},i(n){s||(w(e.$$.fragment,n),s=!0)},o(n){y(e.$$.fragment,n),s=!1},d(n){L(e,n)}}}function W(u,e,s){let n="",l=!1,t=!1;async function r(){if(!l){s(1,l=!0);try{await C.collection("_superusers").requestPasswordReset(n),s(2,t=!0)}catch(_){C.error(_)}s(1,l=!1)}}function c(){n=this.value,s(0,n)}return[n,l,t,r,c]}class Y extends B{constructor(e){super(),M(this,e,W,V,T,{})}}export{Y as default};
diff --git a/ui/dist/assets/PasswordResetDocs-B3RYZO70.js b/ui/dist/assets/PasswordResetDocs-BNbAF7Ep.js
similarity index 99%
rename from ui/dist/assets/PasswordResetDocs-B3RYZO70.js
rename to ui/dist/assets/PasswordResetDocs-BNbAF7Ep.js
index d261da92..457db583 100644
--- a/ui/dist/assets/PasswordResetDocs-B3RYZO70.js
+++ b/ui/dist/assets/PasswordResetDocs-BNbAF7Ep.js
@@ -1,4 +1,4 @@
-import{S as se,i as ne,s as oe,W as U,f as p,h as S,y as D,j as k,l as b,n as u,G as Z,X as ee,Y as ye,D as te,Z as Te,E as le,t as V,a as X,u as v,k as j,o as ae,V as Ee,c as J,m as Q,d as x,U as qe,_ as fe,I as Ce,p as Oe,$ as pe}from"./index-DF0EYp3m.js";function me(o,t,e){const n=o.slice();return n[4]=t[e],n}function _e(o,t,e){const n=o.slice();return n[4]=t[e],n}function he(o,t){let e,n=t[4].code+"",d,c,r,a;function f(){return t[3](t[4])}return{key:o,first:null,c(){e=p("button"),d=D(n),c=S(),k(e,"class","tab-item"),j(e,"active",t[1]===t[4].code),this.first=e},m(g,y){b(g,e,y),u(e,d),u(e,c),r||(a=ae(e,"click",f),r=!0)},p(g,y){t=g,y&4&&n!==(n=t[4].code+"")&&Z(d,n),y&6&&j(e,"active",t[1]===t[4].code)},d(g){g&&v(e),r=!1,a()}}}function be(o,t){let e,n,d,c;return n=new Ee({props:{content:t[4].body}}),{key:o,first:null,c(){e=p("div"),J(n.$$.fragment),d=S(),k(e,"class","tab-item"),j(e,"active",t[1]===t[4].code),this.first=e},m(r,a){b(r,e,a),Q(n,e,null),u(e,d),c=!0},p(r,a){t=r;const f={};a&4&&(f.content=t[4].body),n.$set(f),(!c||a&6)&&j(e,"active",t[1]===t[4].code)},i(r){c||(V(n.$$.fragment,r),c=!0)},o(r){X(n.$$.fragment,r),c=!1},d(r){r&&v(e),x(n)}}}function We(o){let t,e,n,d,c,r,a,f=o[0].name+"",g,y,F,C,G,A,H,O,W,T,q,R=[],M=new Map,L,N,h=[],K=new Map,E,P=U(o[2]);const B=l=>l[4].code;for(let l=0;l<P.length;l+=1){let s=_e(o,P,l),_=B(s);M.set(_,R[l]=he(_,s))}let m=U(o[2]);const Y=l=>l[4].code;for(let l=0;l<m.length;l+=1){let s=me(o,m,l),_=Y(s);K.set(_,h[l]=be(_,s))}return{c(){t=p("div"),e=p("strong"),e.textContent="POST",n=S(),d=p("div"),c=p("p"),r=D("/api/collections/"),a=p("strong"),g=D(f),y=D("/confirm-password-reset"),F=S(),C=p("div"),C.textContent="Body Parameters",G=S(),A=p("table"),A.innerHTML='<thead><tr><th>Param</th> <th>Type</th> <th width="50%">Description</th></tr></thead> <tbody><tr><td><div class="inline-flex"><span class="label label-success">Required</span> <span>token</span></div></td> <td><span class="label">String</span></td> <td>The token from the password reset request email.</td></tr> <tr><td><div class="inline-flex"><span class="label label-success">Required</span> <span>password</span></div></td> <td><span class="label">String</span></td> <td>The new password to set.</td></tr> <tr><td><div class="inline-flex"><span class="label label-success">Required</span> <span>passwordConfirm</span></div></td> <td><span class="label">String</span></td> <td>The new password confirmation.</td></tr></tbody>',H=S(),O=p("div"),O.textContent="Responses",W=S(),T=p("div"),q=p("div");for(let l=0;l<R.length;l+=1)R[l].c();L=S(),N=p("div");for(let l=0;l<h.length;l+=1)h[l].c();k(e,"class","label label-primary"),k(d,"class","content"),k(t,"class","alert alert-success"),k(C,"class","section-title"),k(A,"class","table-compact table-border m-b-base"),k(O,"class","section-title"),k(q,"class","tabs-header compact combined left"),k(N,"class","tabs-content"),k(T,"class","tabs")},m(l,s){b(l,t,s),u(t,e),u(t,n),u(t,d),u(d,c),u(c,r),u(c,a),u(a,g),u(c,y),b(l,F,s),b(l,C,s),b(l,G,s),b(l,A,s),b(l,H,s),b(l,O,s),b(l,W,s),b(l,T,s),u(T,q);for(let _=0;_<R.length;_+=1)R[_]&&R[_].m(q,null);u(T,L),u(T,N);for(let _=0;_<h.length;_+=1)h[_]&&h[_].m(N,null);E=!0},p(l,[s]){(!E||s&1)&&f!==(f=l[0].name+"")&&Z(g,f),s&6&&(P=U(l[2]),R=ee(R,s,B,1,l,P,M,q,ye,he,null,_e)),s&6&&(m=U(l[2]),te(),h=ee(h,s,Y,1,l,m,K,N,Te,be,null,me),le())},i(l){if(!E){for(let s=0;s<m.length;s+=1)V(h[s]);E=!0}},o(l){for(let s=0;s<h.length;s+=1)X(h[s]);E=!1},d(l){l&&(v(t),v(F),v(C),v(G),v(A),v(H),v(O),v(W),v(T));for(let s=0;s<R.length;s+=1)R[s].d();for(let s=0;s<h.length;s+=1)h[s].d()}}}function Ae(o,t,e){let{collection:n}=t,d=204,c=[];const r=a=>e(1,d=a.code);return o.$$set=a=>{"collection"in a&&e(0,n=a.collection)},e(2,c=[{code:204,body:"null"},{code:400,body:`
+import{S as se,i as ne,s as oe,W as U,f as p,h as S,y as D,j as k,l as b,n as u,G as Z,X as ee,Y as ye,D as te,Z as Te,E as le,t as V,a as X,u as v,k as j,o as ae,V as Ee,c as J,m as Q,d as x,U as qe,_ as fe,I as Ce,p as Oe,$ as pe}from"./index-zTV3nJbA.js";function me(o,t,e){const n=o.slice();return n[4]=t[e],n}function _e(o,t,e){const n=o.slice();return n[4]=t[e],n}function he(o,t){let e,n=t[4].code+"",d,c,r,a;function f(){return t[3](t[4])}return{key:o,first:null,c(){e=p("button"),d=D(n),c=S(),k(e,"class","tab-item"),j(e,"active",t[1]===t[4].code),this.first=e},m(g,y){b(g,e,y),u(e,d),u(e,c),r||(a=ae(e,"click",f),r=!0)},p(g,y){t=g,y&4&&n!==(n=t[4].code+"")&&Z(d,n),y&6&&j(e,"active",t[1]===t[4].code)},d(g){g&&v(e),r=!1,a()}}}function be(o,t){let e,n,d,c;return n=new Ee({props:{content:t[4].body}}),{key:o,first:null,c(){e=p("div"),J(n.$$.fragment),d=S(),k(e,"class","tab-item"),j(e,"active",t[1]===t[4].code),this.first=e},m(r,a){b(r,e,a),Q(n,e,null),u(e,d),c=!0},p(r,a){t=r;const f={};a&4&&(f.content=t[4].body),n.$set(f),(!c||a&6)&&j(e,"active",t[1]===t[4].code)},i(r){c||(V(n.$$.fragment,r),c=!0)},o(r){X(n.$$.fragment,r),c=!1},d(r){r&&v(e),x(n)}}}function We(o){let t,e,n,d,c,r,a,f=o[0].name+"",g,y,F,C,G,A,H,O,W,T,q,R=[],M=new Map,L,N,h=[],K=new Map,E,P=U(o[2]);const B=l=>l[4].code;for(let l=0;l<P.length;l+=1){let s=_e(o,P,l),_=B(s);M.set(_,R[l]=he(_,s))}let m=U(o[2]);const Y=l=>l[4].code;for(let l=0;l<m.length;l+=1){let s=me(o,m,l),_=Y(s);K.set(_,h[l]=be(_,s))}return{c(){t=p("div"),e=p("strong"),e.textContent="POST",n=S(),d=p("div"),c=p("p"),r=D("/api/collections/"),a=p("strong"),g=D(f),y=D("/confirm-password-reset"),F=S(),C=p("div"),C.textContent="Body Parameters",G=S(),A=p("table"),A.innerHTML='<thead><tr><th>Param</th> <th>Type</th> <th width="50%">Description</th></tr></thead> <tbody><tr><td><div class="inline-flex"><span class="label label-success">Required</span> <span>token</span></div></td> <td><span class="label">String</span></td> <td>The token from the password reset request email.</td></tr> <tr><td><div class="inline-flex"><span class="label label-success">Required</span> <span>password</span></div></td> <td><span class="label">String</span></td> <td>The new password to set.</td></tr> <tr><td><div class="inline-flex"><span class="label label-success">Required</span> <span>passwordConfirm</span></div></td> <td><span class="label">String</span></td> <td>The new password confirmation.</td></tr></tbody>',H=S(),O=p("div"),O.textContent="Responses",W=S(),T=p("div"),q=p("div");for(let l=0;l<R.length;l+=1)R[l].c();L=S(),N=p("div");for(let l=0;l<h.length;l+=1)h[l].c();k(e,"class","label label-primary"),k(d,"class","content"),k(t,"class","alert alert-success"),k(C,"class","section-title"),k(A,"class","table-compact table-border m-b-base"),k(O,"class","section-title"),k(q,"class","tabs-header compact combined left"),k(N,"class","tabs-content"),k(T,"class","tabs")},m(l,s){b(l,t,s),u(t,e),u(t,n),u(t,d),u(d,c),u(c,r),u(c,a),u(a,g),u(c,y),b(l,F,s),b(l,C,s),b(l,G,s),b(l,A,s),b(l,H,s),b(l,O,s),b(l,W,s),b(l,T,s),u(T,q);for(let _=0;_<R.length;_+=1)R[_]&&R[_].m(q,null);u(T,L),u(T,N);for(let _=0;_<h.length;_+=1)h[_]&&h[_].m(N,null);E=!0},p(l,[s]){(!E||s&1)&&f!==(f=l[0].name+"")&&Z(g,f),s&6&&(P=U(l[2]),R=ee(R,s,B,1,l,P,M,q,ye,he,null,_e)),s&6&&(m=U(l[2]),te(),h=ee(h,s,Y,1,l,m,K,N,Te,be,null,me),le())},i(l){if(!E){for(let s=0;s<m.length;s+=1)V(h[s]);E=!0}},o(l){for(let s=0;s<h.length;s+=1)X(h[s]);E=!1},d(l){l&&(v(t),v(F),v(C),v(G),v(A),v(H),v(O),v(W),v(T));for(let s=0;s<R.length;s+=1)R[s].d();for(let s=0;s<h.length;s+=1)h[s].d()}}}function Ae(o,t,e){let{collection:n}=t,d=204,c=[];const r=a=>e(1,d=a.code);return o.$$set=a=>{"collection"in a&&e(0,n=a.collection)},e(2,c=[{code:204,body:"null"},{code:400,body:`
                 {
                   "code": 400,
                   "message": "An error occurred while validating the submitted data.",
diff --git a/ui/dist/assets/RealtimeApiDocs-HOtV_Wbp.js b/ui/dist/assets/RealtimeApiDocs-PQVDeYif.js
similarity index 99%
rename from ui/dist/assets/RealtimeApiDocs-HOtV_Wbp.js
rename to ui/dist/assets/RealtimeApiDocs-PQVDeYif.js
index 72fca669..fe65a857 100644
--- a/ui/dist/assets/RealtimeApiDocs-HOtV_Wbp.js
+++ b/ui/dist/assets/RealtimeApiDocs-PQVDeYif.js
@@ -1,4 +1,4 @@
-import{S as re,i as ae,s as be,U as pe,V as ue,I as P,f as p,y as O,h as a,c as se,j as u,l as s,n as I,m as ne,G as me,t as ie,a as ce,u as n,d as le,p as de}from"./index-DF0EYp3m.js";function he(o){var U,B,W,L,A,H,T,j,q,M,J,N;let i,m,c=o[0].name+"",b,d,k,h,D,f,_,l,S,$,C,g,E,v,w,r,R;return l=new pe({props:{js:`
+import{S as re,i as ae,s as be,U as pe,V as ue,I as P,f as p,y as O,h as a,c as se,j as u,l as s,n as I,m as ne,G as me,t as ie,a as ce,u as n,d as le,p as de}from"./index-zTV3nJbA.js";function he(o){var U,B,W,L,A,H,T,j,q,M,J,N;let i,m,c=o[0].name+"",b,d,k,h,D,f,_,l,S,$,C,g,E,v,w,r,R;return l=new pe({props:{js:`
         import PocketBase from 'pocketbase';
 
         const pb = new PocketBase('${o[1]}');
diff --git a/ui/dist/assets/UpdateApiDocs-D3y-hEtB.js b/ui/dist/assets/UpdateApiDocs-DdNQgX6v.js
similarity index 99%
rename from ui/dist/assets/UpdateApiDocs-D3y-hEtB.js
rename to ui/dist/assets/UpdateApiDocs-DdNQgX6v.js
index 49766abc..9084c6b8 100644
--- a/ui/dist/assets/UpdateApiDocs-D3y-hEtB.js
+++ b/ui/dist/assets/UpdateApiDocs-DdNQgX6v.js
@@ -1,4 +1,4 @@
-import{S as Ot,i as St,s as Mt,U as $t,I as x,W as ie,V as Tt,f as i,y as h,h as f,c as ve,j as k,l as o,n,m as we,G as te,X as Ue,Y as bt,D as qt,Z as Rt,E as Dt,t as he,a as ye,u as r,d as Ce,p as Ht,k as Te,o as Lt,H as de}from"./index-DF0EYp3m.js";import{F as Pt}from"./FieldsQueryParam-DbnShkuc.js";function mt(d,e,t){const a=d.slice();return a[10]=e[t],a}function _t(d,e,t){const a=d.slice();return a[10]=e[t],a}function ht(d,e,t){const a=d.slice();return a[15]=e[t],a}function yt(d){let e;return{c(){e=i("p"),e.innerHTML=`<em>Note that in case of a password change all previously issued tokens for the current record
+import{S as Ot,i as St,s as Mt,U as $t,I as x,W as ie,V as Tt,f as i,y as h,h as f,c as ve,j as k,l as o,n,m as we,G as te,X as Ue,Y as bt,D as qt,Z as Rt,E as Dt,t as he,a as ye,u as r,d as Ce,p as Ht,k as Te,o as Lt,H as de}from"./index-zTV3nJbA.js";import{F as Pt}from"./FieldsQueryParam-V2urDtNW.js";function mt(d,e,t){const a=d.slice();return a[10]=e[t],a}function _t(d,e,t){const a=d.slice();return a[10]=e[t],a}function ht(d,e,t){const a=d.slice();return a[15]=e[t],a}function yt(d){let e;return{c(){e=i("p"),e.innerHTML=`<em>Note that in case of a password change all previously issued tokens for the current record
                 will be automatically invalidated and if you want your user to remain signed in you need to
                 reauthenticate manually after the update call.</em>`},m(t,a){o(t,e,a)},d(t){t&&r(e)}}}function kt(d){let e;return{c(){e=i("p"),e.innerHTML="Requires superuser <code>Authorization:TOKEN</code> header",k(e,"class","txt-hint txt-sm txt-right")},m(t,a){o(t,e,a)},d(t){t&&r(e)}}}function gt(d){let e,t,a,m,p,c,u,b,O,T,M,D,S,E,q,H,U,I,$,R,L,g,v,w;function Q(_,C){var le,Y,ne;return C&1&&(b=null),b==null&&(b=!!((ne=(Y=(le=_[0])==null?void 0:le.fields)==null?void 0:Y.find(Wt))!=null&&ne.required)),b?jt:Ft}let W=Q(d,-1),F=W(d);return{c(){e=i("tr"),e.innerHTML='<td colspan="3" class="txt-hint txt-bold">Auth specific fields</td>',t=f(),a=i("tr"),a.innerHTML=`<td><div class="inline-flex"><span class="label label-warning">Optional</span> <span>email</span></div></td> <td><span class="label">String</span></td> <td>The auth record email address.
                     <br/>
diff --git a/ui/dist/assets/VerificationDocs-B-KHAwvH.js b/ui/dist/assets/VerificationDocs-C8ZU-Es9.js
similarity index 99%
rename from ui/dist/assets/VerificationDocs-B-KHAwvH.js
rename to ui/dist/assets/VerificationDocs-C8ZU-Es9.js
index 9055e551..6cfe3c6a 100644
--- a/ui/dist/assets/VerificationDocs-B-KHAwvH.js
+++ b/ui/dist/assets/VerificationDocs-C8ZU-Es9.js
@@ -1,4 +1,4 @@
-import{S as le,i as ne,s as ie,W as F,f as m,h as y,y as M,j as v,l as b,n as d,G as Y,X as x,Y as Te,D as ee,Z as qe,E as te,t as H,a as L,u as h,k as K,o as oe,V as Ce,c as z,m as J,d as Q,U as Ve,_ as fe,I as Ie,p as Ae,$ as de}from"./index-DF0EYp3m.js";function ue(s,t,e){const o=s.slice();return o[4]=t[e],o}function me(s,t,e){const o=s.slice();return o[4]=t[e],o}function pe(s,t){let e,o=t[4].code+"",f,c,r,a;function u(){return t[3](t[4])}return{key:s,first:null,c(){e=m("button"),f=M(o),c=y(),v(e,"class","tab-item"),K(e,"active",t[1]===t[4].code),this.first=e},m(g,q){b(g,e,q),d(e,f),d(e,c),r||(a=oe(e,"click",u),r=!0)},p(g,q){t=g,q&4&&o!==(o=t[4].code+"")&&Y(f,o),q&6&&K(e,"active",t[1]===t[4].code)},d(g){g&&h(e),r=!1,a()}}}function _e(s,t){let e,o,f,c;return o=new Ce({props:{content:t[4].body}}),{key:s,first:null,c(){e=m("div"),z(o.$$.fragment),f=y(),v(e,"class","tab-item"),K(e,"active",t[1]===t[4].code),this.first=e},m(r,a){b(r,e,a),J(o,e,null),d(e,f),c=!0},p(r,a){t=r;const u={};a&4&&(u.content=t[4].body),o.$set(u),(!c||a&6)&&K(e,"active",t[1]===t[4].code)},i(r){c||(H(o.$$.fragment,r),c=!0)},o(r){L(o.$$.fragment,r),c=!1},d(r){r&&h(e),Q(o)}}}function Pe(s){let t,e,o,f,c,r,a,u=s[0].name+"",g,q,D,P,j,R,B,E,N,C,V,$=[],G=new Map,U,A,p=[],T=new Map,I,_=F(s[2]);const X=l=>l[4].code;for(let l=0;l<_.length;l+=1){let i=me(s,_,l),n=X(i);G.set(n,$[l]=pe(n,i))}let O=F(s[2]);const W=l=>l[4].code;for(let l=0;l<O.length;l+=1){let i=ue(s,O,l),n=W(i);T.set(n,p[l]=_e(n,i))}return{c(){t=m("div"),e=m("strong"),e.textContent="POST",o=y(),f=m("div"),c=m("p"),r=M("/api/collections/"),a=m("strong"),g=M(u),q=M("/confirm-verification"),D=y(),P=m("div"),P.textContent="Body Parameters",j=y(),R=m("table"),R.innerHTML='<thead><tr><th>Param</th> <th>Type</th> <th width="50%">Description</th></tr></thead> <tbody><tr><td><div class="inline-flex"><span class="label label-success">Required</span> <span>token</span></div></td> <td><span class="label">String</span></td> <td>The token from the verification request email.</td></tr></tbody>',B=y(),E=m("div"),E.textContent="Responses",N=y(),C=m("div"),V=m("div");for(let l=0;l<$.length;l+=1)$[l].c();U=y(),A=m("div");for(let l=0;l<p.length;l+=1)p[l].c();v(e,"class","label label-primary"),v(f,"class","content"),v(t,"class","alert alert-success"),v(P,"class","section-title"),v(R,"class","table-compact table-border m-b-base"),v(E,"class","section-title"),v(V,"class","tabs-header compact combined left"),v(A,"class","tabs-content"),v(C,"class","tabs")},m(l,i){b(l,t,i),d(t,e),d(t,o),d(t,f),d(f,c),d(c,r),d(c,a),d(a,g),d(c,q),b(l,D,i),b(l,P,i),b(l,j,i),b(l,R,i),b(l,B,i),b(l,E,i),b(l,N,i),b(l,C,i),d(C,V);for(let n=0;n<$.length;n+=1)$[n]&&$[n].m(V,null);d(C,U),d(C,A);for(let n=0;n<p.length;n+=1)p[n]&&p[n].m(A,null);I=!0},p(l,[i]){(!I||i&1)&&u!==(u=l[0].name+"")&&Y(g,u),i&6&&(_=F(l[2]),$=x($,i,X,1,l,_,G,V,Te,pe,null,me)),i&6&&(O=F(l[2]),ee(),p=x(p,i,W,1,l,O,T,A,qe,_e,null,ue),te())},i(l){if(!I){for(let i=0;i<O.length;i+=1)H(p[i]);I=!0}},o(l){for(let i=0;i<p.length;i+=1)L(p[i]);I=!1},d(l){l&&(h(t),h(D),h(P),h(j),h(R),h(B),h(E),h(N),h(C));for(let i=0;i<$.length;i+=1)$[i].d();for(let i=0;i<p.length;i+=1)p[i].d()}}}function Re(s,t,e){let{collection:o}=t,f=204,c=[];const r=a=>e(1,f=a.code);return s.$$set=a=>{"collection"in a&&e(0,o=a.collection)},e(2,c=[{code:204,body:"null"},{code:400,body:`
+import{S as le,i as ne,s as ie,W as F,f as m,h as y,y as M,j as v,l as b,n as d,G as Y,X as x,Y as Te,D as ee,Z as qe,E as te,t as H,a as L,u as h,k as K,o as oe,V as Ce,c as z,m as J,d as Q,U as Ve,_ as fe,I as Ie,p as Ae,$ as de}from"./index-zTV3nJbA.js";function ue(s,t,e){const o=s.slice();return o[4]=t[e],o}function me(s,t,e){const o=s.slice();return o[4]=t[e],o}function pe(s,t){let e,o=t[4].code+"",f,c,r,a;function u(){return t[3](t[4])}return{key:s,first:null,c(){e=m("button"),f=M(o),c=y(),v(e,"class","tab-item"),K(e,"active",t[1]===t[4].code),this.first=e},m(g,q){b(g,e,q),d(e,f),d(e,c),r||(a=oe(e,"click",u),r=!0)},p(g,q){t=g,q&4&&o!==(o=t[4].code+"")&&Y(f,o),q&6&&K(e,"active",t[1]===t[4].code)},d(g){g&&h(e),r=!1,a()}}}function _e(s,t){let e,o,f,c;return o=new Ce({props:{content:t[4].body}}),{key:s,first:null,c(){e=m("div"),z(o.$$.fragment),f=y(),v(e,"class","tab-item"),K(e,"active",t[1]===t[4].code),this.first=e},m(r,a){b(r,e,a),J(o,e,null),d(e,f),c=!0},p(r,a){t=r;const u={};a&4&&(u.content=t[4].body),o.$set(u),(!c||a&6)&&K(e,"active",t[1]===t[4].code)},i(r){c||(H(o.$$.fragment,r),c=!0)},o(r){L(o.$$.fragment,r),c=!1},d(r){r&&h(e),Q(o)}}}function Pe(s){let t,e,o,f,c,r,a,u=s[0].name+"",g,q,D,P,j,R,B,E,N,C,V,$=[],G=new Map,U,A,p=[],T=new Map,I,_=F(s[2]);const X=l=>l[4].code;for(let l=0;l<_.length;l+=1){let i=me(s,_,l),n=X(i);G.set(n,$[l]=pe(n,i))}let O=F(s[2]);const W=l=>l[4].code;for(let l=0;l<O.length;l+=1){let i=ue(s,O,l),n=W(i);T.set(n,p[l]=_e(n,i))}return{c(){t=m("div"),e=m("strong"),e.textContent="POST",o=y(),f=m("div"),c=m("p"),r=M("/api/collections/"),a=m("strong"),g=M(u),q=M("/confirm-verification"),D=y(),P=m("div"),P.textContent="Body Parameters",j=y(),R=m("table"),R.innerHTML='<thead><tr><th>Param</th> <th>Type</th> <th width="50%">Description</th></tr></thead> <tbody><tr><td><div class="inline-flex"><span class="label label-success">Required</span> <span>token</span></div></td> <td><span class="label">String</span></td> <td>The token from the verification request email.</td></tr></tbody>',B=y(),E=m("div"),E.textContent="Responses",N=y(),C=m("div"),V=m("div");for(let l=0;l<$.length;l+=1)$[l].c();U=y(),A=m("div");for(let l=0;l<p.length;l+=1)p[l].c();v(e,"class","label label-primary"),v(f,"class","content"),v(t,"class","alert alert-success"),v(P,"class","section-title"),v(R,"class","table-compact table-border m-b-base"),v(E,"class","section-title"),v(V,"class","tabs-header compact combined left"),v(A,"class","tabs-content"),v(C,"class","tabs")},m(l,i){b(l,t,i),d(t,e),d(t,o),d(t,f),d(f,c),d(c,r),d(c,a),d(a,g),d(c,q),b(l,D,i),b(l,P,i),b(l,j,i),b(l,R,i),b(l,B,i),b(l,E,i),b(l,N,i),b(l,C,i),d(C,V);for(let n=0;n<$.length;n+=1)$[n]&&$[n].m(V,null);d(C,U),d(C,A);for(let n=0;n<p.length;n+=1)p[n]&&p[n].m(A,null);I=!0},p(l,[i]){(!I||i&1)&&u!==(u=l[0].name+"")&&Y(g,u),i&6&&(_=F(l[2]),$=x($,i,X,1,l,_,G,V,Te,pe,null,me)),i&6&&(O=F(l[2]),ee(),p=x(p,i,W,1,l,O,T,A,qe,_e,null,ue),te())},i(l){if(!I){for(let i=0;i<O.length;i+=1)H(p[i]);I=!0}},o(l){for(let i=0;i<p.length;i+=1)L(p[i]);I=!1},d(l){l&&(h(t),h(D),h(P),h(j),h(R),h(B),h(E),h(N),h(C));for(let i=0;i<$.length;i+=1)$[i].d();for(let i=0;i<p.length;i+=1)p[i].d()}}}function Re(s,t,e){let{collection:o}=t,f=204,c=[];const r=a=>e(1,f=a.code);return s.$$set=a=>{"collection"in a&&e(0,o=a.collection)},e(2,c=[{code:204,body:"null"},{code:400,body:`
                 {
                   "code": 400,
                   "message": "An error occurred while validating the submitted data.",
diff --git a/ui/dist/assets/ViewApiDocs-JvrGaFd5.js b/ui/dist/assets/ViewApiDocs-BO0xPOXd.js
similarity index 98%
rename from ui/dist/assets/ViewApiDocs-JvrGaFd5.js
rename to ui/dist/assets/ViewApiDocs-BO0xPOXd.js
index 56ffa722..11090154 100644
--- a/ui/dist/assets/ViewApiDocs-JvrGaFd5.js
+++ b/ui/dist/assets/ViewApiDocs-BO0xPOXd.js
@@ -1,4 +1,4 @@
-import{S as lt,i as st,s as nt,U as ot,V as tt,W as K,f as o,y as _,h as b,c as W,j as m,l as r,n as l,m as X,G as ve,X as Je,Y as at,D as it,Z as rt,E as dt,t as j,a as V,u as d,d as Y,I as Ke,p as ct,k as Z,o as pt}from"./index-DF0EYp3m.js";import{F as ut}from"./FieldsQueryParam-DbnShkuc.js";function We(a,s,n){const i=a.slice();return i[6]=s[n],i}function Xe(a,s,n){const i=a.slice();return i[6]=s[n],i}function Ye(a){let s;return{c(){s=o("p"),s.innerHTML="Requires superuser <code>Authorization:TOKEN</code> header",m(s,"class","txt-hint txt-sm txt-right")},m(n,i){r(n,s,i)},d(n){n&&d(s)}}}function Ze(a,s){let n,i,v;function p(){return s[5](s[6])}return{key:a,first:null,c(){n=o("button"),n.textContent=`${s[6].code} `,m(n,"class","tab-item"),Z(n,"active",s[2]===s[6].code),this.first=n},m(c,f){r(c,n,f),i||(v=pt(n,"click",p),i=!0)},p(c,f){s=c,f&20&&Z(n,"active",s[2]===s[6].code)},d(c){c&&d(n),i=!1,v()}}}function et(a,s){let n,i,v,p;return i=new tt({props:{content:s[6].body}}),{key:a,first:null,c(){n=o("div"),W(i.$$.fragment),v=b(),m(n,"class","tab-item"),Z(n,"active",s[2]===s[6].code),this.first=n},m(c,f){r(c,n,f),X(i,n,null),l(n,v),p=!0},p(c,f){s=c,(!p||f&20)&&Z(n,"active",s[2]===s[6].code)},i(c){p||(j(i.$$.fragment,c),p=!0)},o(c){V(i.$$.fragment,c),p=!1},d(c){c&&d(n),Y(i)}}}function ft(a){var Ge,Ne;let s,n,i=a[0].name+"",v,p,c,f,w,C,ee,G=a[0].name+"",te,$e,le,F,se,I,ne,$,N,ye,Q,T,we,oe,z=a[0].name+"",ae,Ce,ie,Fe,re,S,de,x,ce,A,pe,R,ue,Re,M,D,fe,De,be,Oe,h,Pe,E,Te,Ee,Be,me,Ie,_e,Se,xe,Ae,he,Me,qe,B,ke,q,ge,O,H,y=[],He=new Map,Le,L,k=[],Ue=new Map,P;F=new ot({props:{js:`
+import{S as lt,i as st,s as nt,U as ot,V as tt,W as K,f as o,y as _,h as b,c as W,j as m,l as r,n as l,m as X,G as ve,X as Je,Y as at,D as it,Z as rt,E as dt,t as j,a as V,u as d,d as Y,I as Ke,p as ct,k as Z,o as pt}from"./index-zTV3nJbA.js";import{F as ut}from"./FieldsQueryParam-V2urDtNW.js";function We(a,s,n){const i=a.slice();return i[6]=s[n],i}function Xe(a,s,n){const i=a.slice();return i[6]=s[n],i}function Ye(a){let s;return{c(){s=o("p"),s.innerHTML="Requires superuser <code>Authorization:TOKEN</code> header",m(s,"class","txt-hint txt-sm txt-right")},m(n,i){r(n,s,i)},d(n){n&&d(s)}}}function Ze(a,s){let n,i,v;function p(){return s[5](s[6])}return{key:a,first:null,c(){n=o("button"),n.textContent=`${s[6].code} `,m(n,"class","tab-item"),Z(n,"active",s[2]===s[6].code),this.first=n},m(c,f){r(c,n,f),i||(v=pt(n,"click",p),i=!0)},p(c,f){s=c,f&20&&Z(n,"active",s[2]===s[6].code)},d(c){c&&d(n),i=!1,v()}}}function et(a,s){let n,i,v,p;return i=new tt({props:{content:s[6].body}}),{key:a,first:null,c(){n=o("div"),W(i.$$.fragment),v=b(),m(n,"class","tab-item"),Z(n,"active",s[2]===s[6].code),this.first=n},m(c,f){r(c,n,f),X(i,n,null),l(n,v),p=!0},p(c,f){s=c,(!p||f&20)&&Z(n,"active",s[2]===s[6].code)},i(c){p||(j(i.$$.fragment,c),p=!0)},o(c){V(i.$$.fragment,c),p=!1},d(c){c&&d(n),Y(i)}}}function ft(a){var Ge,Ne;let s,n,i=a[0].name+"",v,p,c,f,w,C,ee,G=a[0].name+"",te,$e,le,F,se,I,ne,$,N,ye,Q,T,we,oe,z=a[0].name+"",ae,Ce,ie,Fe,re,S,de,x,ce,A,pe,R,ue,Re,M,D,fe,De,be,Oe,h,Pe,E,Te,Ee,Be,me,Ie,_e,Se,xe,Ae,he,Me,qe,B,ke,q,ge,O,H,y=[],He=new Map,Le,L,k=[],Ue=new Map,P;F=new ot({props:{js:`
         import PocketBase from 'pocketbase';
 
         const pb = new PocketBase('${a[3]}');
diff --git a/ui/dist/assets/index-DF0EYp3m.js b/ui/dist/assets/index-zTV3nJbA.js
similarity index 95%
rename from ui/dist/assets/index-DF0EYp3m.js
rename to ui/dist/assets/index-zTV3nJbA.js
index ef7c9f91..e4f70731 100644
--- a/ui/dist/assets/index-DF0EYp3m.js
+++ b/ui/dist/assets/index-zTV3nJbA.js
@@ -1,4 +1,4 @@
-const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./FilterAutocompleteInput-B2Le__Nn.js","./index-B5ReTu-C.js","./ListApiDocs-BH_qyQ5z.js","./FieldsQueryParam-DbnShkuc.js","./ListApiDocs-DhdAtA7Y.css","./ViewApiDocs-JvrGaFd5.js","./CreateApiDocs-u5lIk15j.js","./UpdateApiDocs-D3y-hEtB.js","./AuthMethodsDocs-Cn0B_ruX.js","./AuthWithPasswordDocs-5C0JxuRq.js","./AuthWithOAuth2Docs-B7iU4TDa.js","./AuthRefreshDocs-CGZs_aOo.js","./CodeEditor-DtaTPOng.js"])))=>i.map(i=>d[i]);
+const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./FilterAutocompleteInput-Cars2s_J.js","./index-B5ReTu-C.js","./ListApiDocs--hFhtamL.js","./FieldsQueryParam-V2urDtNW.js","./ListApiDocs-DhdAtA7Y.css","./ViewApiDocs-BO0xPOXd.js","./CreateApiDocs-CSOaDjHc.js","./UpdateApiDocs-DdNQgX6v.js","./AuthMethodsDocs-BvIvKbOc.js","./AuthWithPasswordDocs-B0wfaiYU.js","./AuthWithOAuth2Docs-C_x3fpOa.js","./AuthRefreshDocs-TuJVrDoj.js","./CodeEditor-BdQDwUb4.js"])))=>i.map(i=>d[i]);
 var bv=Object.defineProperty;var kv=(n,e,t)=>e in n?bv(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var ct=(n,e,t)=>kv(n,typeof e!="symbol"?e+"":e,t);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))i(l);new MutationObserver(l=>{for(const s of l)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function t(l){const s={};return l.integrity&&(s.integrity=l.integrity),l.referrerPolicy&&(s.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?s.credentials="include":l.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(l){if(l.ep)return;l.ep=!0;const s=t(l);fetch(l.href,s)}})();function te(){}const io=n=>n;function ze(n,e){for(const t in e)n[t]=e[t];return n}function vv(n){return!!n&&(typeof n=="object"||typeof n=="function")&&typeof n.then=="function"}function Lb(n){return n()}function cf(){return Object.create(null)}function Ie(n){n.forEach(Lb)}function It(n){return typeof n=="function"}function be(n,e){return n!=n?e==e:n!==e||n&&typeof n=="object"||typeof n=="function"}let wo;function bn(n,e){return n===e?!0:(wo||(wo=document.createElement("a")),wo.href=e,n===wo.href)}function yv(n){return Object.keys(n).length===0}function uu(n,...e){if(n==null){for(const i of e)i(void 0);return te}const t=n.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function Ab(n){let e;return uu(n,t=>e=t)(),e}function Qe(n,e,t){n.$$.on_destroy.push(uu(e,t))}function Lt(n,e,t,i){if(n){const l=Pb(n,e,t,i);return n[0](l)}}function Pb(n,e,t,i){return n[1]&&i?ze(t.ctx.slice(),n[1](i(e))):t.ctx}function At(n,e,t,i){if(n[2]&&i){const l=n[2](i(t));if(e.dirty===void 0)return l;if(typeof l=="object"){const s=[],o=Math.max(e.dirty.length,l.length);for(let r=0;r<o;r+=1)s[r]=e.dirty[r]|l[r];return s}return e.dirty|l}return e.dirty}function Pt(n,e,t,i,l,s){if(l){const o=Pb(e,t,i,s);n.p(o,l)}}function Nt(n){if(n.ctx.length>32){const e=[],t=n.ctx.length/32;for(let i=0;i<t;i++)e[i]=-1;return e}return-1}function Vt(n){const e={};for(const t in n)t[0]!=="$"&&(e[t]=n[t]);return e}function lt(n,e){const t={};e=new Set(e);for(const i in n)!e.has(i)&&i[0]!=="$"&&(t[i]=n[i]);return t}function js(n){return n??""}function Nn(n,e,t){return n.set(t),e}function Ee(n){return n&&It(n.destroy)?n.destroy:te}function df(n){const e=typeof n=="string"&&n.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return e?[parseFloat(e[1]),e[2]||"px"]:[n,"px"]}const Nb=typeof window<"u";let Cr=Nb?()=>window.performance.now():()=>Date.now(),fu=Nb?n=>requestAnimationFrame(n):te;const Kl=new Set;function Rb(n){Kl.forEach(e=>{e.c(n)||(Kl.delete(e),e.f())}),Kl.size!==0&&fu(Rb)}function Or(n){let e;return Kl.size===0&&fu(Rb),{promise:new Promise(t=>{Kl.add(e={c:n,f:t})}),abort(){Kl.delete(e)}}}function w(n,e){n.appendChild(e)}function Fb(n){if(!n)return document;const e=n.getRootNode?n.getRootNode():n.ownerDocument;return e&&e.host?e:n.ownerDocument}function wv(n){const e=b("style");return e.textContent="/* empty */",Sv(Fb(n),e),e.sheet}function Sv(n,e){return w(n.head||n,e),e.sheet}function y(n,e,t){n.insertBefore(e,t||null)}function v(n){n.parentNode&&n.parentNode.removeChild(n)}function dt(n,e){for(let t=0;t<n.length;t+=1)n[t]&&n[t].d(e)}function b(n){return document.createElement(n)}function B(n){return document.createTextNode(n)}function C(){return B(" ")}function ye(){return B("")}function W(n,e,t,i){return n.addEventListener(e,t,i),()=>n.removeEventListener(e,t,i)}function tt(n){return function(e){return e.preventDefault(),n.call(this,e)}}function Cn(n){return function(e){return e.stopPropagation(),n.call(this,e)}}function p(n,e,t){t==null?n.removeAttribute(e):n.getAttribute(e)!==t&&n.setAttribute(e,t)}const Tv=["width","height"];function xn(n,e){const t=Object.getOwnPropertyDescriptors(n.__proto__);for(const i in e)e[i]==null?n.removeAttribute(i):i==="style"?n.style.cssText=e[i]:i==="__value"?n.value=n[i]=e[i]:t[i]&&t[i].set&&Tv.indexOf(i)===-1?n[i]=e[i]:p(n,i,e[i])}function $v(n){let e;return{p(...t){e=t,e.forEach(i=>n.push(i))},r(){e.forEach(t=>n.splice(n.indexOf(t),1))}}}function gt(n){return n===""?null:+n}function Cv(n){return Array.from(n.childNodes)}function re(n,e){e=""+e,n.data!==e&&(n.data=e)}function pe(n,e){n.value=e??""}function Ov(n,e,t,i){t==null?n.style.removeProperty(e):n.style.setProperty(e,t,"")}function ee(n,e,t){n.classList.toggle(e,!!t)}function qb(n,e,{bubbles:t=!1,cancelable:i=!1}={}){return new CustomEvent(n,{detail:e,bubbles:t,cancelable:i})}function jt(n,e){return new n(e)}const ur=new Map;let fr=0;function Ev(n){let e=5381,t=n.length;for(;t--;)e=(e<<5)-e^n.charCodeAt(t);return e>>>0}function Mv(n,e){const t={stylesheet:wv(e),rules:{}};return ur.set(n,t),t}function zs(n,e,t,i,l,s,o,r=0){const a=16.666/i;let u=`{
 `;for(let g=0;g<=1;g+=a){const k=e+(t-e)*s(g);u+=g*100+`%{${o(k,1-k)}}
 `}const f=u+`100% {${o(t,1-t)}}
@@ -12,7 +12,7 @@ var bv=Object.defineProperty;var kv=(n,e,t)=>e in n?bv(n,e,{enumerable:!0,config
 			opacity: ${r-f*d}
 		`}}const Y2=n=>({}),Wf=n=>({}),K2=n=>({}),Yf=n=>({});function Kf(n){let e,t,i,l,s,o,r,a,u,f,c,d,m,h,_,g,k,S,$=n[4]&&!n[2]&&Jf(n);const T=n[19].header,O=Lt(T,n,n[18],Yf);let M=n[4]&&n[2]&&Zf(n);const L=n[19].default,I=Lt(L,n,n[18],null),A=n[19].footer,P=Lt(A,n,n[18],Wf);return{c(){e=b("div"),t=b("div"),l=C(),s=b("div"),o=b("div"),$&&$.c(),r=C(),O&&O.c(),a=C(),M&&M.c(),u=C(),f=b("div"),I&&I.c(),c=C(),d=b("div"),P&&P.c(),p(t,"class","overlay"),p(o,"class","overlay-panel-section panel-header"),p(f,"class","overlay-panel-section panel-content"),p(d,"class","overlay-panel-section panel-footer"),p(s,"class",m="overlay-panel "+n[1]+" "+n[8]),ee(s,"popup",n[2]),p(e,"class","overlay-panel-container"),ee(e,"padded",n[2]),ee(e,"active",n[0])},m(N,R){y(N,e,R),w(e,t),w(e,l),w(e,s),w(s,o),$&&$.m(o,null),w(o,r),O&&O.m(o,null),w(o,a),M&&M.m(o,null),w(s,u),w(s,f),I&&I.m(f,null),n[21](f),w(s,c),w(s,d),P&&P.m(d,null),g=!0,k||(S=[W(t,"click",tt(n[20])),W(f,"scroll",n[22])],k=!0)},p(N,R){n=N,n[4]&&!n[2]?$?($.p(n,R),R[0]&20&&E($,1)):($=Jf(n),$.c(),E($,1),$.m(o,r)):$&&(ae(),D($,1,1,()=>{$=null}),ue()),O&&O.p&&(!g||R[0]&262144)&&Pt(O,T,n,n[18],g?At(T,n[18],R,K2):Nt(n[18]),Yf),n[4]&&n[2]?M?M.p(n,R):(M=Zf(n),M.c(),M.m(o,null)):M&&(M.d(1),M=null),I&&I.p&&(!g||R[0]&262144)&&Pt(I,L,n,n[18],g?At(L,n[18],R,null):Nt(n[18]),null),P&&P.p&&(!g||R[0]&262144)&&Pt(P,A,n,n[18],g?At(A,n[18],R,Y2):Nt(n[18]),Wf),(!g||R[0]&258&&m!==(m="overlay-panel "+n[1]+" "+n[8]))&&p(s,"class",m),(!g||R[0]&262)&&ee(s,"popup",n[2]),(!g||R[0]&4)&&ee(e,"padded",n[2]),(!g||R[0]&1)&&ee(e,"active",n[0])},i(N){g||(N&&et(()=>{g&&(i||(i=je(t,Ws,{duration:Ji,opacity:0},!0)),i.run(1))}),E($),E(O,N),E(I,N),E(P,N),N&&et(()=>{g&&(_&&_.end(1),h=Ub(s,Fn,n[2]?{duration:Ji,y:-10}:{duration:Ji,x:50}),h.start())}),g=!0)},o(N){N&&(i||(i=je(t,Ws,{duration:Ji,opacity:0},!1)),i.run(0)),D($),D(O,N),D(I,N),D(P,N),h&&h.invalidate(),N&&(_=mu(s,Fn,n[2]?{duration:Ji,y:10}:{duration:Ji,x:50})),g=!1},d(N){N&&v(e),N&&i&&i.end(),$&&$.d(),O&&O.d(N),M&&M.d(),I&&I.d(N),n[21](null),P&&P.d(N),N&&_&&_.end(),k=!1,Ie(S)}}}function Jf(n){let e,t,i,l,s;return{c(){e=b("button"),e.innerHTML='<i class="ri-close-line" aria-hidden="true"></i>',p(e,"type","button"),p(e,"aria-label","Close"),p(e,"class","overlay-close")},m(o,r){y(o,e,r),i=!0,l||(s=W(e,"click",tt(n[5])),l=!0)},p(o,r){n=o},i(o){i||(o&&et(()=>{i&&(t||(t=je(e,Ws,{duration:Ji},!0)),t.run(1))}),i=!0)},o(o){o&&(t||(t=je(e,Ws,{duration:Ji},!1)),t.run(0)),i=!1},d(o){o&&v(e),o&&t&&t.end(),l=!1,s()}}}function Zf(n){let e,t,i;return{c(){e=b("button"),e.innerHTML='<i class="ri-close-line txt-lg" aria-hidden="true"></i>',p(e,"type","button"),p(e,"aria-label","Close"),p(e,"class","btn btn-sm btn-circle btn-transparent btn-close m-l-auto")},m(l,s){y(l,e,s),t||(i=W(e,"click",tt(n[5])),t=!0)},p:te,d(l){l&&v(e),t=!1,i()}}}function J2(n){let e,t,i,l,s=n[0]&&Kf(n);return{c(){e=b("div"),s&&s.c(),p(e,"class","overlay-panel-wrapper"),p(e,"tabindex","-1")},m(o,r){y(o,e,r),s&&s.m(e,null),n[23](e),t=!0,i||(l=[W(window,"resize",n[10]),W(window,"keydown",n[9])],i=!0)},p(o,r){o[0]?s?(s.p(o,r),r[0]&1&&E(s,1)):(s=Kf(o),s.c(),E(s,1),s.m(e,null)):s&&(ae(),D(s,1,1,()=>{s=null}),ue())},i(o){t||(E(s),t=!0)},o(o){D(s),t=!1},d(o){o&&v(e),s&&s.d(),n[23](null),i=!1,Ie(l)}}}let gl,la=[];function W0(){return gl=gl||document.querySelector(".overlays"),gl||(gl=document.createElement("div"),gl.classList.add("overlays"),document.body.appendChild(gl)),gl}let Ji=150;function Gf(){return 1e3+W0().querySelectorAll(".overlay-panel-container.active").length}function Z2(n,e,t){let{$$slots:i={},$$scope:l}=e,{class:s=""}=e,{active:o=!1}=e,{popup:r=!1}=e,{overlayClose:a=!0}=e,{btnClose:u=!0}=e,{escClose:f=!0}=e,{beforeOpen:c=void 0}=e,{beforeHide:d=void 0}=e;const m=kt(),h="op_"+V.randomString(10);let _,g,k,S,$="",T=o;function O(){typeof c=="function"&&c()===!1||t(0,o=!0)}function M(){typeof d=="function"&&d()===!1||t(0,o=!1)}function L(){return o}async function I(X){t(17,T=X),X?(k=document.activeElement,m("show"),_==null||_.focus()):(clearTimeout(S),m("hide"),k==null||k.focus()),await cn(),A()}function A(){_&&(o?t(6,_.style.zIndex=Gf(),_):t(6,_.style="",_))}function P(){V.pushUnique(la,h),document.body.classList.add("overlay-active")}function N(){V.removeByValue(la,h),la.length||document.body.classList.remove("overlay-active")}function R(X){o&&f&&X.code=="Escape"&&!V.isInput(X.target)&&_&&_.style.zIndex==Gf()&&(X.preventDefault(),M())}function z(X){o&&F(g)}function F(X,oe){oe&&t(8,$=""),!(!X||S)&&(S=setTimeout(()=>{if(clearTimeout(S),S=null,!X)return;if(X.scrollHeight-X.offsetHeight>0)t(8,$="scrollable");else{t(8,$="");return}X.scrollTop==0?t(8,$+=" scroll-top-reached"):X.scrollTop+X.offsetHeight==X.scrollHeight&&t(8,$+=" scroll-bottom-reached")},100))}Gt(()=>(W0().appendChild(_),()=>{var X;clearTimeout(S),N(),(X=_==null?void 0:_.classList)==null||X.add("hidden"),setTimeout(()=>{_==null||_.remove()},0)}));const U=()=>a?M():!0;function J(X){ie[X?"unshift":"push"](()=>{g=X,t(7,g)})}const K=X=>F(X.target);function Q(X){ie[X?"unshift":"push"](()=>{_=X,t(6,_)})}return n.$$set=X=>{"class"in X&&t(1,s=X.class),"active"in X&&t(0,o=X.active),"popup"in X&&t(2,r=X.popup),"overlayClose"in X&&t(3,a=X.overlayClose),"btnClose"in X&&t(4,u=X.btnClose),"escClose"in X&&t(12,f=X.escClose),"beforeOpen"in X&&t(13,c=X.beforeOpen),"beforeHide"in X&&t(14,d=X.beforeHide),"$$scope"in X&&t(18,l=X.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&131073&&T!=o&&I(o),n.$$.dirty[0]&128&&F(g,!0),n.$$.dirty[0]&64&&_&&A(),n.$$.dirty[0]&1&&(o?P():N())},[o,s,r,a,u,M,_,g,$,R,z,F,f,c,d,O,L,T,l,i,U,J,K,Q]}class Xt extends Se{constructor(e){super(),we(this,e,Z2,J2,be,{class:1,active:0,popup:2,overlayClose:3,btnClose:4,escClose:12,beforeOpen:13,beforeHide:14,show:15,hide:5,isActive:16},null,[-1,-1])}get show(){return this.$$.ctx[15]}get hide(){return this.$$.ctx[5]}get isActive(){return this.$$.ctx[16]}}const Ul=[];function Y0(n,e){return{subscribe:qn(n,e).subscribe}}function qn(n,e=te){let t;const i=new Set;function l(r){if(be(n,r)&&(n=r,t)){const a=!Ul.length;for(const u of i)u[1](),Ul.push(u,n);if(a){for(let u=0;u<Ul.length;u+=2)Ul[u][0](Ul[u+1]);Ul.length=0}}}function s(r){l(r(n))}function o(r,a=te){const u=[r,a];return i.add(u),i.size===1&&(t=e(l,s)||te),r(n),()=>{i.delete(u),i.size===0&&t&&(t(),t=null)}}return{set:l,update:s,subscribe:o}}function K0(n,e,t){const i=!Array.isArray(n),l=i?[n]:n;if(!l.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=e.length<2;return Y0(t,(o,r)=>{let a=!1;const u=[];let f=0,c=te;const d=()=>{if(f)return;c();const h=e(i?u[0]:u,o,r);s?o(h):c=It(h)?h:te},m=l.map((h,_)=>uu(h,g=>{u[_]=g,f&=~(1<<_),a&&d()},()=>{f|=1<<_}));return a=!0,d(),function(){Ie(m),c(),a=!1}})}const Su=qn({});function _n(n,e,t){Su.set({text:n,yesCallback:e,noCallback:t})}function J0(){Su.set({})}function G2(n){var l;let e,t=((l=n[1])==null?void 0:l.text)+"",i;return{c(){e=b("h4"),i=B(t),p(e,"class","block center txt-break"),p(e,"slot","header")},m(s,o){y(s,e,o),w(e,i)},p(s,o){var r;o&2&&t!==(t=((r=s[1])==null?void 0:r.text)+"")&&re(i,t)},d(s){s&&v(e)}}}function X2(n){let e,t,i,l,s,o,r;return{c(){e=b("button"),t=b("span"),t.textContent="No",i=C(),l=b("button"),s=b("span"),s.textContent="Yes",p(t,"class","txt"),e.autofocus=!0,p(e,"type","button"),p(e,"class","btn btn-transparent btn-expanded-sm"),e.disabled=n[2],p(s,"class","txt"),p(l,"type","button"),p(l,"class","btn btn-danger btn-expanded"),l.disabled=n[2],ee(l,"btn-loading",n[2])},m(a,u){y(a,e,u),w(e,t),y(a,i,u),y(a,l,u),w(l,s),e.focus(),o||(r=[W(e,"click",n[4]),W(l,"click",n[5])],o=!0)},p(a,u){u&4&&(e.disabled=a[2]),u&4&&(l.disabled=a[2]),u&4&&ee(l,"btn-loading",a[2])},d(a){a&&(v(e),v(i),v(l)),o=!1,Ie(r)}}}function Q2(n){let e,t,i={class:"confirm-popup hide-content overlay-panel-sm",overlayClose:!n[2],escClose:!n[2],btnClose:!1,popup:!0,$$slots:{footer:[X2],header:[G2]},$$scope:{ctx:n}};return e=new Xt({props:i}),n[6](e),e.$on("hide",n[7]),{c(){j(e.$$.fragment)},m(l,s){q(e,l,s),t=!0},p(l,[s]){const o={};s&4&&(o.overlayClose=!l[2]),s&4&&(o.escClose=!l[2]),s&271&&(o.$$scope={dirty:s,ctx:l}),e.$set(o)},i(l){t||(E(e.$$.fragment,l),t=!0)},o(l){D(e.$$.fragment,l),t=!1},d(l){n[6](null),H(e,l)}}}function x2(n,e,t){let i;Qe(n,Su,c=>t(1,i=c));let l,s=!1,o=!1;const r=()=>{t(3,o=!1),l==null||l.hide()},a=async()=>{i!=null&&i.yesCallback&&(t(2,s=!0),await Promise.resolve(i.yesCallback()),t(2,s=!1)),t(3,o=!0),l==null||l.hide()};function u(c){ie[c?"unshift":"push"](()=>{l=c,t(0,l)})}const f=async()=>{!o&&(i!=null&&i.noCallback)&&i.noCallback(),await cn(),t(3,o=!1),J0()};return n.$$.update=()=>{n.$$.dirty&3&&i!=null&&i.text&&(t(3,o=!1),l==null||l.show())},[l,i,s,o,r,a,u,f]}class ew extends Se{constructor(e){super(),we(this,e,x2,Q2,be,{})}}function tw(n){let e;return{c(){e=b("textarea"),p(e,"id",n[0]),Ov(e,"visibility","hidden")},m(t,i){y(t,e,i),n[15](e)},p(t,i){i&1&&p(e,"id",t[0])},d(t){t&&v(e),n[15](null)}}}function nw(n){let e;return{c(){e=b("div"),p(e,"id",n[0])},m(t,i){y(t,e,i),n[14](e)},p(t,i){i&1&&p(e,"id",t[0])},d(t){t&&v(e),n[14](null)}}}function iw(n){let e;function t(s,o){return s[1]?nw:tw}let i=t(n),l=i(n);return{c(){e=b("div"),l.c(),p(e,"class",n[2])},m(s,o){y(s,e,o),l.m(e,null),n[16](e)},p(s,[o]){i===(i=t(s))&&l?l.p(s,o):(l.d(1),l=i(s),l&&(l.c(),l.m(e,null))),o&4&&p(e,"class",s[2])},i:te,o:te,d(s){s&&v(e),l.d(),n[16](null)}}}function lw(){let n={listeners:[],scriptLoaded:!1,injected:!1};function e(i,l,s){n.injected=!0;const o=i.createElement("script");o.referrerPolicy="origin",o.type="application/javascript",o.src=l,o.onload=()=>{s()},i.head&&i.head.appendChild(o)}function t(i,l,s){n.scriptLoaded?s():(n.listeners.push(s),n.injected||e(i,l,()=>{n.listeners.forEach(o=>o()),n.scriptLoaded=!0}))}return{load:t}}let sw=lw();function sa(){return window&&window.tinymce?window.tinymce:null}function ow(n,e,t){let{id:i="tinymce_svelte"+V.randomString(7)}=e,{inline:l=void 0}=e,{disabled:s=!1}=e,{scriptSrc:o="./libs/tinymce/tinymce.min.js"}=e,{conf:r={}}=e,{modelEvents:a="change input undo redo"}=e,{value:u=""}=e,{text:f=""}=e,{cssClass:c="tinymce-wrapper"}=e;const d=["Activate","AddUndo","BeforeAddUndo","BeforeExecCommand","BeforeGetContent","BeforeRenderUI","BeforeSetContent","BeforePaste","Blur","Change","ClearUndos","Click","ContextMenu","Copy","Cut","Dblclick","Deactivate","Dirty","Drag","DragDrop","DragEnd","DragGesture","DragOver","Drop","ExecCommand","Focus","FocusIn","FocusOut","GetContent","Hide","Init","KeyDown","KeyPress","KeyUp","LoadContent","MouseDown","MouseEnter","MouseLeave","MouseMove","MouseOut","MouseOver","MouseUp","NodeChange","ObjectResizeStart","ObjectResized","ObjectSelected","Paste","PostProcess","PostRender","PreProcess","ProgressState","Redo","Remove","Reset","ResizeEditor","SaveContent","SelectionChange","SetAttrib","SetContent","Show","Submit","Undo","VisualAid"],m=(I,A)=>{d.forEach(P=>{I.on(P,N=>{A(P.toLowerCase(),{eventName:P,event:N,editor:I})})})};let h,_,g,k=u,S=s;const $=kt();function T(){const I={...r,target:_,inline:l!==void 0?l:r.inline!==void 0?r.inline:!1,readonly:s,setup:A=>{t(11,g=A),A.on("init",()=>{A.setContent(u),A.on(a,()=>{t(12,k=A.getContent()),k!==u&&(t(5,u=k),t(6,f=A.getContent({format:"text"})))})}),m(A,$),typeof r.setup=="function"&&r.setup(A)}};t(4,_.style.visibility="",_),sa().init(I)}Gt(()=>(sa()!==null?T():sw.load(h.ownerDocument,o,()=>{h&&T()}),()=>{var I,A;try{g&&((I=g.dom)==null||I.unbind(document),(A=sa())==null||A.remove(g))}catch{}}));function O(I){ie[I?"unshift":"push"](()=>{_=I,t(4,_)})}function M(I){ie[I?"unshift":"push"](()=>{_=I,t(4,_)})}function L(I){ie[I?"unshift":"push"](()=>{h=I,t(3,h)})}return n.$$set=I=>{"id"in I&&t(0,i=I.id),"inline"in I&&t(1,l=I.inline),"disabled"in I&&t(7,s=I.disabled),"scriptSrc"in I&&t(8,o=I.scriptSrc),"conf"in I&&t(9,r=I.conf),"modelEvents"in I&&t(10,a=I.modelEvents),"value"in I&&t(5,u=I.value),"text"in I&&t(6,f=I.text),"cssClass"in I&&t(2,c=I.cssClass)},n.$$.update=()=>{var I;if(n.$$.dirty&14496)try{g&&k!==u&&(g.setContent(u),t(6,f=g.getContent({format:"text"}))),g&&s!==S&&(t(13,S=s),typeof((I=g.mode)==null?void 0:I.set)=="function"?g.mode.set(s?"readonly":"design"):g.setMode(s?"readonly":"design"))}catch(A){console.warn("TinyMCE reactive error:",A)}},[i,l,c,h,_,u,f,s,o,r,a,g,k,S,O,M,L]}class Tu extends Se{constructor(e){super(),we(this,e,ow,iw,be,{id:0,inline:1,disabled:7,scriptSrc:8,conf:9,modelEvents:10,value:5,text:6,cssClass:2})}}function rw(n,{from:e,to:t},i={}){const l=getComputedStyle(n),s=l.transform==="none"?"":l.transform,[o,r]=l.transformOrigin.split(" ").map(parseFloat),a=e.left+e.width*o/t.width-(t.left+o),u=e.top+e.height*r/t.height-(t.top+r),{delay:f=0,duration:c=m=>Math.sqrt(m)*120,easing:d=Ar}=i;return{delay:f,duration:It(c)?c(Math.sqrt(a*a+u*u)):c,easing:d,css:(m,h)=>{const _=h*a,g=h*u,k=m+h*e.width/t.width,S=m+h*e.height/t.height;return`transform: ${s} translate(${_}px, ${g}px) scale(${k}, ${S});`}}}const Pr=qn([]);function hr(n,e=4e3){return Nr(n,"info",e)}function tn(n,e=3e3){return Nr(n,"success",e)}function $i(n,e=4500){return Nr(n,"error",e)}function aw(n,e=4500){return Nr(n,"warning",e)}function Nr(n,e,t){t=t||4e3;const i={message:n,type:e,duration:t,timeout:setTimeout(()=>{Z0(i)},t)};Pr.update(l=>($u(l,i.message),V.pushOrReplaceByKey(l,i,"message"),l))}function Z0(n){Pr.update(e=>($u(e,n),e))}function Ds(){Pr.update(n=>{for(let e of n)$u(n,e);return[]})}function $u(n,e){let t;typeof e=="string"?t=V.findByKey(n,"message",e):t=e,t&&(clearTimeout(t.timeout),V.removeByKey(n,"message",t.message))}function Xf(n,e,t){const i=n.slice();return i[2]=e[t],i}function uw(n){let e;return{c(){e=b("i"),p(e,"class","ri-alert-line")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function fw(n){let e;return{c(){e=b("i"),p(e,"class","ri-error-warning-line")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function cw(n){let e;return{c(){e=b("i"),p(e,"class","ri-checkbox-circle-line")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function dw(n){let e;return{c(){e=b("i"),p(e,"class","ri-information-line")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function Qf(n,e){let t,i,l,s,o=e[2].message+"",r,a,u,f,c,d,m,h=te,_,g,k;function S(M,L){return M[2].type==="info"?dw:M[2].type==="success"?cw:M[2].type==="warning"?fw:uw}let $=S(e),T=$(e);function O(){return e[1](e[2])}return{key:n,first:null,c(){t=b("div"),i=b("div"),T.c(),l=C(),s=b("div"),r=B(o),a=C(),u=b("button"),u.innerHTML='<i class="ri-close-line"></i>',f=C(),p(i,"class","icon"),p(s,"class","content"),p(u,"type","button"),p(u,"class","close"),p(t,"class","alert txt-break"),ee(t,"alert-info",e[2].type=="info"),ee(t,"alert-success",e[2].type=="success"),ee(t,"alert-danger",e[2].type=="error"),ee(t,"alert-warning",e[2].type=="warning"),this.first=t},m(M,L){y(M,t,L),w(t,i),T.m(i,null),w(t,l),w(t,s),w(s,r),w(t,a),w(t,u),w(t,f),_=!0,g||(k=W(u,"click",tt(O)),g=!0)},p(M,L){e=M,$!==($=S(e))&&(T.d(1),T=$(e),T&&(T.c(),T.m(i,null))),(!_||L&1)&&o!==(o=e[2].message+"")&&re(r,o),(!_||L&1)&&ee(t,"alert-info",e[2].type=="info"),(!_||L&1)&&ee(t,"alert-success",e[2].type=="success"),(!_||L&1)&&ee(t,"alert-danger",e[2].type=="error"),(!_||L&1)&&ee(t,"alert-warning",e[2].type=="warning")},r(){m=t.getBoundingClientRect()},f(){Lv(t),h(),Hb(t,m)},a(){h(),h=Iv(t,m,rw,{duration:150})},i(M){_||(M&&et(()=>{_&&(d&&d.end(1),c=Ub(t,mt,{duration:150}),c.start())}),_=!0)},o(M){c&&c.invalidate(),M&&(d=mu(t,Ws,{duration:150})),_=!1},d(M){M&&v(t),T.d(),M&&d&&d.end(),g=!1,k()}}}function pw(n){let e,t=[],i=new Map,l,s=ce(n[0]);const o=r=>r[2].message;for(let r=0;r<s.length;r+=1){let a=Xf(n,s,r),u=o(a);i.set(u,t[r]=Qf(u,a))}return{c(){e=b("div");for(let r=0;r<t.length;r+=1)t[r].c();p(e,"class","toasts-wrapper")},m(r,a){y(r,e,a);for(let u=0;u<t.length;u+=1)t[u]&&t[u].m(e,null);l=!0},p(r,[a]){if(a&1){s=ce(r[0]),ae();for(let u=0;u<t.length;u+=1)t[u].r();t=yt(t,a,o,1,r,s,i,e,Fv,Qf,null,Xf);for(let u=0;u<t.length;u+=1)t[u].a();ue()}},i(r){if(!l){for(let a=0;a<s.length;a+=1)E(t[a]);l=!0}},o(r){for(let a=0;a<t.length;a+=1)D(t[a]);l=!1},d(r){r&&v(e);for(let a=0;a<t.length;a+=1)t[a].d()}}}function mw(n,e,t){let i;return Qe(n,Pr,s=>t(0,i=s)),[i,s=>Z0(s)]}class hw extends Se{constructor(e){super(),we(this,e,mw,pw,be,{})}}function xf(n){let e,t,i;const l=n[18].default,s=Lt(l,n,n[17],null);return{c(){e=b("div"),s&&s.c(),p(e,"class",n[1]),ee(e,"active",n[0])},m(o,r){y(o,e,r),s&&s.m(e,null),n[19](e),i=!0},p(o,r){s&&s.p&&(!i||r[0]&131072)&&Pt(s,l,o,o[17],i?At(l,o[17],r,null):Nt(o[17]),null),(!i||r[0]&2)&&p(e,"class",o[1]),(!i||r[0]&3)&&ee(e,"active",o[0])},i(o){i||(E(s,o),o&&et(()=>{i&&(t||(t=je(e,Fn,{duration:150,y:3},!0)),t.run(1))}),i=!0)},o(o){D(s,o),o&&(t||(t=je(e,Fn,{duration:150,y:3},!1)),t.run(0)),i=!1},d(o){o&&v(e),s&&s.d(o),n[19](null),o&&t&&t.end()}}}function _w(n){let e,t,i,l,s=n[0]&&xf(n);return{c(){e=b("div"),s&&s.c(),p(e,"class","toggler-container"),p(e,"tabindex","-1"),p(e,"role","menu")},m(o,r){y(o,e,r),s&&s.m(e,null),n[20](e),t=!0,i||(l=[W(window,"click",n[7]),W(window,"mousedown",n[6]),W(window,"keydown",n[5]),W(window,"focusin",n[4])],i=!0)},p(o,r){o[0]?s?(s.p(o,r),r[0]&1&&E(s,1)):(s=xf(o),s.c(),E(s,1),s.m(e,null)):s&&(ae(),D(s,1,1,()=>{s=null}),ue())},i(o){t||(E(s),t=!0)},o(o){D(s),t=!1},d(o){o&&v(e),s&&s.d(),n[20](null),i=!1,Ie(l)}}}function gw(n,e,t){let{$$slots:i={},$$scope:l}=e,{trigger:s=void 0}=e,{active:o=!1}=e,{escClose:r=!0}=e,{autoScroll:a=!0}=e,{closableClass:u="closable"}=e,{class:f=""}=e,c,d,m,h,_,g=!1;const k=kt();function S(X=0){o&&(clearTimeout(_),_=setTimeout($,X))}function $(){o&&(t(0,o=!1),g=!1,clearTimeout(h),clearTimeout(_))}function T(){clearTimeout(_),clearTimeout(h),!o&&(t(0,o=!0),m!=null&&m.contains(c)||c==null||c.focus(),h=setTimeout(()=>{a&&(d!=null&&d.scrollIntoViewIfNeeded?d==null||d.scrollIntoViewIfNeeded():d!=null&&d.scrollIntoView&&(d==null||d.scrollIntoView({behavior:"smooth",block:"nearest"})))},180))}function O(){o?$():T()}function M(X){return!c||X.classList.contains(u)||c.contains(X)&&X.closest&&X.closest("."+u)}function L(X){I(),c==null||c.addEventListener("click",A),c==null||c.addEventListener("keydown",P),t(16,m=X||(c==null?void 0:c.parentNode)),m==null||m.addEventListener("click",N),m==null||m.addEventListener("keydown",R)}function I(){clearTimeout(h),clearTimeout(_),c==null||c.removeEventListener("click",A),c==null||c.removeEventListener("keydown",P),m==null||m.removeEventListener("click",N),m==null||m.removeEventListener("keydown",R)}function A(X){X.stopPropagation(),M(X.target)&&$()}function P(X){(X.code==="Enter"||X.code==="Space")&&(X.stopPropagation(),M(X.target)&&S(150))}function N(X){X.preventDefault(),X.stopPropagation(),O()}function R(X){(X.code==="Enter"||X.code==="Space")&&(X.preventDefault(),X.stopPropagation(),O())}function z(X){o&&!(m!=null&&m.contains(X.target))&&!(c!=null&&c.contains(X.target))&&O()}function F(X){o&&r&&X.code==="Escape"&&(X.preventDefault(),$())}function U(X){o&&(g=!(c!=null&&c.contains(X.target)))}function J(X){var oe;o&&g&&!(c!=null&&c.contains(X.target))&&!(m!=null&&m.contains(X.target))&&!((oe=X.target)!=null&&oe.closest(".flatpickr-calendar"))&&$()}Gt(()=>(L(),()=>I()));function K(X){ie[X?"unshift":"push"](()=>{d=X,t(3,d)})}function Q(X){ie[X?"unshift":"push"](()=>{c=X,t(2,c)})}return n.$$set=X=>{"trigger"in X&&t(8,s=X.trigger),"active"in X&&t(0,o=X.active),"escClose"in X&&t(9,r=X.escClose),"autoScroll"in X&&t(10,a=X.autoScroll),"closableClass"in X&&t(11,u=X.closableClass),"class"in X&&t(1,f=X.class),"$$scope"in X&&t(17,l=X.$$scope)},n.$$.update=()=>{var X,oe;n.$$.dirty[0]&260&&c&&L(s),n.$$.dirty[0]&65537&&(o?((X=m==null?void 0:m.classList)==null||X.add("active"),m==null||m.setAttribute("aria-expanded",!0),k("show")):((oe=m==null?void 0:m.classList)==null||oe.remove("active"),m==null||m.setAttribute("aria-expanded",!1),k("hide")))},[o,f,c,d,z,F,U,J,s,r,a,u,S,$,T,O,m,l,i,K,Q]}class Hn extends Se{constructor(e){super(),we(this,e,gw,_w,be,{trigger:8,active:0,escClose:9,autoScroll:10,closableClass:11,class:1,hideWithDelay:12,hide:13,show:14,toggle:15},null,[-1,-1])}get hideWithDelay(){return this.$$.ctx[12]}get hide(){return this.$$.ctx[13]}get show(){return this.$$.ctx[14]}get toggle(){return this.$$.ctx[15]}}const an=qn(""),_r=qn(""),Ml=qn(!1),vn=qn({});function zt(n){vn.set(n||{})}function Wn(n){vn.update(e=>(V.deleteByPath(e,n),e))}const Rr=qn({});function ec(n){Rr.set(n||{})}class Rn extends Error{constructor(e){var t,i,l,s;super("ClientResponseError"),this.url="",this.status=0,this.response={},this.isAbort=!1,this.originalError=null,Object.setPrototypeOf(this,Rn.prototype),e!==null&&typeof e=="object"&&(this.url=typeof e.url=="string"?e.url:"",this.status=typeof e.status=="number"?e.status:0,this.isAbort=!!e.isAbort,this.originalError=e.originalError,e.response!==null&&typeof e.response=="object"?this.response=e.response:e.data!==null&&typeof e.data=="object"?this.response=e.data:this.response={}),this.originalError||e instanceof Rn||(this.originalError=e),typeof DOMException<"u"&&e instanceof DOMException&&(this.isAbort=!0),this.name="ClientResponseError "+this.status,this.message=(t=this.response)==null?void 0:t.message,this.message||(this.isAbort?this.message="The request was autocancelled. You can find more info in https://github.com/pocketbase/js-sdk#auto-cancellation.":(s=(l=(i=this.originalError)==null?void 0:i.cause)==null?void 0:l.message)!=null&&s.includes("ECONNREFUSED ::1")?this.message="Failed to connect to the PocketBase server. Try changing the SDK URL from localhost to 127.0.0.1 (https://github.com/pocketbase/js-sdk/issues/21).":this.message="Something went wrong while processing your request.")}get data(){return this.response}toJSON(){return{...this}}}const Mo=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function bw(n,e){const t={};if(typeof n!="string")return t;const i=Object.assign({},{}).decode||kw;let l=0;for(;l<n.length;){const s=n.indexOf("=",l);if(s===-1)break;let o=n.indexOf(";",l);if(o===-1)o=n.length;else if(o<s){l=n.lastIndexOf(";",s-1)+1;continue}const r=n.slice(l,s).trim();if(t[r]===void 0){let a=n.slice(s+1,o).trim();a.charCodeAt(0)===34&&(a=a.slice(1,-1));try{t[r]=i(a)}catch{t[r]=a}}l=o+1}return t}function tc(n,e,t){const i=Object.assign({},t||{}),l=i.encode||vw;if(!Mo.test(n))throw new TypeError("argument name is invalid");const s=l(e);if(s&&!Mo.test(s))throw new TypeError("argument val is invalid");let o=n+"="+s;if(i.maxAge!=null){const r=i.maxAge-0;if(isNaN(r)||!isFinite(r))throw new TypeError("option maxAge is invalid");o+="; Max-Age="+Math.floor(r)}if(i.domain){if(!Mo.test(i.domain))throw new TypeError("option domain is invalid");o+="; Domain="+i.domain}if(i.path){if(!Mo.test(i.path))throw new TypeError("option path is invalid");o+="; Path="+i.path}if(i.expires){if(!function(a){return Object.prototype.toString.call(a)==="[object Date]"||a instanceof Date}(i.expires)||isNaN(i.expires.valueOf()))throw new TypeError("option expires is invalid");o+="; Expires="+i.expires.toUTCString()}if(i.httpOnly&&(o+="; HttpOnly"),i.secure&&(o+="; Secure"),i.priority)switch(typeof i.priority=="string"?i.priority.toLowerCase():i.priority){case"low":o+="; Priority=Low";break;case"medium":o+="; Priority=Medium";break;case"high":o+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}if(i.sameSite)switch(typeof i.sameSite=="string"?i.sameSite.toLowerCase():i.sameSite){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return o}function kw(n){return n.indexOf("%")!==-1?decodeURIComponent(n):n}function vw(n){return encodeURIComponent(n)}const yw=typeof navigator<"u"&&navigator.product==="ReactNative"||typeof global<"u"&&global.HermesInternal;let G0;function Xl(n){if(n)try{const e=decodeURIComponent(G0(n.split(".")[1]).split("").map(function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(e)||{}}catch{}return{}}function Fr(n,e=0){let t=Xl(n);return!(Object.keys(t).length>0&&(!t.exp||t.exp-e>Date.now()/1e3))}G0=typeof atob!="function"||yw?n=>{let e=String(n).replace(/=+$/,"");if(e.length%4==1)throw new Error("'atob' failed: The string to be decoded is not correctly encoded.");for(var t,i,l=0,s=0,o="";i=e.charAt(s++);~i&&(t=l%4?64*t+i:i,l++%4)?o+=String.fromCharCode(255&t>>(-2*l&6)):0)i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(i);return o}:atob;const nc="pb_auth";class Cu{constructor(){this.baseToken="",this.baseModel=null,this._onChangeCallbacks=[]}get token(){return this.baseToken}get record(){return this.baseModel}get model(){return this.baseModel}get isValid(){return!Fr(this.token)}get isAdmin(){return Xl(this.token).type==="admin"}get isAuthRecord(){return Xl(this.token).type==="authRecord"}save(e,t){this.baseToken=e||"",this.baseModel=t||null,this.triggerChange()}clear(){this.baseToken="",this.baseModel=null,this.triggerChange()}loadFromCookie(e,t=nc){const i=bw(e||"")[t]||"";let l={};try{l=JSON.parse(i),(typeof l===null||typeof l!="object"||Array.isArray(l))&&(l={})}catch{}this.save(l.token||"",l.record||l.model||null)}exportToCookie(e,t=nc){var a,u;const i={secure:!0,sameSite:!0,httpOnly:!0,path:"/"},l=Xl(this.token);i.expires=l!=null&&l.exp?new Date(1e3*l.exp):new Date("1970-01-01"),e=Object.assign({},i,e);const s={token:this.token,record:this.record?JSON.parse(JSON.stringify(this.record)):null};let o=tc(t,JSON.stringify(s),e);const r=typeof Blob<"u"?new Blob([o]).size:o.length;if(s.record&&r>4096){s.record={id:(a=s.record)==null?void 0:a.id,email:(u=s.record)==null?void 0:u.email};const f=["collectionId","collectionName","verified"];for(const c in this.record)f.includes(c)&&(s.record[c]=this.record[c]);o=tc(t,JSON.stringify(s),e)}return o}onChange(e,t=!1){return this._onChangeCallbacks.push(e),t&&e(this.token,this.record),()=>{for(let i=this._onChangeCallbacks.length-1;i>=0;i--)if(this._onChangeCallbacks[i]==e)return delete this._onChangeCallbacks[i],void this._onChangeCallbacks.splice(i,1)}}triggerChange(){for(const e of this._onChangeCallbacks)e&&e(this.token,this.record)}}class X0 extends Cu{constructor(e="pocketbase_auth"){super(),this.storageFallback={},this.storageKey=e,this._bindStorageEvent()}get token(){return(this._storageGet(this.storageKey)||{}).token||""}get record(){const e=this._storageGet(this.storageKey)||{};return e.record||e.model||null}get model(){return this.record}save(e,t){this._storageSet(this.storageKey,{token:e,record:t}),super.save(e,t)}clear(){this._storageRemove(this.storageKey),super.clear()}_storageGet(e){if(typeof window<"u"&&(window!=null&&window.localStorage)){const t=window.localStorage.getItem(e)||"";try{return JSON.parse(t)}catch{return t}}return this.storageFallback[e]}_storageSet(e,t){if(typeof window<"u"&&(window!=null&&window.localStorage)){let i=t;typeof t!="string"&&(i=JSON.stringify(t)),window.localStorage.setItem(e,i)}else this.storageFallback[e]=t}_storageRemove(e){var t;typeof window<"u"&&(window!=null&&window.localStorage)&&((t=window.localStorage)==null||t.removeItem(e)),delete this.storageFallback[e]}_bindStorageEvent(){typeof window<"u"&&(window!=null&&window.localStorage)&&window.addEventListener&&window.addEventListener("storage",e=>{if(e.key!=this.storageKey)return;const t=this._storageGet(this.storageKey)||{};super.save(t.token||"",t.record||t.model||null)})}}class rl{constructor(e){this.client=e}}class ww extends rl{async getAll(e){return e=Object.assign({method:"GET"},e),this.client.send("/api/settings",e)}async update(e,t){return t=Object.assign({method:"PATCH",body:e},t),this.client.send("/api/settings",t)}async testS3(e="storage",t){return t=Object.assign({method:"POST",body:{filesystem:e}},t),this.client.send("/api/settings/test/s3",t).then(()=>!0)}async testEmail(e,t,i,l){return l=Object.assign({method:"POST",body:{email:t,template:i,collection:e}},l),this.client.send("/api/settings/test/email",l).then(()=>!0)}async generateAppleClientSecret(e,t,i,l,s,o){return o=Object.assign({method:"POST",body:{clientId:e,teamId:t,keyId:i,privateKey:l,duration:s}},o),this.client.send("/api/settings/apple/generate-client-secret",o)}}const Sw=["requestKey","$cancelKey","$autoCancel","fetch","headers","body","query","params","cache","credentials","headers","integrity","keepalive","method","mode","redirect","referrer","referrerPolicy","signal","window"];function Ou(n){if(n){n.query=n.query||{};for(let e in n)Sw.includes(e)||(n.query[e]=n[e],delete n[e])}}function Q0(n){const e=[];for(const t in n){if(n[t]===null)continue;const i=n[t],l=encodeURIComponent(t);if(Array.isArray(i))for(const s of i)e.push(l+"="+encodeURIComponent(s));else i instanceof Date?e.push(l+"="+encodeURIComponent(i.toISOString())):typeof i!==null&&typeof i=="object"?e.push(l+"="+encodeURIComponent(JSON.stringify(i))):e.push(l+"="+encodeURIComponent(i))}return e.join("&")}class x0 extends rl{constructor(){super(...arguments),this.clientId="",this.eventSource=null,this.subscriptions={},this.lastSentSubscriptions=[],this.maxConnectTimeout=15e3,this.reconnectAttempts=0,this.maxReconnectAttempts=1/0,this.predefinedReconnectIntervals=[200,300,500,1e3,1200,1500,2e3],this.pendingConnects=[]}get isConnected(){return!!this.eventSource&&!!this.clientId&&!this.pendingConnects.length}async subscribe(e,t,i){var o;if(!e)throw new Error("topic must be set.");let l=e;if(i){Ou(i=Object.assign({},i));const r="options="+encodeURIComponent(JSON.stringify({query:i.query,headers:i.headers}));l+=(l.includes("?")?"&":"?")+r}const s=function(r){const a=r;let u;try{u=JSON.parse(a==null?void 0:a.data)}catch{}t(u||{})};return this.subscriptions[l]||(this.subscriptions[l]=[]),this.subscriptions[l].push(s),this.isConnected?this.subscriptions[l].length===1?await this.submitSubscriptions():(o=this.eventSource)==null||o.addEventListener(l,s):await this.connect(),async()=>this.unsubscribeByTopicAndListener(e,s)}async unsubscribe(e){var i;let t=!1;if(e){const l=this.getSubscriptionsByTopic(e);for(let s in l)if(this.hasSubscriptionListeners(s)){for(let o of this.subscriptions[s])(i=this.eventSource)==null||i.removeEventListener(s,o);delete this.subscriptions[s],t||(t=!0)}}else this.subscriptions={};this.hasSubscriptionListeners()?t&&await this.submitSubscriptions():this.disconnect()}async unsubscribeByPrefix(e){var i;let t=!1;for(let l in this.subscriptions)if((l+"?").startsWith(e)){t=!0;for(let s of this.subscriptions[l])(i=this.eventSource)==null||i.removeEventListener(l,s);delete this.subscriptions[l]}t&&(this.hasSubscriptionListeners()?await this.submitSubscriptions():this.disconnect())}async unsubscribeByTopicAndListener(e,t){var s;let i=!1;const l=this.getSubscriptionsByTopic(e);for(let o in l){if(!Array.isArray(this.subscriptions[o])||!this.subscriptions[o].length)continue;let r=!1;for(let a=this.subscriptions[o].length-1;a>=0;a--)this.subscriptions[o][a]===t&&(r=!0,delete this.subscriptions[o][a],this.subscriptions[o].splice(a,1),(s=this.eventSource)==null||s.removeEventListener(o,t));r&&(this.subscriptions[o].length||delete this.subscriptions[o],i||this.hasSubscriptionListeners(o)||(i=!0))}this.hasSubscriptionListeners()?i&&await this.submitSubscriptions():this.disconnect()}hasSubscriptionListeners(e){var t,i;if(this.subscriptions=this.subscriptions||{},e)return!!((t=this.subscriptions[e])!=null&&t.length);for(let l in this.subscriptions)if((i=this.subscriptions[l])!=null&&i.length)return!0;return!1}async submitSubscriptions(){if(this.clientId)return this.addAllSubscriptionListeners(),this.lastSentSubscriptions=this.getNonEmptySubscriptionKeys(),this.client.send("/api/realtime",{method:"POST",body:{clientId:this.clientId,subscriptions:this.lastSentSubscriptions},requestKey:this.getSubscriptionsCancelKey()}).catch(e=>{if(!(e!=null&&e.isAbort))throw e})}getSubscriptionsCancelKey(){return"realtime_"+this.clientId}getSubscriptionsByTopic(e){const t={};e=e.includes("?")?e:e+"?";for(let i in this.subscriptions)(i+"?").startsWith(e)&&(t[i]=this.subscriptions[i]);return t}getNonEmptySubscriptionKeys(){const e=[];for(let t in this.subscriptions)this.subscriptions[t].length&&e.push(t);return e}addAllSubscriptionListeners(){if(this.eventSource){this.removeAllSubscriptionListeners();for(let e in this.subscriptions)for(let t of this.subscriptions[e])this.eventSource.addEventListener(e,t)}}removeAllSubscriptionListeners(){if(this.eventSource)for(let e in this.subscriptions)for(let t of this.subscriptions[e])this.eventSource.removeEventListener(e,t)}async connect(){if(!(this.reconnectAttempts>0))return new Promise((e,t)=>{this.pendingConnects.push({resolve:e,reject:t}),this.pendingConnects.length>1||this.initConnect()})}initConnect(){this.disconnect(!0),clearTimeout(this.connectTimeoutId),this.connectTimeoutId=setTimeout(()=>{this.connectErrorHandler(new Error("EventSource connect took too long."))},this.maxConnectTimeout),this.eventSource=new EventSource(this.client.buildURL("/api/realtime")),this.eventSource.onerror=e=>{this.connectErrorHandler(new Error("Failed to establish realtime connection."))},this.eventSource.addEventListener("PB_CONNECT",e=>{const t=e;this.clientId=t==null?void 0:t.lastEventId,this.submitSubscriptions().then(async()=>{let i=3;for(;this.hasUnsentSubscriptions()&&i>0;)i--,await this.submitSubscriptions()}).then(()=>{for(let l of this.pendingConnects)l.resolve();this.pendingConnects=[],this.reconnectAttempts=0,clearTimeout(this.reconnectTimeoutId),clearTimeout(this.connectTimeoutId);const i=this.getSubscriptionsByTopic("PB_CONNECT");for(let l in i)for(let s of i[l])s(e)}).catch(i=>{this.clientId="",this.connectErrorHandler(i)})})}hasUnsentSubscriptions(){const e=this.getNonEmptySubscriptionKeys();if(e.length!=this.lastSentSubscriptions.length)return!0;for(const t of e)if(!this.lastSentSubscriptions.includes(t))return!0;return!1}connectErrorHandler(e){if(clearTimeout(this.connectTimeoutId),clearTimeout(this.reconnectTimeoutId),!this.clientId&&!this.reconnectAttempts||this.reconnectAttempts>this.maxReconnectAttempts){for(let i of this.pendingConnects)i.reject(new Rn(e));return this.pendingConnects=[],void this.disconnect()}this.disconnect(!0);const t=this.predefinedReconnectIntervals[this.reconnectAttempts]||this.predefinedReconnectIntervals[this.predefinedReconnectIntervals.length-1];this.reconnectAttempts++,this.reconnectTimeoutId=setTimeout(()=>{this.initConnect()},t)}disconnect(e=!1){var t;if(clearTimeout(this.connectTimeoutId),clearTimeout(this.reconnectTimeoutId),this.removeAllSubscriptionListeners(),this.client.cancelRequest(this.getSubscriptionsCancelKey()),(t=this.eventSource)==null||t.close(),this.eventSource=null,this.clientId="",!e){this.reconnectAttempts=0;for(let i of this.pendingConnects)i.resolve();this.pendingConnects=[]}}}class ek extends rl{decode(e){return e}async getFullList(e,t){if(typeof e=="number")return this._getFullList(e,t);let i=500;return(t=Object.assign({},e,t)).batch&&(i=t.batch,delete t.batch),this._getFullList(i,t)}async getList(e=1,t=30,i){return(i=Object.assign({method:"GET"},i)).query=Object.assign({page:e,perPage:t},i.query),this.client.send(this.baseCrudPath,i).then(l=>{var s;return l.items=((s=l.items)==null?void 0:s.map(o=>this.decode(o)))||[],l})}async getFirstListItem(e,t){return(t=Object.assign({requestKey:"one_by_filter_"+this.baseCrudPath+"_"+e},t)).query=Object.assign({filter:e,skipTotal:1},t.query),this.getList(1,1,t).then(i=>{var l;if(!((l=i==null?void 0:i.items)!=null&&l.length))throw new Rn({status:404,response:{code:404,message:"The requested resource wasn't found.",data:{}}});return i.items[0]})}async getOne(e,t){if(!e)throw new Rn({url:this.client.buildURL(this.baseCrudPath+"/"),status:404,response:{code:404,message:"Missing required record id.",data:{}}});return t=Object.assign({method:"GET"},t),this.client.send(this.baseCrudPath+"/"+encodeURIComponent(e),t).then(i=>this.decode(i))}async create(e,t){return t=Object.assign({method:"POST",body:e},t),this.client.send(this.baseCrudPath,t).then(i=>this.decode(i))}async update(e,t,i){return i=Object.assign({method:"PATCH",body:t},i),this.client.send(this.baseCrudPath+"/"+encodeURIComponent(e),i).then(l=>this.decode(l))}async delete(e,t){return t=Object.assign({method:"DELETE"},t),this.client.send(this.baseCrudPath+"/"+encodeURIComponent(e),t).then(()=>!0)}_getFullList(e=500,t){(t=t||{}).query=Object.assign({skipTotal:1},t.query);let i=[],l=async s=>this.getList(s,e||500,t).then(o=>{const r=o.items;return i=i.concat(r),r.length==o.perPage?l(s+1):i});return l(1)}}function Yi(n,e,t,i){const l=i!==void 0;return l||t!==void 0?l?(console.warn(n),e.body=Object.assign({},e.body,t),e.query=Object.assign({},e.query,i),e):Object.assign(e,t):e}function oa(n){var e;(e=n._resetAutoRefresh)==null||e.call(n)}class Tw extends ek{constructor(e,t){super(e),this.collectionIdOrName=t}get baseCrudPath(){return this.baseCollectionPath+"/records"}get baseCollectionPath(){return"/api/collections/"+encodeURIComponent(this.collectionIdOrName)}get isSuperusers(){return this.collectionIdOrName=="_superusers"||this.collectionIdOrName=="_pbc_2773867675"}async subscribe(e,t,i){if(!e)throw new Error("Missing topic.");if(!t)throw new Error("Missing subscription callback.");return this.client.realtime.subscribe(this.collectionIdOrName+"/"+e,t,i)}async unsubscribe(e){return e?this.client.realtime.unsubscribe(this.collectionIdOrName+"/"+e):this.client.realtime.unsubscribeByPrefix(this.collectionIdOrName)}async getFullList(e,t){if(typeof e=="number")return super.getFullList(e,t);const i=Object.assign({},e,t);return super.getFullList(i)}async getList(e=1,t=30,i){return super.getList(e,t,i)}async getFirstListItem(e,t){return super.getFirstListItem(e,t)}async getOne(e,t){return super.getOne(e,t)}async create(e,t){return super.create(e,t)}async update(e,t,i){return super.update(e,t,i).then(l=>{var s,o,r;return((s=this.client.authStore.record)==null?void 0:s.id)!==(l==null?void 0:l.id)||((o=this.client.authStore.record)==null?void 0:o.collectionId)!==this.collectionIdOrName&&((r=this.client.authStore.record)==null?void 0:r.collectionName)!==this.collectionIdOrName||this.client.authStore.save(this.client.authStore.token,l),l})}async delete(e,t){return super.delete(e,t).then(i=>{var l,s,o;return!i||((l=this.client.authStore.record)==null?void 0:l.id)!==e||((s=this.client.authStore.record)==null?void 0:s.collectionId)!==this.collectionIdOrName&&((o=this.client.authStore.record)==null?void 0:o.collectionName)!==this.collectionIdOrName||this.client.authStore.clear(),i})}authResponse(e){const t=this.decode((e==null?void 0:e.record)||{});return this.client.authStore.save(e==null?void 0:e.token,t),Object.assign({},e,{token:(e==null?void 0:e.token)||"",record:t})}async listAuthMethods(e){return e=Object.assign({method:"GET",fields:"mfa,otp,password,oauth2"},e),this.client.send(this.baseCollectionPath+"/auth-methods",e)}async authWithPassword(e,t,i){let l;i=Object.assign({method:"POST",body:{identity:e,password:t}},i),this.isSuperusers&&(l=i.autoRefreshThreshold,delete i.autoRefreshThreshold,i.autoRefresh||oa(this.client));let s=await this.client.send(this.baseCollectionPath+"/auth-with-password",i);return s=this.authResponse(s),l&&this.isSuperusers&&function(r,a,u,f){oa(r);const c=r.beforeSend,d=r.authStore.record,m=r.authStore.onChange((h,_)=>{(!h||(_==null?void 0:_.id)!=(d==null?void 0:d.id)||(_!=null&&_.collectionId||d!=null&&d.collectionId)&&(_==null?void 0:_.collectionId)!=(d==null?void 0:d.collectionId))&&oa(r)});r._resetAutoRefresh=function(){m(),r.beforeSend=c,delete r._resetAutoRefresh},r.beforeSend=async(h,_)=>{var $;const g=r.authStore.token;if(($=_.query)!=null&&$.autoRefresh)return c?c(h,_):{url:h,sendOptions:_};let k=r.authStore.isValid;if(k&&Fr(r.authStore.token,a))try{await u()}catch{k=!1}k||await f();const S=_.headers||{};for(let T in S)if(T.toLowerCase()=="authorization"&&g==S[T]&&r.authStore.token){S[T]=r.authStore.token;break}return _.headers=S,c?c(h,_):{url:h,sendOptions:_}}}(this.client,l,()=>this.authRefresh({autoRefresh:!0}),()=>this.authWithPassword(e,t,Object.assign({autoRefresh:!0},i))),s}async authWithOAuth2Code(e,t,i,l,s,o,r){let a={method:"POST",body:{provider:e,code:t,codeVerifier:i,redirectURL:l,createData:s}};return a=Yi("This form of authWithOAuth2Code(provider, code, codeVerifier, redirectURL, createData?, body?, query?) is deprecated. Consider replacing it with authWithOAuth2Code(provider, code, codeVerifier, redirectURL, createData?, options?).",a,o,r),this.client.send(this.baseCollectionPath+"/auth-with-oauth2",a).then(u=>this.authResponse(u))}authWithOAuth2(...e){if(e.length>1||typeof(e==null?void 0:e[0])=="string")return console.warn("PocketBase: This form of authWithOAuth2() is deprecated and may get removed in the future. Please replace with authWithOAuth2Code() OR use the authWithOAuth2() realtime form as shown in https://pocketbase.io/docs/authentication/#oauth2-integration."),this.authWithOAuth2Code((e==null?void 0:e[0])||"",(e==null?void 0:e[1])||"",(e==null?void 0:e[2])||"",(e==null?void 0:e[3])||"",(e==null?void 0:e[4])||{},(e==null?void 0:e[5])||{},(e==null?void 0:e[6])||{});const t=(e==null?void 0:e[0])||{};let i=null;t.urlCallback||(i=ic(void 0));const l=new x0(this.client);function s(){i==null||i.close(),l.unsubscribe()}const o={},r=t.requestKey;return r&&(o.requestKey=r),this.listAuthMethods(o).then(a=>{var d;const u=a.oauth2.providers.find(m=>m.name===t.provider);if(!u)throw new Rn(new Error(`Missing or invalid provider "${t.provider}".`));const f=this.client.buildURL("/api/oauth2-redirect"),c=r?(d=this.client.cancelControllers)==null?void 0:d[r]:void 0;return c&&(c.signal.onabort=()=>{s()}),new Promise(async(m,h)=>{var _;try{await l.subscribe("@oauth2",async $=>{var O;const T=l.clientId;try{if(!$.state||T!==$.state)throw new Error("State parameters don't match.");if($.error||!$.code)throw new Error("OAuth2 redirect error or missing code: "+$.error);const M=Object.assign({},t);delete M.provider,delete M.scopes,delete M.createData,delete M.urlCallback,(O=c==null?void 0:c.signal)!=null&&O.onabort&&(c.signal.onabort=null);const L=await this.authWithOAuth2Code(u.name,$.code,u.codeVerifier,f,t.createData,M);m(L)}catch(M){h(new Rn(M))}s()});const g={state:l.clientId};(_=t.scopes)!=null&&_.length&&(g.scope=t.scopes.join(" "));const k=this._replaceQueryParams(u.authURL+f,g);await(t.urlCallback||function($){i?i.location.href=$:i=ic($)})(k)}catch(g){s(),h(new Rn(g))}})}).catch(a=>{throw s(),a})}async authRefresh(e,t){let i={method:"POST"};return i=Yi("This form of authRefresh(body?, query?) is deprecated. Consider replacing it with authRefresh(options?).",i,e,t),this.client.send(this.baseCollectionPath+"/auth-refresh",i).then(l=>this.authResponse(l))}async requestPasswordReset(e,t,i){let l={method:"POST",body:{email:e}};return l=Yi("This form of requestPasswordReset(email, body?, query?) is deprecated. Consider replacing it with requestPasswordReset(email, options?).",l,t,i),this.client.send(this.baseCollectionPath+"/request-password-reset",l).then(()=>!0)}async confirmPasswordReset(e,t,i,l,s){let o={method:"POST",body:{token:e,password:t,passwordConfirm:i}};return o=Yi("This form of confirmPasswordReset(token, password, passwordConfirm, body?, query?) is deprecated. Consider replacing it with confirmPasswordReset(token, password, passwordConfirm, options?).",o,l,s),this.client.send(this.baseCollectionPath+"/confirm-password-reset",o).then(()=>!0)}async requestVerification(e,t,i){let l={method:"POST",body:{email:e}};return l=Yi("This form of requestVerification(email, body?, query?) is deprecated. Consider replacing it with requestVerification(email, options?).",l,t,i),this.client.send(this.baseCollectionPath+"/request-verification",l).then(()=>!0)}async confirmVerification(e,t,i){let l={method:"POST",body:{token:e}};return l=Yi("This form of confirmVerification(token, body?, query?) is deprecated. Consider replacing it with confirmVerification(token, options?).",l,t,i),this.client.send(this.baseCollectionPath+"/confirm-verification",l).then(()=>{const s=Xl(e),o=this.client.authStore.record;return o&&!o.verified&&o.id===s.id&&o.collectionId===s.collectionId&&(o.verified=!0,this.client.authStore.save(this.client.authStore.token,o)),!0})}async requestEmailChange(e,t,i){let l={method:"POST",body:{newEmail:e}};return l=Yi("This form of requestEmailChange(newEmail, body?, query?) is deprecated. Consider replacing it with requestEmailChange(newEmail, options?).",l,t,i),this.client.send(this.baseCollectionPath+"/request-email-change",l).then(()=>!0)}async confirmEmailChange(e,t,i,l){let s={method:"POST",body:{token:e,password:t}};return s=Yi("This form of confirmEmailChange(token, password, body?, query?) is deprecated. Consider replacing it with confirmEmailChange(token, password, options?).",s,i,l),this.client.send(this.baseCollectionPath+"/confirm-email-change",s).then(()=>{const o=Xl(e),r=this.client.authStore.record;return r&&r.id===o.id&&r.collectionId===o.collectionId&&this.client.authStore.clear(),!0})}async listExternalAuths(e,t){return this.client.collection("_externalAuths").getFullList(Object.assign({},t,{filter:this.client.filter("recordRef = {:id}",{id:e})}))}async unlinkExternalAuth(e,t,i){const l=await this.client.collection("_externalAuths").getFirstListItem(this.client.filter("recordRef = {:recordId} && provider = {:provider}",{recordId:e,provider:t}));return this.client.collection("_externalAuths").delete(l.id,i).then(()=>!0)}async requestOTP(e,t){return t=Object.assign({method:"POST",body:{email:e}},t),this.client.send(this.baseCollectionPath+"/request-otp",t)}async authWithOTP(e,t,i){return i=Object.assign({method:"POST",body:{otpId:e,password:t}},i),this.client.send(this.baseCollectionPath+"/auth-with-otp",i).then(l=>this.authResponse(l))}async impersonate(e,t,i){(i=Object.assign({method:"POST",body:{duration:t}},i)).headers=i.headers||{},i.headers.Authorization||(i.headers.Authorization=this.client.authStore.token);const l=new fo(this.client.baseURL,new Cu,this.client.lang),s=await l.send(this.baseCollectionPath+"/impersonate/"+encodeURIComponent(e),i);return l.authStore.save(s==null?void 0:s.token,this.decode((s==null?void 0:s.record)||{})),l}_replaceQueryParams(e,t={}){let i=e,l="";e.indexOf("?")>=0&&(i=e.substring(0,e.indexOf("?")),l=e.substring(e.indexOf("?")+1));const s={},o=l.split("&");for(const r of o){if(r=="")continue;const a=r.split("=");s[decodeURIComponent(a[0].replace(/\+/g," "))]=decodeURIComponent((a[1]||"").replace(/\+/g," "))}for(let r in t)t.hasOwnProperty(r)&&(t[r]==null?delete s[r]:s[r]=t[r]);l="";for(let r in s)s.hasOwnProperty(r)&&(l!=""&&(l+="&"),l+=encodeURIComponent(r.replace(/%20/g,"+"))+"="+encodeURIComponent(s[r].replace(/%20/g,"+")));return l!=""?i+"?"+l:i}}function ic(n){if(typeof window>"u"||!(window!=null&&window.open))throw new Rn(new Error("Not in a browser context - please pass a custom urlCallback function."));let e=1024,t=768,i=window.innerWidth,l=window.innerHeight;e=e>i?i:e,t=t>l?l:t;let s=i/2-e/2,o=l/2-t/2;return window.open(n,"popup_window","width="+e+",height="+t+",top="+o+",left="+s+",resizable,menubar=no")}class $w extends ek{get baseCrudPath(){return"/api/collections"}async import(e,t=!1,i){return i=Object.assign({method:"PUT",body:{collections:e,deleteMissing:t}},i),this.client.send(this.baseCrudPath+"/import",i).then(()=>!0)}async getScaffolds(e){return e=Object.assign({method:"GET"},e),this.client.send(this.baseCrudPath+"/meta/scaffolds",e)}async truncate(e,t){return t=Object.assign({method:"DELETE"},t),this.client.send(this.baseCrudPath+"/"+encodeURIComponent(e)+"/truncate",t).then(()=>!0)}}class Cw extends rl{async getList(e=1,t=30,i){return(i=Object.assign({method:"GET"},i)).query=Object.assign({page:e,perPage:t},i.query),this.client.send("/api/logs",i)}async getOne(e,t){if(!e)throw new Rn({url:this.client.buildURL("/api/logs/"),status:404,response:{code:404,message:"Missing required log id.",data:{}}});return t=Object.assign({method:"GET"},t),this.client.send("/api/logs/"+encodeURIComponent(e),t)}async getStats(e){return e=Object.assign({method:"GET"},e),this.client.send("/api/logs/stats",e)}}class Ow extends rl{async check(e){return e=Object.assign({method:"GET"},e),this.client.send("/api/health",e)}}class Ew extends rl{getUrl(e,t,i={}){return console.warn("Please replace pb.files.getUrl() with pb.files.getURL()"),this.getURL(e,t,i)}getURL(e,t,i={}){if(!t||!(e!=null&&e.id)||!(e!=null&&e.collectionId)&&!(e!=null&&e.collectionName))return"";const l=[];l.push("api"),l.push("files"),l.push(encodeURIComponent(e.collectionId||e.collectionName)),l.push(encodeURIComponent(e.id)),l.push(encodeURIComponent(t));let s=this.client.buildURL(l.join("/"));if(Object.keys(i).length){i.download===!1&&delete i.download;const o=new URLSearchParams(i);s+=(s.includes("?")?"&":"?")+o}return s}async getToken(e){return e=Object.assign({method:"POST"},e),this.client.send("/api/files/token",e).then(t=>(t==null?void 0:t.token)||"")}}class Mw extends rl{async getFullList(e){return e=Object.assign({method:"GET"},e),this.client.send("/api/backups",e)}async create(e,t){return t=Object.assign({method:"POST",body:{name:e}},t),this.client.send("/api/backups",t).then(()=>!0)}async upload(e,t){return t=Object.assign({method:"POST",body:e},t),this.client.send("/api/backups/upload",t).then(()=>!0)}async delete(e,t){return t=Object.assign({method:"DELETE"},t),this.client.send(`/api/backups/${encodeURIComponent(e)}`,t).then(()=>!0)}async restore(e,t){return t=Object.assign({method:"POST"},t),this.client.send(`/api/backups/${encodeURIComponent(e)}/restore`,t).then(()=>!0)}getDownloadUrl(e,t){return console.warn("Please replace pb.backups.getDownloadUrl() with pb.backups.getDownloadURL()"),this.getDownloadURL(e,t)}getDownloadURL(e,t){return this.client.buildURL(`/api/backups/${encodeURIComponent(t)}?token=${encodeURIComponent(e)}`)}}function Wa(n){return typeof Blob<"u"&&n instanceof Blob||typeof File<"u"&&n instanceof File||n!==null&&typeof n=="object"&&n.uri&&(typeof navigator<"u"&&navigator.product==="ReactNative"||typeof global<"u"&&global.HermesInternal)}function lc(n){return n&&(n.constructor.name==="FormData"||typeof FormData<"u"&&n instanceof FormData)}function sc(n){for(const e in n){const t=Array.isArray(n[e])?n[e]:[n[e]];for(const i of t)if(Wa(i))return!0}return!1}class Dw extends rl{constructor(){super(...arguments),this.requests=[],this.subs={}}collection(e){return this.subs[e]||(this.subs[e]=new Iw(this.requests,e)),this.subs[e]}async send(e){const t=new FormData,i=[];for(let l=0;l<this.requests.length;l++){const s=this.requests[l];if(i.push({method:s.method,url:s.url,headers:s.headers,body:s.json}),s.files)for(let o in s.files){const r=s.files[o]||[];for(let a of r)t.append("requests."+l+"."+o,a)}}return t.append("@jsonPayload",JSON.stringify({requests:i})),e=Object.assign({method:"POST",body:t},e),this.client.send("/api/batch",e)}}class Iw{constructor(e,t){this.requests=[],this.requests=e,this.collectionIdOrName=t}upsert(e,t){t=Object.assign({body:e||{}},t);const i={method:"PUT",url:"/api/collections/"+encodeURIComponent(this.collectionIdOrName)+"/records"};this.prepareRequest(i,t),this.requests.push(i)}create(e,t){t=Object.assign({body:e||{}},t);const i={method:"POST",url:"/api/collections/"+encodeURIComponent(this.collectionIdOrName)+"/records"};this.prepareRequest(i,t),this.requests.push(i)}update(e,t,i){i=Object.assign({body:t||{}},i);const l={method:"PATCH",url:"/api/collections/"+encodeURIComponent(this.collectionIdOrName)+"/records/"+encodeURIComponent(e)};this.prepareRequest(l,i),this.requests.push(l)}delete(e,t){t=Object.assign({},t);const i={method:"DELETE",url:"/api/collections/"+encodeURIComponent(this.collectionIdOrName)+"/records/"+encodeURIComponent(e)};this.prepareRequest(i,t),this.requests.push(i)}prepareRequest(e,t){if(Ou(t),e.headers=t.headers,e.json={},e.files={},t.query!==void 0){const i=Q0(t.query);i&&(e.url+=(e.url.includes("?")?"&":"?")+i)}for(const i in t.body){const l=t.body[i];if(Wa(l))e.files[i]=e.files[i]||[],e.files[i].push(l);else if(Array.isArray(l)){const s=[],o=[];for(const r of l)Wa(r)?s.push(r):o.push(r);if(s.length>0&&s.length==l.length){e.files[i]=e.files[i]||[];for(let r of s)e.files[i].push(r)}else if(e.json[i]=o,s.length>0){let r=i;i.startsWith("+")||i.endsWith("+")||(r+="+"),e.files[r]=e.files[r]||[];for(let a of s)e.files[r].push(a)}}else e.json[i]=l}}}class fo{get baseUrl(){return this.baseURL}set baseUrl(e){this.baseURL=e}constructor(e="/",t,i="en-US"){this.cancelControllers={},this.recordServices={},this.enableAutoCancellation=!0,this.baseURL=e,this.lang=i,t?this.authStore=t:typeof window<"u"&&window.Deno?this.authStore=new Cu:this.authStore=new X0,this.collections=new $w(this),this.files=new Ew(this),this.logs=new Cw(this),this.settings=new ww(this),this.realtime=new x0(this),this.health=new Ow(this),this.backups=new Mw(this)}get admins(){return this.collection("_superusers")}createBatch(){return new Dw(this)}collection(e){return this.recordServices[e]||(this.recordServices[e]=new Tw(this,e)),this.recordServices[e]}autoCancellation(e){return this.enableAutoCancellation=!!e,this}cancelRequest(e){return this.cancelControllers[e]&&(this.cancelControllers[e].abort(),delete this.cancelControllers[e]),this}cancelAllRequests(){for(let e in this.cancelControllers)this.cancelControllers[e].abort();return this.cancelControllers={},this}filter(e,t){if(!t)return e;for(let i in t){let l=t[i];switch(typeof l){case"boolean":case"number":l=""+l;break;case"string":l="'"+l.replace(/'/g,"\\'")+"'";break;default:l=l===null?"null":l instanceof Date?"'"+l.toISOString().replace("T"," ")+"'":"'"+JSON.stringify(l).replace(/'/g,"\\'")+"'"}e=e.replaceAll("{:"+i+"}",l)}return e}getFileUrl(e,t,i={}){return console.warn("Please replace pb.getFileUrl() with pb.files.getURL()"),this.files.getURL(e,t,i)}buildUrl(e){return console.warn("Please replace pb.buildUrl() with pb.buildURL()"),this.buildURL(e)}buildURL(e){var i;let t=this.baseURL;return typeof window>"u"||!window.location||t.startsWith("https://")||t.startsWith("http://")||(t=(i=window.location.origin)!=null&&i.endsWith("/")?window.location.origin.substring(0,window.location.origin.length-1):window.location.origin||"",this.baseURL.startsWith("/")||(t+=window.location.pathname||"/",t+=t.endsWith("/")?"":"/"),t+=this.baseURL),e&&(t+=t.endsWith("/")?"":"/",t+=e.startsWith("/")?e.substring(1):e),t}async send(e,t){t=this.initSendOptions(e,t);let i=this.buildURL(e);if(this.beforeSend){const l=Object.assign({},await this.beforeSend(i,t));l.url!==void 0||l.options!==void 0?(i=l.url||i,t=l.options||t):Object.keys(l).length&&(t=l,console!=null&&console.warn&&console.warn("Deprecated format of beforeSend return: please use `return { url, options }`, instead of `return options`."))}if(t.query!==void 0){const l=Q0(t.query);l&&(i+=(i.includes("?")?"&":"?")+l),delete t.query}return this.getHeader(t.headers,"Content-Type")=="application/json"&&t.body&&typeof t.body!="string"&&(t.body=JSON.stringify(t.body)),(t.fetch||fetch)(i,t).then(async l=>{let s={};try{s=await l.json()}catch{}if(this.afterSend&&(s=await this.afterSend(l,s,t)),l.status>=400)throw new Rn({url:l.url,status:l.status,data:s});return s}).catch(l=>{throw new Rn(l)})}initSendOptions(e,t){if((t=Object.assign({method:"GET"},t)).body=function(l){if(typeof FormData>"u"||l===void 0||typeof l!="object"||l===null||lc(l)||!sc(l))return l;const s=new FormData;for(const o in l){const r=l[o];if(typeof r!="object"||sc({data:r})){const a=Array.isArray(r)?r:[r];for(let u of a)s.append(o,u)}else{let a={};a[o]=r,s.append("@jsonPayload",JSON.stringify(a))}}return s}(t.body),Ou(t),t.query=Object.assign({},t.params,t.query),t.requestKey===void 0&&(t.$autoCancel===!1||t.query.$autoCancel===!1?t.requestKey=null:(t.$cancelKey||t.query.$cancelKey)&&(t.requestKey=t.$cancelKey||t.query.$cancelKey)),delete t.$autoCancel,delete t.query.$autoCancel,delete t.$cancelKey,delete t.query.$cancelKey,this.getHeader(t.headers,"Content-Type")!==null||lc(t.body)||(t.headers=Object.assign({},t.headers,{"Content-Type":"application/json"})),this.getHeader(t.headers,"Accept-Language")===null&&(t.headers=Object.assign({},t.headers,{"Accept-Language":this.lang})),this.authStore.token&&this.getHeader(t.headers,"Authorization")===null&&(t.headers=Object.assign({},t.headers,{Authorization:this.authStore.token})),this.enableAutoCancellation&&t.requestKey!==null){const i=t.requestKey||(t.method||"GET")+e;delete t.requestKey,this.cancelRequest(i);const l=new AbortController;this.cancelControllers[i]=l,t.signal=l.signal}return t}getHeader(e,t){e=e||{},t=t.toLowerCase();for(let i in e)if(i.toLowerCase()==t)return e[i];return null}}const On=qn([]),ei=qn({}),Ys=qn(!1),tk=qn({}),Eu=qn({});let Is;typeof BroadcastChannel<"u"&&(Is=new BroadcastChannel("collections"),Is.onmessage=()=>{var n;Mu((n=Ab(ei))==null?void 0:n.id)});function nk(){Is==null||Is.postMessage("reload")}function Lw(n){On.update(e=>{const t=e.find(i=>i.id==n||i.name==n);return t?ei.set(t):e.length&&ei.set(e.find(i=>!i.system)||e[0]),e})}function Aw(n){ei.update(e=>V.isEmpty(e==null?void 0:e.id)||e.id===n.id?n:e),On.update(e=>(V.pushOrReplaceByKey(e,n,"id"),Du(),nk(),V.sortCollections(e)))}function Pw(n){On.update(e=>(V.removeByKey(e,"id",n.id),ei.update(t=>t.id===n.id?e.find(i=>!i.system)||e[0]:t),Du(),nk(),e))}async function Mu(n=null){Ys.set(!0);try{let e=await he.collections.getFullList(200,{sort:"+name"});e=V.sortCollections(e),On.set(e);const t=n&&e.find(i=>i.id==n||i.name==n);t?ei.set(t):e.length&&ei.set(e.find(i=>!i.system)||e[0]),Du(),Eu.set(await he.collections.getScaffolds())}catch(e){he.error(e)}Ys.set(!1)}function Du(){tk.update(n=>(On.update(e=>{var t;for(let i of e)n[i.id]=!!((t=i.fields)!=null&&t.find(l=>l.type=="file"&&l.protected));return e}),n))}function ik(n,e){if(n instanceof RegExp)return{keys:!1,pattern:n};var t,i,l,s,o=[],r="",a=n.split("/");for(a[0]||a.shift();l=a.shift();)t=l[0],t==="*"?(o.push("wild"),r+="/(.*)"):t===":"?(i=l.indexOf("?",1),s=l.indexOf(".",1),o.push(l.substring(1,~i?i:~s?s:l.length)),r+=~i&&!~s?"(?:/([^/]+?))?":"/([^/]+?)",~s&&(r+=(~i?"?":"")+"\\"+l.substring(s))):r+="/"+l;return{keys:o,pattern:new RegExp("^"+r+"/?$","i")}}function Nw(n){let e,t,i;const l=[n[2]];var s=n[0];function o(r,a){let u={};for(let f=0;f<l.length;f+=1)u=ze(u,l[f]);return a!==void 0&&a&4&&(u=ze(u,wt(l,[Rt(r[2])]))),{props:u}}return s&&(e=jt(s,o(n)),e.$on("routeEvent",n[7])),{c(){e&&j(e.$$.fragment),t=ye()},m(r,a){e&&q(e,r,a),y(r,t,a),i=!0},p(r,a){if(a&1&&s!==(s=r[0])){if(e){ae();const u=e;D(u.$$.fragment,1,0,()=>{H(u,1)}),ue()}s?(e=jt(s,o(r,a)),e.$on("routeEvent",r[7]),j(e.$$.fragment),E(e.$$.fragment,1),q(e,t.parentNode,t)):e=null}else if(s){const u=a&4?wt(l,[Rt(r[2])]):{};e.$set(u)}},i(r){i||(e&&E(e.$$.fragment,r),i=!0)},o(r){e&&D(e.$$.fragment,r),i=!1},d(r){r&&v(t),e&&H(e,r)}}}function Rw(n){let e,t,i;const l=[{params:n[1]},n[2]];var s=n[0];function o(r,a){let u={};for(let f=0;f<l.length;f+=1)u=ze(u,l[f]);return a!==void 0&&a&6&&(u=ze(u,wt(l,[a&2&&{params:r[1]},a&4&&Rt(r[2])]))),{props:u}}return s&&(e=jt(s,o(n)),e.$on("routeEvent",n[6])),{c(){e&&j(e.$$.fragment),t=ye()},m(r,a){e&&q(e,r,a),y(r,t,a),i=!0},p(r,a){if(a&1&&s!==(s=r[0])){if(e){ae();const u=e;D(u.$$.fragment,1,0,()=>{H(u,1)}),ue()}s?(e=jt(s,o(r,a)),e.$on("routeEvent",r[6]),j(e.$$.fragment),E(e.$$.fragment,1),q(e,t.parentNode,t)):e=null}else if(s){const u=a&6?wt(l,[a&2&&{params:r[1]},a&4&&Rt(r[2])]):{};e.$set(u)}},i(r){i||(e&&E(e.$$.fragment,r),i=!0)},o(r){e&&D(e.$$.fragment,r),i=!1},d(r){r&&v(t),e&&H(e,r)}}}function Fw(n){let e,t,i,l;const s=[Rw,Nw],o=[];function r(a,u){return a[1]?0:1}return e=r(n),t=o[e]=s[e](n),{c(){t.c(),i=ye()},m(a,u){o[e].m(a,u),y(a,i,u),l=!0},p(a,[u]){let f=e;e=r(a),e===f?o[e].p(a,u):(ae(),D(o[f],1,1,()=>{o[f]=null}),ue(),t=o[e],t?t.p(a,u):(t=o[e]=s[e](a),t.c()),E(t,1),t.m(i.parentNode,i))},i(a){l||(E(t),l=!0)},o(a){D(t),l=!1},d(a){a&&v(i),o[e].d(a)}}}function oc(){const n=window.location.href.indexOf("#/");let e=n>-1?window.location.href.substr(n+1):"/";const t=e.indexOf("?");let i="";return t>-1&&(i=e.substr(t+1),e=e.substr(0,t)),{location:e,querystring:i}}const qr=Y0(null,function(e){e(oc());const t=()=>{e(oc())};return window.addEventListener("hashchange",t,!1),function(){window.removeEventListener("hashchange",t,!1)}});K0(qr,n=>n.location);const Iu=K0(qr,n=>n.querystring),rc=qn(void 0);async function ts(n){if(!n||n.length<1||n.charAt(0)!="/"&&n.indexOf("#/")!==0)throw Error("Invalid parameter location");await cn();const e=(n.charAt(0)=="#"?"":"#")+n;try{const t={...history.state};delete t.__svelte_spa_router_scrollX,delete t.__svelte_spa_router_scrollY,window.history.replaceState(t,void 0,e)}catch{console.warn("Caught exception while replacing the current page. If you're running this in the Svelte REPL, please note that the `replace` method might not work in this environment.")}window.dispatchEvent(new Event("hashchange"))}function Vn(n,e){if(e=uc(e),!n||!n.tagName||n.tagName.toLowerCase()!="a")throw Error('Action "link" can only be used with <a> tags');return ac(n,e),{update(t){t=uc(t),ac(n,t)}}}function qw(n){n?window.scrollTo(n.__svelte_spa_router_scrollX,n.__svelte_spa_router_scrollY):window.scrollTo(0,0)}function ac(n,e){let t=e.href||n.getAttribute("href");if(t&&t.charAt(0)=="/")t="#"+t;else if(!t||t.length<2||t.slice(0,2)!="#/")throw Error('Invalid value for "href" attribute: '+t);n.setAttribute("href",t),n.addEventListener("click",i=>{i.preventDefault(),e.disabled||Hw(i.currentTarget.getAttribute("href"))})}function uc(n){return n&&typeof n=="string"?{href:n}:n||{}}function Hw(n){history.replaceState({...history.state,__svelte_spa_router_scrollX:window.scrollX,__svelte_spa_router_scrollY:window.scrollY},void 0),window.location.hash=n}function jw(n,e,t){let{routes:i={}}=e,{prefix:l=""}=e,{restoreScrollState:s=!1}=e;class o{constructor(O,M){if(!M||typeof M!="function"&&(typeof M!="object"||M._sveltesparouter!==!0))throw Error("Invalid component object");if(!O||typeof O=="string"&&(O.length<1||O.charAt(0)!="/"&&O.charAt(0)!="*")||typeof O=="object"&&!(O instanceof RegExp))throw Error('Invalid value for "path" argument - strings must start with / or *');const{pattern:L,keys:I}=ik(O);this.path=O,typeof M=="object"&&M._sveltesparouter===!0?(this.component=M.component,this.conditions=M.conditions||[],this.userData=M.userData,this.props=M.props||{}):(this.component=()=>Promise.resolve(M),this.conditions=[],this.props={}),this._pattern=L,this._keys=I}match(O){if(l){if(typeof l=="string")if(O.startsWith(l))O=O.substr(l.length)||"/";else return null;else if(l instanceof RegExp){const A=O.match(l);if(A&&A[0])O=O.substr(A[0].length)||"/";else return null}}const M=this._pattern.exec(O);if(M===null)return null;if(this._keys===!1)return M;const L={};let I=0;for(;I<this._keys.length;){try{L[this._keys[I]]=decodeURIComponent(M[I+1]||"")||null}catch{L[this._keys[I]]=null}I++}return L}async checkConditions(O){for(let M=0;M<this.conditions.length;M++)if(!await this.conditions[M](O))return!1;return!0}}const r=[];i instanceof Map?i.forEach((T,O)=>{r.push(new o(O,T))}):Object.keys(i).forEach(T=>{r.push(new o(T,i[T]))});let a=null,u=null,f={};const c=kt();async function d(T,O){await cn(),c(T,O)}let m=null,h=null;s&&(h=T=>{T.state&&(T.state.__svelte_spa_router_scrollY||T.state.__svelte_spa_router_scrollX)?m=T.state:m=null},window.addEventListener("popstate",h),Av(()=>{qw(m)}));let _=null,g=null;const k=qr.subscribe(async T=>{_=T;let O=0;for(;O<r.length;){const M=r[O].match(T.location);if(!M){O++;continue}const L={route:r[O].path,location:T.location,querystring:T.querystring,userData:r[O].userData,params:M&&typeof M=="object"&&Object.keys(M).length?M:null};if(!await r[O].checkConditions(L)){t(0,a=null),g=null,d("conditionsFailed",L);return}d("routeLoading",Object.assign({},L));const I=r[O].component;if(g!=I){I.loading?(t(0,a=I.loading),g=I,t(1,u=I.loadingParams),t(2,f={}),d("routeLoaded",Object.assign({},L,{component:a,name:a.name,params:u}))):(t(0,a=null),g=null);const A=await I();if(T!=_)return;t(0,a=A&&A.default||A),g=I}M&&typeof M=="object"&&Object.keys(M).length?t(1,u=M):t(1,u=null),t(2,f=r[O].props),d("routeLoaded",Object.assign({},L,{component:a,name:a.name,params:u})).then(()=>{rc.set(u)});return}t(0,a=null),g=null,rc.set(void 0)});so(()=>{k(),h&&window.removeEventListener("popstate",h)});function S(T){Ne.call(this,n,T)}function $(T){Ne.call(this,n,T)}return n.$$set=T=>{"routes"in T&&t(3,i=T.routes),"prefix"in T&&t(4,l=T.prefix),"restoreScrollState"in T&&t(5,s=T.restoreScrollState)},n.$$.update=()=>{n.$$.dirty&32&&(history.scrollRestoration=s?"manual":"auto")},[a,u,f,i,l,s,S,$]}class zw extends Se{constructor(e){super(),we(this,e,jw,Fw,be,{routes:3,prefix:4,restoreScrollState:5})}}const ra="pb_superuser_file_token";fo.prototype.logout=function(n=!0){this.authStore.clear(),n&&ts("/login")};fo.prototype.error=function(n,e=!0,t=""){if(!n||!(n instanceof Error)||n.isAbort)return;const i=(n==null?void 0:n.status)<<0||400,l=(n==null?void 0:n.data)||{},s=l.message||n.message||t;if(e&&s&&$i(s),V.isEmpty(l.data)||zt(l.data),i===401)return this.cancelAllRequests(),this.logout();if(i===403)return this.cancelAllRequests(),ts("/")};fo.prototype.getSuperuserFileToken=async function(n=""){let e=!0;if(n){const i=Ab(tk);e=typeof i[n]<"u"?i[n]:!0}if(!e)return"";let t=localStorage.getItem(ra)||"";return(!t||Fr(t,10))&&(t&&localStorage.removeItem(ra),this._superuserFileTokenRequest||(this._superuserFileTokenRequest=this.files.getToken()),t=await this._superuserFileTokenRequest,localStorage.setItem(ra,t),this._superuserFileTokenRequest=null),t};class Uw extends X0{constructor(e="__pb_superuser_auth__"){super(e),this.save(this.token,this.record)}save(e,t){super.save(e,t),(t==null?void 0:t.collectionName)=="_superusers"&&ec(t)}clear(){super.clear(),ec(null)}}const he=new fo("../",new Uw);he.authStore.isValid&&he.collection(he.authStore.record.collectionName).authRefresh().catch(n=>{console.warn("Failed to refresh the existing auth token:",n);const e=(n==null?void 0:n.status)<<0;(e==401||e==403)&&he.authStore.clear()});const tr=[];let lk;function sk(n){const e=n.pattern.test(lk);fc(n,n.className,e),fc(n,n.inactiveClassName,!e)}function fc(n,e,t){(e||"").split(" ").forEach(i=>{i&&(n.node.classList.remove(i),t&&n.node.classList.add(i))})}qr.subscribe(n=>{lk=n.location+(n.querystring?"?"+n.querystring:""),tr.map(sk)});function Fi(n,e){if(e&&(typeof e=="string"||typeof e=="object"&&e instanceof RegExp)?e={path:e}:e=e||{},!e.path&&n.hasAttribute("href")&&(e.path=n.getAttribute("href"),e.path&&e.path.length>1&&e.path.charAt(0)=="#"&&(e.path=e.path.substring(1))),e.className||(e.className="active"),!e.path||typeof e.path=="string"&&(e.path.length<1||e.path.charAt(0)!="/"&&e.path.charAt(0)!="*"))throw Error('Invalid value for "path" argument');const{pattern:t}=typeof e.path=="string"?ik(e.path):{pattern:e.path},i={node:n,className:e.className,inactiveClassName:e.inactiveClassName,pattern:t};return tr.push(i),sk(i),{destroy(){tr.splice(tr.indexOf(i),1)}}}const Vw="modulepreload",Bw=function(n,e){return new URL(n,e).href},cc={},Tt=function(e,t,i){let l=Promise.resolve();if(t&&t.length>0){const o=document.getElementsByTagName("link"),r=document.querySelector("meta[property=csp-nonce]"),a=(r==null?void 0:r.nonce)||(r==null?void 0:r.getAttribute("nonce"));l=Promise.allSettled(t.map(u=>{if(u=Bw(u,i),u in cc)return;cc[u]=!0;const f=u.endsWith(".css"),c=f?'[rel="stylesheet"]':"";if(!!i)for(let h=o.length-1;h>=0;h--){const _=o[h];if(_.href===u&&(!f||_.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${c}`))return;const m=document.createElement("link");if(m.rel=f?"stylesheet":Vw,f||(m.as="script"),m.crossOrigin="",m.href=u,a&&m.setAttribute("nonce",a),document.head.appendChild(m),f)return new Promise((h,_)=>{m.addEventListener("load",h),m.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${u}`)))})}))}function s(o){const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=o,window.dispatchEvent(r),!r.defaultPrevented)throw o}return l.then(o=>{for(const r of o||[])r.status==="rejected"&&s(r.reason);return e().catch(s)})};function Ww(n){e();function e(){he.authStore.isValid?ts("/collections"):he.logout()}return[]}class Yw extends Se{constructor(e){super(),we(this,e,Ww,null,be,{})}}function dc(n,e,t){const i=n.slice();return i[12]=e[t],i}const Kw=n=>({}),pc=n=>({uniqueId:n[4]});function Jw(n){let e,t,i=ce(n[3]),l=[];for(let o=0;o<i.length;o+=1)l[o]=mc(dc(n,i,o));const s=o=>D(l[o],1,1,()=>{l[o]=null});return{c(){for(let o=0;o<l.length;o+=1)l[o].c();e=ye()},m(o,r){for(let a=0;a<l.length;a+=1)l[a]&&l[a].m(o,r);y(o,e,r),t=!0},p(o,r){if(r&8){i=ce(o[3]);let a;for(a=0;a<i.length;a+=1){const u=dc(o,i,a);l[a]?(l[a].p(u,r),E(l[a],1)):(l[a]=mc(u),l[a].c(),E(l[a],1),l[a].m(e.parentNode,e))}for(ae(),a=i.length;a<l.length;a+=1)s(a);ue()}},i(o){if(!t){for(let r=0;r<i.length;r+=1)E(l[r]);t=!0}},o(o){l=l.filter(Boolean);for(let r=0;r<l.length;r+=1)D(l[r]);t=!1},d(o){o&&v(e),dt(l,o)}}}function Zw(n){let e,t,i,l,s,o,r;return{c(){e=b("div"),t=b("i"),p(t,"class","ri-error-warning-fill txt-danger"),p(e,"class","form-field-addon inline-error-icon")},m(a,u){y(a,e,u),w(e,t),s=!0,o||(r=Ee(i=He.call(null,t,{position:"left",text:n[3].map(gr).join(`
 `)})),o=!0)},p(a,u){i&&It(i.update)&&u&8&&i.update.call(null,{position:"left",text:a[3].map(gr).join(`
-`)})},i(a){s||(a&&et(()=>{s&&(l||(l=je(t,$t,{duration:150,start:.7},!0)),l.run(1))}),s=!0)},o(a){a&&(l||(l=je(t,$t,{duration:150,start:.7},!1)),l.run(0)),s=!1},d(a){a&&v(e),a&&l&&l.end(),o=!1,r()}}}function mc(n){let e,t,i=gr(n[12])+"",l,s,o,r;return{c(){e=b("div"),t=b("pre"),l=B(i),s=C(),p(e,"class","help-block help-block-error")},m(a,u){y(a,e,u),w(e,t),w(t,l),w(e,s),r=!0},p(a,u){(!r||u&8)&&i!==(i=gr(a[12])+"")&&re(l,i)},i(a){r||(a&&et(()=>{r&&(o||(o=je(e,mt,{duration:150},!0)),o.run(1))}),r=!0)},o(a){a&&(o||(o=je(e,mt,{duration:150},!1)),o.run(0)),r=!1},d(a){a&&v(e),a&&o&&o.end()}}}function Gw(n){let e,t,i,l,s,o,r;const a=n[9].default,u=Lt(a,n,n[8],pc),f=[Zw,Jw],c=[];function d(m,h){return m[0]&&m[3].length?0:1}return i=d(n),l=c[i]=f[i](n),{c(){e=b("div"),u&&u.c(),t=C(),l.c(),p(e,"class",n[1]),ee(e,"error",n[3].length)},m(m,h){y(m,e,h),u&&u.m(e,null),w(e,t),c[i].m(e,null),n[11](e),s=!0,o||(r=W(e,"click",n[10]),o=!0)},p(m,[h]){u&&u.p&&(!s||h&256)&&Pt(u,a,m,m[8],s?At(a,m[8],h,Kw):Nt(m[8]),pc);let _=i;i=d(m),i===_?c[i].p(m,h):(ae(),D(c[_],1,1,()=>{c[_]=null}),ue(),l=c[i],l?l.p(m,h):(l=c[i]=f[i](m),l.c()),E(l,1),l.m(e,null)),(!s||h&2)&&p(e,"class",m[1]),(!s||h&10)&&ee(e,"error",m[3].length)},i(m){s||(E(u,m),E(l),s=!0)},o(m){D(u,m),D(l),s=!1},d(m){m&&v(e),u&&u.d(m),c[i].d(),n[11](null),o=!1,r()}}}const hc="Invalid value";function gr(n){return typeof n=="object"?(n==null?void 0:n.message)||(n==null?void 0:n.code)||hc:n||hc}function Xw(n,e,t){let i;Qe(n,vn,_=>t(7,i=_));let{$$slots:l={},$$scope:s}=e;const o="field_"+V.randomString(7);let{name:r=""}=e,{inlineError:a=!1}=e,{class:u=void 0}=e,f,c=[];function d(){Wn(r)}Gt(()=>(f.addEventListener("input",d),f.addEventListener("change",d),()=>{f.removeEventListener("input",d),f.removeEventListener("change",d)}));function m(_){Ne.call(this,n,_)}function h(_){ie[_?"unshift":"push"](()=>{f=_,t(2,f)})}return n.$$set=_=>{"name"in _&&t(5,r=_.name),"inlineError"in _&&t(0,a=_.inlineError),"class"in _&&t(1,u=_.class),"$$scope"in _&&t(8,s=_.$$scope)},n.$$.update=()=>{n.$$.dirty&160&&t(3,c=V.toArray(V.getNestedVal(i,r)))},[a,u,f,c,o,r,d,i,s,l,m,h]}class fe extends Se{constructor(e){super(),we(this,e,Xw,Gw,be,{name:5,inlineError:0,class:1,changed:6})}get changed(){return this.$$.ctx[6]}}const Qw=n=>({}),_c=n=>({});function gc(n){let e,t,i,l,s,o;return{c(){e=b("a"),e.innerHTML='<i class="ri-book-open-line txt-sm"></i> <span class="txt">Docs</span>',t=C(),i=b("span"),i.textContent="|",l=C(),s=b("a"),o=b("span"),o.textContent="PocketBase v0.23.0-rc12",p(e,"href","https://pocketbase.io/docs/"),p(e,"target","_blank"),p(e,"rel","noopener noreferrer"),p(i,"class","delimiter"),p(o,"class","txt"),p(s,"href","https://github.com/pocketbase/pocketbase/releases"),p(s,"target","_blank"),p(s,"rel","noopener noreferrer"),p(s,"title","Releases")},m(r,a){y(r,e,a),y(r,t,a),y(r,i,a),y(r,l,a),y(r,s,a),w(s,o)},d(r){r&&(v(e),v(t),v(i),v(l),v(s))}}}function xw(n){var m;let e,t,i,l,s,o,r;const a=n[4].default,u=Lt(a,n,n[3],null),f=n[4].footer,c=Lt(f,n,n[3],_c);let d=((m=n[2])==null?void 0:m.id)&&gc();return{c(){e=b("div"),t=b("main"),u&&u.c(),i=C(),l=b("footer"),c&&c.c(),s=C(),d&&d.c(),p(t,"class","page-content"),p(l,"class","page-footer"),p(e,"class",o="page-wrapper "+n[1]),ee(e,"center-content",n[0])},m(h,_){y(h,e,_),w(e,t),u&&u.m(t,null),w(e,i),w(e,l),c&&c.m(l,null),w(l,s),d&&d.m(l,null),r=!0},p(h,[_]){var g;u&&u.p&&(!r||_&8)&&Pt(u,a,h,h[3],r?At(a,h[3],_,null):Nt(h[3]),null),c&&c.p&&(!r||_&8)&&Pt(c,f,h,h[3],r?At(f,h[3],_,Qw):Nt(h[3]),_c),(g=h[2])!=null&&g.id?d||(d=gc(),d.c(),d.m(l,null)):d&&(d.d(1),d=null),(!r||_&2&&o!==(o="page-wrapper "+h[1]))&&p(e,"class",o),(!r||_&3)&&ee(e,"center-content",h[0])},i(h){r||(E(u,h),E(c,h),r=!0)},o(h){D(u,h),D(c,h),r=!1},d(h){h&&v(e),u&&u.d(h),c&&c.d(h),d&&d.d()}}}function e3(n,e,t){let i;Qe(n,Rr,a=>t(2,i=a));let{$$slots:l={},$$scope:s}=e,{center:o=!1}=e,{class:r=""}=e;return n.$$set=a=>{"center"in a&&t(0,o=a.center),"class"in a&&t(1,r=a.class),"$$scope"in a&&t(3,s=a.$$scope)},[o,r,i,s,l]}class pi extends Se{constructor(e){super(),we(this,e,e3,xw,be,{center:0,class:1})}}function t3(n){let e,t,i,l;return{c(){e=b("input"),p(e,"type","text"),p(e,"id",n[8]),p(e,"placeholder",t=n[0]||n[1])},m(s,o){y(s,e,o),n[13](e),pe(e,n[7]),i||(l=W(e,"input",n[14]),i=!0)},p(s,o){o&3&&t!==(t=s[0]||s[1])&&p(e,"placeholder",t),o&128&&e.value!==s[7]&&pe(e,s[7])},i:te,o:te,d(s){s&&v(e),n[13](null),i=!1,l()}}}function n3(n){let e,t,i,l;function s(a){n[12](a)}var o=n[4];function r(a,u){let f={id:a[8],singleLine:!0,disableRequestKeys:!0,disableCollectionJoinKeys:!0,extraAutocompleteKeys:a[3],baseCollection:a[2],placeholder:a[0]||a[1]};return a[7]!==void 0&&(f.value=a[7]),{props:f}}return o&&(e=jt(o,r(n)),ie.push(()=>ge(e,"value",s)),e.$on("submit",n[10])),{c(){e&&j(e.$$.fragment),i=ye()},m(a,u){e&&q(e,a,u),y(a,i,u),l=!0},p(a,u){if(u&16&&o!==(o=a[4])){if(e){ae();const f=e;D(f.$$.fragment,1,0,()=>{H(f,1)}),ue()}o?(e=jt(o,r(a)),ie.push(()=>ge(e,"value",s)),e.$on("submit",a[10]),j(e.$$.fragment),E(e.$$.fragment,1),q(e,i.parentNode,i)):e=null}else if(o){const f={};u&8&&(f.extraAutocompleteKeys=a[3]),u&4&&(f.baseCollection=a[2]),u&3&&(f.placeholder=a[0]||a[1]),!t&&u&128&&(t=!0,f.value=a[7],Te(()=>t=!1)),e.$set(f)}},i(a){l||(e&&E(e.$$.fragment,a),l=!0)},o(a){e&&D(e.$$.fragment,a),l=!1},d(a){a&&v(i),e&&H(e,a)}}}function bc(n){let e,t,i;return{c(){e=b("button"),e.innerHTML='<span class="txt">Search</span>',p(e,"type","submit"),p(e,"class","btn btn-expanded-sm btn-sm btn-warning")},m(l,s){y(l,e,s),i=!0},i(l){i||(l&&et(()=>{i&&(t||(t=je(e,Fn,{duration:150,x:5},!0)),t.run(1))}),i=!0)},o(l){l&&(t||(t=je(e,Fn,{duration:150,x:5},!1)),t.run(0)),i=!1},d(l){l&&v(e),l&&t&&t.end()}}}function kc(n){let e,t,i,l,s;return{c(){e=b("button"),e.innerHTML='<span class="txt">Clear</span>',p(e,"type","button"),p(e,"class","btn btn-transparent btn-sm btn-hint p-l-xs p-r-xs m-l-10")},m(o,r){y(o,e,r),i=!0,l||(s=W(e,"click",n[15]),l=!0)},p:te,i(o){i||(o&&et(()=>{i&&(t||(t=je(e,Fn,{duration:150,x:5},!0)),t.run(1))}),i=!0)},o(o){o&&(t||(t=je(e,Fn,{duration:150,x:5},!1)),t.run(0)),i=!1},d(o){o&&v(e),o&&t&&t.end(),l=!1,s()}}}function i3(n){let e,t,i,l,s,o,r,a,u,f,c;const d=[n3,t3],m=[];function h(k,S){return k[4]&&!k[5]?0:1}s=h(n),o=m[s]=d[s](n);let _=(n[0].length||n[7].length)&&n[7]!=n[0]&&bc(),g=(n[0].length||n[7].length)&&kc(n);return{c(){e=b("form"),t=b("label"),i=b("i"),l=C(),o.c(),r=C(),_&&_.c(),a=C(),g&&g.c(),p(i,"class","ri-search-line"),p(t,"for",n[8]),p(t,"class","m-l-10 txt-xl"),p(e,"class","searchbar")},m(k,S){y(k,e,S),w(e,t),w(t,i),w(e,l),m[s].m(e,null),w(e,r),_&&_.m(e,null),w(e,a),g&&g.m(e,null),u=!0,f||(c=[W(e,"click",Cn(n[11])),W(e,"submit",tt(n[10]))],f=!0)},p(k,[S]){let $=s;s=h(k),s===$?m[s].p(k,S):(ae(),D(m[$],1,1,()=>{m[$]=null}),ue(),o=m[s],o?o.p(k,S):(o=m[s]=d[s](k),o.c()),E(o,1),o.m(e,r)),(k[0].length||k[7].length)&&k[7]!=k[0]?_?S&129&&E(_,1):(_=bc(),_.c(),E(_,1),_.m(e,a)):_&&(ae(),D(_,1,1,()=>{_=null}),ue()),k[0].length||k[7].length?g?(g.p(k,S),S&129&&E(g,1)):(g=kc(k),g.c(),E(g,1),g.m(e,null)):g&&(ae(),D(g,1,1,()=>{g=null}),ue())},i(k){u||(E(o),E(_),E(g),u=!0)},o(k){D(o),D(_),D(g),u=!1},d(k){k&&v(e),m[s].d(),_&&_.d(),g&&g.d(),f=!1,Ie(c)}}}function l3(n,e,t){const i=kt(),l="search_"+V.randomString(7);let{value:s=""}=e,{placeholder:o='Search term or filter like created > "2022-01-01"...'}=e,{autocompleteCollection:r=null}=e,{extraAutocompleteKeys:a=[]}=e,u,f=!1,c,d="";function m(O=!0){t(7,d=""),O&&(c==null||c.focus()),i("clear")}function h(){t(0,s=d),i("submit",s)}async function _(){u||f||(t(5,f=!0),t(4,u=(await Tt(async()=>{const{default:O}=await import("./FilterAutocompleteInput-B2Le__Nn.js");return{default:O}},__vite__mapDeps([0,1]),import.meta.url)).default),t(5,f=!1))}Gt(()=>{_()});function g(O){Ne.call(this,n,O)}function k(O){d=O,t(7,d),t(0,s)}function S(O){ie[O?"unshift":"push"](()=>{c=O,t(6,c)})}function $(){d=this.value,t(7,d),t(0,s)}const T=()=>{m(!1),h()};return n.$$set=O=>{"value"in O&&t(0,s=O.value),"placeholder"in O&&t(1,o=O.placeholder),"autocompleteCollection"in O&&t(2,r=O.autocompleteCollection),"extraAutocompleteKeys"in O&&t(3,a=O.extraAutocompleteKeys)},n.$$.update=()=>{n.$$.dirty&1&&typeof s=="string"&&t(7,d=s)},[s,o,r,a,u,f,c,d,l,m,h,g,k,S,$,T]}class Hr extends Se{constructor(e){super(),we(this,e,l3,i3,be,{value:0,placeholder:1,autocompleteCollection:2,extraAutocompleteKeys:3})}}function s3(n){let e,t,i,l,s,o;return{c(){e=b("button"),t=b("i"),p(t,"class","ri-refresh-line svelte-1bvelc2"),p(e,"type","button"),p(e,"aria-label","Refresh"),p(e,"class",i="btn btn-transparent btn-circle "+n[1]+" svelte-1bvelc2"),ee(e,"refreshing",n[2])},m(r,a){y(r,e,a),w(e,t),s||(o=[Ee(l=He.call(null,e,n[0])),W(e,"click",n[3])],s=!0)},p(r,[a]){a&2&&i!==(i="btn btn-transparent btn-circle "+r[1]+" svelte-1bvelc2")&&p(e,"class",i),l&&It(l.update)&&a&1&&l.update.call(null,r[0]),a&6&&ee(e,"refreshing",r[2])},i:te,o:te,d(r){r&&v(e),s=!1,Ie(o)}}}function o3(n,e,t){const i=kt();let{tooltip:l={text:"Refresh",position:"right"}}=e,{class:s=""}=e,o=null;function r(){i("refresh");const a=l;t(0,l=null),clearTimeout(o),t(2,o=setTimeout(()=>{t(2,o=null),t(0,l=a)},150))}return Gt(()=>()=>clearTimeout(o)),n.$$set=a=>{"tooltip"in a&&t(0,l=a.tooltip),"class"in a&&t(1,s=a.class)},[l,s,o,r]}class Lu extends Se{constructor(e){super(),we(this,e,o3,s3,be,{tooltip:0,class:1})}}const r3=n=>({}),vc=n=>({}),a3=n=>({}),yc=n=>({});function u3(n){let e,t,i,l,s,o,r,a;const u=n[11].before,f=Lt(u,n,n[10],yc),c=n[11].default,d=Lt(c,n,n[10],null),m=n[11].after,h=Lt(m,n,n[10],vc);return{c(){e=b("div"),f&&f.c(),t=C(),i=b("div"),d&&d.c(),s=C(),h&&h.c(),p(i,"class",l="scroller "+n[0]+" "+n[3]+" svelte-3a0gfs"),p(e,"class","scroller-wrapper svelte-3a0gfs")},m(_,g){y(_,e,g),f&&f.m(e,null),w(e,t),w(e,i),d&&d.m(i,null),n[12](i),w(e,s),h&&h.m(e,null),o=!0,r||(a=[W(window,"resize",n[1]),W(i,"scroll",n[1])],r=!0)},p(_,[g]){f&&f.p&&(!o||g&1024)&&Pt(f,u,_,_[10],o?At(u,_[10],g,a3):Nt(_[10]),yc),d&&d.p&&(!o||g&1024)&&Pt(d,c,_,_[10],o?At(c,_[10],g,null):Nt(_[10]),null),(!o||g&9&&l!==(l="scroller "+_[0]+" "+_[3]+" svelte-3a0gfs"))&&p(i,"class",l),h&&h.p&&(!o||g&1024)&&Pt(h,m,_,_[10],o?At(m,_[10],g,r3):Nt(_[10]),vc)},i(_){o||(E(f,_),E(d,_),E(h,_),o=!0)},o(_){D(f,_),D(d,_),D(h,_),o=!1},d(_){_&&v(e),f&&f.d(_),d&&d.d(_),n[12](null),h&&h.d(_),r=!1,Ie(a)}}}function f3(n,e,t){let{$$slots:i={},$$scope:l}=e;const s=kt();let{class:o=""}=e,{vThreshold:r=0}=e,{hThreshold:a=0}=e,{dispatchOnNoScroll:u=!0}=e,f=null,c="",d=null,m,h,_,g,k;function S(){f&&t(2,f.scrollTop=0,f)}function $(){f&&t(2,f.scrollLeft=0,f)}function T(){f&&(t(3,c=""),_=f.clientWidth+2,g=f.clientHeight+2,m=f.scrollWidth-_,h=f.scrollHeight-g,h>0?(t(3,c+=" v-scroll"),r>=g&&t(4,r=0),f.scrollTop-r<=0&&(t(3,c+=" v-scroll-start"),s("vScrollStart")),f.scrollTop+r>=h&&(t(3,c+=" v-scroll-end"),s("vScrollEnd"))):u&&s("vScrollEnd"),m>0?(t(3,c+=" h-scroll"),a>=_&&t(5,a=0),f.scrollLeft-a<=0&&(t(3,c+=" h-scroll-start"),s("hScrollStart")),f.scrollLeft+a>=m&&(t(3,c+=" h-scroll-end"),s("hScrollEnd"))):u&&s("hScrollEnd"))}function O(){d||(d=setTimeout(()=>{T(),d=null},150))}Gt(()=>(O(),k=new MutationObserver(O),k.observe(f,{attributeFilter:["width","height"],childList:!0,subtree:!0}),()=>{k==null||k.disconnect(),clearTimeout(d)}));function M(L){ie[L?"unshift":"push"](()=>{f=L,t(2,f)})}return n.$$set=L=>{"class"in L&&t(0,o=L.class),"vThreshold"in L&&t(4,r=L.vThreshold),"hThreshold"in L&&t(5,a=L.hThreshold),"dispatchOnNoScroll"in L&&t(6,u=L.dispatchOnNoScroll),"$$scope"in L&&t(10,l=L.$$scope)},[o,O,f,c,r,a,u,S,$,T,l,i,M]}class Au extends Se{constructor(e){super(),we(this,e,f3,u3,be,{class:0,vThreshold:4,hThreshold:5,dispatchOnNoScroll:6,resetVerticalScroll:7,resetHorizontalScroll:8,refresh:9,throttleRefresh:1})}get resetVerticalScroll(){return this.$$.ctx[7]}get resetHorizontalScroll(){return this.$$.ctx[8]}get refresh(){return this.$$.ctx[9]}get throttleRefresh(){return this.$$.ctx[1]}}function c3(n){let e,t,i,l,s;const o=n[6].default,r=Lt(o,n,n[5],null);return{c(){e=b("th"),r&&r.c(),p(e,"tabindex","0"),p(e,"title",n[2]),p(e,"class",t="col-sort "+n[1]),ee(e,"col-sort-disabled",n[3]),ee(e,"sort-active",n[0]==="-"+n[2]||n[0]==="+"+n[2]),ee(e,"sort-desc",n[0]==="-"+n[2]),ee(e,"sort-asc",n[0]==="+"+n[2])},m(a,u){y(a,e,u),r&&r.m(e,null),i=!0,l||(s=[W(e,"click",n[7]),W(e,"keydown",n[8])],l=!0)},p(a,[u]){r&&r.p&&(!i||u&32)&&Pt(r,o,a,a[5],i?At(o,a[5],u,null):Nt(a[5]),null),(!i||u&4)&&p(e,"title",a[2]),(!i||u&2&&t!==(t="col-sort "+a[1]))&&p(e,"class",t),(!i||u&10)&&ee(e,"col-sort-disabled",a[3]),(!i||u&7)&&ee(e,"sort-active",a[0]==="-"+a[2]||a[0]==="+"+a[2]),(!i||u&7)&&ee(e,"sort-desc",a[0]==="-"+a[2]),(!i||u&7)&&ee(e,"sort-asc",a[0]==="+"+a[2])},i(a){i||(E(r,a),i=!0)},o(a){D(r,a),i=!1},d(a){a&&v(e),r&&r.d(a),l=!1,Ie(s)}}}function d3(n,e,t){let{$$slots:i={},$$scope:l}=e,{class:s=""}=e,{name:o}=e,{sort:r=""}=e,{disable:a=!1}=e;function u(){a||("-"+o===r?t(0,r="+"+o):t(0,r="-"+o))}const f=()=>u(),c=d=>{(d.code==="Enter"||d.code==="Space")&&(d.preventDefault(),u())};return n.$$set=d=>{"class"in d&&t(1,s=d.class),"name"in d&&t(2,o=d.name),"sort"in d&&t(0,r=d.sort),"disable"in d&&t(3,a=d.disable),"$$scope"in d&&t(5,l=d.$$scope)},[r,s,o,a,u,l,i,f,c]}class nr extends Se{constructor(e){super(),we(this,e,d3,c3,be,{class:1,name:2,sort:0,disable:3})}}function p3(n){let e,t=n[0].replace("Z"," UTC")+"",i,l,s;return{c(){e=b("span"),i=B(t),p(e,"class","txt-nowrap")},m(o,r){y(o,e,r),w(e,i),l||(s=Ee(He.call(null,e,n[1])),l=!0)},p(o,[r]){r&1&&t!==(t=o[0].replace("Z"," UTC")+"")&&re(i,t)},i:te,o:te,d(o){o&&v(e),l=!1,s()}}}function m3(n,e,t){let{date:i}=e;const l={get text(){return V.formatToLocalDate(i,"yyyy-MM-dd HH:mm:ss.SSS")+" Local"}};return n.$$set=s=>{"date"in s&&t(0,i=s.date)},[i,l]}class ok extends Se{constructor(e){super(),we(this,e,m3,p3,be,{date:0})}}function h3(n){let e,t,i=(n[1]||"UNKN")+"",l,s,o,r,a;return{c(){e=b("div"),t=b("span"),l=B(i),s=B(" ("),o=B(n[0]),r=B(")"),p(t,"class","txt"),p(e,"class",a="label log-level-label level-"+n[0]+" svelte-ha6hme")},m(u,f){y(u,e,f),w(e,t),w(t,l),w(t,s),w(t,o),w(t,r)},p(u,[f]){f&2&&i!==(i=(u[1]||"UNKN")+"")&&re(l,i),f&1&&re(o,u[0]),f&1&&a!==(a="label log-level-label level-"+u[0]+" svelte-ha6hme")&&p(e,"class",a)},i:te,o:te,d(u){u&&v(e)}}}function _3(n,e,t){let i,{level:l}=e;return n.$$set=s=>{"level"in s&&t(0,l=s.level)},n.$$.update=()=>{var s;n.$$.dirty&1&&t(1,i=(s=V0.find(o=>o.level==l))==null?void 0:s.label)},[l,i]}class rk extends Se{constructor(e){super(),we(this,e,_3,h3,be,{level:0})}}function wc(n,e,t){var o;const i=n.slice();i[32]=e[t];const l=((o=i[32].data)==null?void 0:o.type)=="request";i[33]=l;const s=E3(i[32]);return i[34]=s,i}function Sc(n,e,t){const i=n.slice();return i[37]=e[t],i}function g3(n){let e,t,i,l,s,o,r;return{c(){e=b("div"),t=b("input"),l=C(),s=b("label"),p(t,"type","checkbox"),p(t,"id","checkbox_0"),t.disabled=i=!n[3].length,t.checked=n[8],p(s,"for","checkbox_0"),p(e,"class","form-field")},m(a,u){y(a,e,u),w(e,t),w(e,l),w(e,s),o||(r=W(t,"change",n[19]),o=!0)},p(a,u){u[0]&8&&i!==(i=!a[3].length)&&(t.disabled=i),u[0]&256&&(t.checked=a[8])},d(a){a&&v(e),o=!1,r()}}}function b3(n){let e;return{c(){e=b("span"),p(e,"class","loader loader-sm")},m(t,i){y(t,e,i)},p:te,d(t){t&&v(e)}}}function k3(n){let e;return{c(){e=b("div"),e.innerHTML='<i class="ri-bookmark-line"></i> <span class="txt">level</span>',p(e,"class","col-header-content")},m(t,i){y(t,e,i)},p:te,d(t){t&&v(e)}}}function v3(n){let e;return{c(){e=b("div"),e.innerHTML='<i class="ri-file-list-2-line"></i> <span class="txt">message</span>',p(e,"class","col-header-content")},m(t,i){y(t,e,i)},p:te,d(t){t&&v(e)}}}function y3(n){let e;return{c(){e=b("div"),e.innerHTML=`<i class="${V.getFieldTypeIcon("date")} svelte-91v05h"></i> <span class="txt">created</span>`,p(e,"class","col-header-content")},m(t,i){y(t,e,i)},p:te,d(t){t&&v(e)}}}function Tc(n){let e;function t(s,o){return s[7]?S3:w3}let i=t(n),l=i(n);return{c(){l.c(),e=ye()},m(s,o){l.m(s,o),y(s,e,o)},p(s,o){i===(i=t(s))&&l?l.p(s,o):(l.d(1),l=i(s),l&&(l.c(),l.m(e.parentNode,e)))},d(s){s&&v(e),l.d(s)}}}function w3(n){var r;let e,t,i,l,s,o=((r=n[0])==null?void 0:r.length)&&$c(n);return{c(){e=b("tr"),t=b("td"),i=b("h6"),i.textContent="No logs found.",l=C(),o&&o.c(),s=C(),p(t,"colspan","99"),p(t,"class","txt-center txt-hint p-xs")},m(a,u){y(a,e,u),w(e,t),w(t,i),w(t,l),o&&o.m(t,null),w(e,s)},p(a,u){var f;(f=a[0])!=null&&f.length?o?o.p(a,u):(o=$c(a),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(a){a&&v(e),o&&o.d()}}}function S3(n){let e;return{c(){e=b("tr"),e.innerHTML='<td colspan="99" class="p-xs"><span class="skeleton-loader m-0"></span></td> '},m(t,i){y(t,e,i)},p:te,d(t){t&&v(e)}}}function $c(n){let e,t,i;return{c(){e=b("button"),e.innerHTML='<span class="txt">Clear filters</span>',p(e,"type","button"),p(e,"class","btn btn-hint btn-expanded m-t-sm")},m(l,s){y(l,e,s),t||(i=W(e,"click",n[26]),t=!0)},p:te,d(l){l&&v(e),t=!1,i()}}}function Cc(n){let e,t=ce(n[34]),i=[];for(let l=0;l<t.length;l+=1)i[l]=Oc(Sc(n,t,l));return{c(){e=b("div");for(let l=0;l<i.length;l+=1)i[l].c();p(e,"class","flex flex-wrap flex-gap-10 m-t-10")},m(l,s){y(l,e,s);for(let o=0;o<i.length;o+=1)i[o]&&i[o].m(e,null)},p(l,s){if(s[0]&8){t=ce(l[34]);let o;for(o=0;o<t.length;o+=1){const r=Sc(l,t,o);i[o]?i[o].p(r,s):(i[o]=Oc(r),i[o].c(),i[o].m(e,null))}for(;o<i.length;o+=1)i[o].d(1);i.length=t.length}},d(l){l&&v(e),dt(i,l)}}}function T3(n){let e=n[37].key+"",t,i,l=V.stringifyValue(n[32].data[n[37].key],"N/A",80)+"",s;return{c(){t=B(e),i=B(": "),s=B(l)},m(o,r){y(o,t,r),y(o,i,r),y(o,s,r)},p(o,r){r[0]&8&&e!==(e=o[37].key+"")&&re(t,e),r[0]&8&&l!==(l=V.stringifyValue(o[32].data[o[37].key],"N/A",80)+"")&&re(s,l)},d(o){o&&(v(t),v(i),v(s))}}}function $3(n){let e=n[37].key+"",t,i,l=n[32].data[n[37].key]+"",s,o;return{c(){t=B(e),i=B(": "),s=B(l),o=B("ms")},m(r,a){y(r,t,a),y(r,i,a),y(r,s,a),y(r,o,a)},p(r,a){a[0]&8&&e!==(e=r[37].key+"")&&re(t,e),a[0]&8&&l!==(l=r[32].data[r[37].key]+"")&&re(s,l)},d(r){r&&(v(t),v(i),v(s),v(o))}}}function Oc(n){let e,t,i;function l(r,a){return r[33]&&r[37].key=="execTime"?$3:T3}let s=l(n),o=s(n);return{c(){e=b("span"),o.c(),t=C(),p(e,"class",i="label label-sm "+(n[37].label||"")+" svelte-91v05h")},m(r,a){y(r,e,a),o.m(e,null),w(e,t)},p(r,a){s===(s=l(r))&&o?o.p(r,a):(o.d(1),o=s(r),o&&(o.c(),o.m(e,t))),a[0]&8&&i!==(i="label label-sm "+(r[37].label||"")+" svelte-91v05h")&&p(e,"class",i)},d(r){r&&v(e),o.d()}}}function Ec(n,e){let t,i,l,s,o,r,a,u,f,c,d,m,h,_,g,k,S=e[32].message+"",$,T,O,M,L,I,A,P,N,R,z;function F(){return e[23](e[32])}m=new rk({props:{level:e[32].level}});let U=e[34].length&&Cc(e);L=new ok({props:{date:e[32].created}});function J(){return e[24](e[32])}function K(...Q){return e[25](e[32],...Q)}return{key:n,first:null,c(){t=b("tr"),i=b("td"),l=b("div"),s=b("input"),a=C(),u=b("label"),c=C(),d=b("td"),j(m.$$.fragment),h=C(),_=b("td"),g=b("div"),k=b("span"),$=B(S),T=C(),U&&U.c(),O=C(),M=b("td"),j(L.$$.fragment),I=C(),A=b("td"),A.innerHTML='<i class="ri-arrow-right-line"></i>',P=C(),p(s,"type","checkbox"),p(s,"id",o="checkbox_"+e[32].id),s.checked=r=e[4][e[32].id],p(u,"for",f="checkbox_"+e[32].id),p(l,"class","form-field"),p(i,"class","bulk-select-col min-width"),p(d,"class","col-type-text col-field-level min-width svelte-91v05h"),p(k,"class","txt-ellipsis"),p(g,"class","flex flex-gap-10"),p(_,"class","col-type-text col-field-message svelte-91v05h"),p(M,"class","col-type-date col-field-created"),p(A,"class","col-type-action min-width"),p(t,"tabindex","0"),p(t,"class","row-handle"),this.first=t},m(Q,X){y(Q,t,X),w(t,i),w(i,l),w(l,s),w(l,a),w(l,u),w(t,c),w(t,d),q(m,d,null),w(t,h),w(t,_),w(_,g),w(g,k),w(k,$),w(_,T),U&&U.m(_,null),w(t,O),w(t,M),q(L,M,null),w(t,I),w(t,A),w(t,P),N=!0,R||(z=[W(s,"change",F),W(l,"click",Cn(e[18])),W(t,"click",J),W(t,"keydown",K)],R=!0)},p(Q,X){e=Q,(!N||X[0]&8&&o!==(o="checkbox_"+e[32].id))&&p(s,"id",o),(!N||X[0]&24&&r!==(r=e[4][e[32].id]))&&(s.checked=r),(!N||X[0]&8&&f!==(f="checkbox_"+e[32].id))&&p(u,"for",f);const oe={};X[0]&8&&(oe.level=e[32].level),m.$set(oe),(!N||X[0]&8)&&S!==(S=e[32].message+"")&&re($,S),e[34].length?U?U.p(e,X):(U=Cc(e),U.c(),U.m(_,null)):U&&(U.d(1),U=null);const ke={};X[0]&8&&(ke.date=e[32].created),L.$set(ke)},i(Q){N||(E(m.$$.fragment,Q),E(L.$$.fragment,Q),N=!0)},o(Q){D(m.$$.fragment,Q),D(L.$$.fragment,Q),N=!1},d(Q){Q&&v(t),H(m),U&&U.d(),H(L),R=!1,Ie(z)}}}function C3(n){let e,t,i,l,s,o,r,a,u,f,c,d,m,h,_,g,k,S=[],$=new Map,T;function O(K,Q){return K[7]?b3:g3}let M=O(n),L=M(n);function I(K){n[20](K)}let A={disable:!0,class:"col-field-level min-width",name:"level",$$slots:{default:[k3]},$$scope:{ctx:n}};n[1]!==void 0&&(A.sort=n[1]),o=new nr({props:A}),ie.push(()=>ge(o,"sort",I));function P(K){n[21](K)}let N={disable:!0,class:"col-type-text col-field-message",name:"data",$$slots:{default:[v3]},$$scope:{ctx:n}};n[1]!==void 0&&(N.sort=n[1]),u=new nr({props:N}),ie.push(()=>ge(u,"sort",P));function R(K){n[22](K)}let z={disable:!0,class:"col-type-date col-field-created",name:"created",$$slots:{default:[y3]},$$scope:{ctx:n}};n[1]!==void 0&&(z.sort=n[1]),d=new nr({props:z}),ie.push(()=>ge(d,"sort",R));let F=ce(n[3]);const U=K=>K[32].id;for(let K=0;K<F.length;K+=1){let Q=wc(n,F,K),X=U(Q);$.set(X,S[K]=Ec(X,Q))}let J=null;return F.length||(J=Tc(n)),{c(){e=b("table"),t=b("thead"),i=b("tr"),l=b("th"),L.c(),s=C(),j(o.$$.fragment),a=C(),j(u.$$.fragment),c=C(),j(d.$$.fragment),h=C(),_=b("th"),g=C(),k=b("tbody");for(let K=0;K<S.length;K+=1)S[K].c();J&&J.c(),p(l,"class","bulk-select-col min-width"),p(_,"class","col-type-action min-width"),p(e,"class","table"),ee(e,"table-loading",n[7])},m(K,Q){y(K,e,Q),w(e,t),w(t,i),w(i,l),L.m(l,null),w(i,s),q(o,i,null),w(i,a),q(u,i,null),w(i,c),q(d,i,null),w(i,h),w(i,_),w(e,g),w(e,k);for(let X=0;X<S.length;X+=1)S[X]&&S[X].m(k,null);J&&J.m(k,null),T=!0},p(K,Q){M===(M=O(K))&&L?L.p(K,Q):(L.d(1),L=M(K),L&&(L.c(),L.m(l,null)));const X={};Q[1]&512&&(X.$$scope={dirty:Q,ctx:K}),!r&&Q[0]&2&&(r=!0,X.sort=K[1],Te(()=>r=!1)),o.$set(X);const oe={};Q[1]&512&&(oe.$$scope={dirty:Q,ctx:K}),!f&&Q[0]&2&&(f=!0,oe.sort=K[1],Te(()=>f=!1)),u.$set(oe);const ke={};Q[1]&512&&(ke.$$scope={dirty:Q,ctx:K}),!m&&Q[0]&2&&(m=!0,ke.sort=K[1],Te(()=>m=!1)),d.$set(ke),Q[0]&9369&&(F=ce(K[3]),ae(),S=yt(S,Q,U,1,K,F,$,k,Ut,Ec,null,wc),ue(),!F.length&&J?J.p(K,Q):F.length?J&&(J.d(1),J=null):(J=Tc(K),J.c(),J.m(k,null))),(!T||Q[0]&128)&&ee(e,"table-loading",K[7])},i(K){if(!T){E(o.$$.fragment,K),E(u.$$.fragment,K),E(d.$$.fragment,K);for(let Q=0;Q<F.length;Q+=1)E(S[Q]);T=!0}},o(K){D(o.$$.fragment,K),D(u.$$.fragment,K),D(d.$$.fragment,K);for(let Q=0;Q<S.length;Q+=1)D(S[Q]);T=!1},d(K){K&&v(e),L.d(),H(o),H(u),H(d);for(let Q=0;Q<S.length;Q+=1)S[Q].d();J&&J.d()}}}function Mc(n){let e,t,i,l;return{c(){e=b("div"),t=b("button"),t.innerHTML='<span class="txt">Load more</span>',p(t,"type","button"),p(t,"class","btn btn-lg btn-secondary btn-expanded"),ee(t,"btn-loading",n[7]),ee(t,"btn-disabled",n[7]),p(e,"class","block txt-center m-t-sm")},m(s,o){y(s,e,o),w(e,t),i||(l=W(t,"click",n[27]),i=!0)},p(s,o){o[0]&128&&ee(t,"btn-loading",s[7]),o[0]&128&&ee(t,"btn-disabled",s[7])},d(s){s&&v(e),i=!1,l()}}}function Dc(n){let e,t,i,l,s,o,r=n[5]===1?"log":"logs",a,u,f,c,d,m,h,_,g,k,S;return{c(){e=b("div"),t=b("div"),i=B("Selected "),l=b("strong"),s=B(n[5]),o=C(),a=B(r),u=C(),f=b("button"),f.innerHTML='<span class="txt">Reset</span>',c=C(),d=b("div"),m=C(),h=b("button"),h.innerHTML='<span class="txt">Download as JSON</span>',p(t,"class","txt"),p(f,"type","button"),p(f,"class","btn btn-xs btn-transparent btn-outline p-l-5 p-r-5"),p(d,"class","flex-fill"),p(h,"type","button"),p(h,"class","btn btn-sm"),p(e,"class","bulkbar svelte-91v05h")},m($,T){y($,e,T),w(e,t),w(t,i),w(t,l),w(l,s),w(t,o),w(t,a),w(e,u),w(e,f),w(e,c),w(e,d),w(e,m),w(e,h),g=!0,k||(S=[W(f,"click",n[28]),W(h,"click",n[14])],k=!0)},p($,T){(!g||T[0]&32)&&re(s,$[5]),(!g||T[0]&32)&&r!==(r=$[5]===1?"log":"logs")&&re(a,r)},i($){g||($&&et(()=>{g&&(_||(_=je(e,Fn,{duration:150,y:5},!0)),_.run(1))}),g=!0)},o($){$&&(_||(_=je(e,Fn,{duration:150,y:5},!1)),_.run(0)),g=!1},d($){$&&v(e),$&&_&&_.end(),k=!1,Ie(S)}}}function O3(n){let e,t,i,l,s;e=new Au({props:{class:"table-wrapper",$$slots:{default:[C3]},$$scope:{ctx:n}}});let o=n[3].length&&n[9]&&Mc(n),r=n[5]&&Dc(n);return{c(){j(e.$$.fragment),t=C(),o&&o.c(),i=C(),r&&r.c(),l=ye()},m(a,u){q(e,a,u),y(a,t,u),o&&o.m(a,u),y(a,i,u),r&&r.m(a,u),y(a,l,u),s=!0},p(a,u){const f={};u[0]&411|u[1]&512&&(f.$$scope={dirty:u,ctx:a}),e.$set(f),a[3].length&&a[9]?o?o.p(a,u):(o=Mc(a),o.c(),o.m(i.parentNode,i)):o&&(o.d(1),o=null),a[5]?r?(r.p(a,u),u[0]&32&&E(r,1)):(r=Dc(a),r.c(),E(r,1),r.m(l.parentNode,l)):r&&(ae(),D(r,1,1,()=>{r=null}),ue())},i(a){s||(E(e.$$.fragment,a),E(r),s=!0)},o(a){D(e.$$.fragment,a),D(r),s=!1},d(a){a&&(v(t),v(i),v(l)),H(e,a),o&&o.d(a),r&&r.d(a)}}}const Ic=50,aa=/[-:\. ]/gi;function E3(n){let e=[];if(!n.data)return e;if(n.data.type=="request"){const t=["status","execTime","auth","authId","userIP"];for(let i of t)typeof n.data[i]<"u"&&e.push({key:i});n.data.referer&&!n.data.referer.includes(window.location.host)&&e.push({key:"referer"})}else{const t=Object.keys(n.data);for(const i of t)i!="error"&&i!="details"&&e.length<6&&e.push({key:i})}return n.data.error&&e.push({key:"error",label:"label-danger"}),n.data.details&&e.push({key:"details",label:"label-warning"}),e}function M3(n,e,t){let i,l,s;const o=kt();let{filter:r=""}=e,{presets:a=""}=e,{zoom:u={}}=e,{sort:f="-@rowid"}=e,c=[],d=1,m=0,h=!1,_=0,g={};async function k(X=1,oe=!0){t(7,h=!0);const ke=[a,V.normalizeLogsFilter(r)];return u.min&&u.max&&ke.push(`created >= "${u.min}" && created <= "${u.max}"`),he.logs.getList(X,Ic,{sort:f,skipTotal:1,filter:ke.filter(Boolean).join("&&")}).then(async me=>{var We;X<=1&&S();const $e=V.toArray(me.items);if(t(7,h=!1),t(6,d=me.page),t(17,m=((We=me.items)==null?void 0:We.length)||0),o("load",c.concat($e)),oe){const nt=++_;for(;$e.length&&_==nt;){const st=$e.splice(0,10);for(let Be of st)V.pushOrReplaceByKey(c,Be);t(3,c),await V.yieldToMain()}}else{for(let nt of $e)V.pushOrReplaceByKey(c,nt);t(3,c)}}).catch(me=>{me!=null&&me.isAbort||(t(7,h=!1),console.warn(me),S(),he.error(me,!ke||(me==null?void 0:me.status)!=400))})}function S(){t(3,c=[]),t(4,g={}),t(6,d=1),t(17,m=0)}function $(){s?T():O()}function T(){t(4,g={})}function O(){for(const X of c)t(4,g[X.id]=X,g);t(4,g)}function M(X){g[X.id]?delete g[X.id]:t(4,g[X.id]=X,g),t(4,g)}function L(){const X=Object.values(g).sort((me,$e)=>me.created<$e.created?1:me.created>$e.created?-1:0);if(!X.length)return;if(X.length==1)return V.downloadJson(X[0],"log_"+X[0].created.replaceAll(aa,"")+".json");const oe=X[0].created.replaceAll(aa,""),ke=X[X.length-1].created.replaceAll(aa,"");return V.downloadJson(X,`${X.length}_logs_${ke}_to_${oe}.json`)}function I(X){Ne.call(this,n,X)}const A=()=>$();function P(X){f=X,t(1,f)}function N(X){f=X,t(1,f)}function R(X){f=X,t(1,f)}const z=X=>M(X),F=X=>o("select",X),U=(X,oe)=>{oe.code==="Enter"&&(oe.preventDefault(),o("select",X))},J=()=>t(0,r=""),K=()=>k(d+1),Q=()=>T();return n.$$set=X=>{"filter"in X&&t(0,r=X.filter),"presets"in X&&t(15,a=X.presets),"zoom"in X&&t(16,u=X.zoom),"sort"in X&&t(1,f=X.sort)},n.$$.update=()=>{n.$$.dirty[0]&98307&&(typeof f<"u"||typeof r<"u"||typeof a<"u"||typeof u<"u")&&(S(),k(1)),n.$$.dirty[0]&131072&&t(9,i=m>=Ic),n.$$.dirty[0]&16&&t(5,l=Object.keys(g).length),n.$$.dirty[0]&40&&t(8,s=c.length&&l===c.length)},[r,f,k,c,g,l,d,h,s,i,o,$,T,M,L,a,u,m,I,A,P,N,R,z,F,U,J,K,Q]}class D3 extends Se{constructor(e){super(),we(this,e,M3,O3,be,{filter:0,presets:15,zoom:16,sort:1,load:2},null,[-1,-1])}get load(){return this.$$.ctx[2]}}/*!
+`)})},i(a){s||(a&&et(()=>{s&&(l||(l=je(t,$t,{duration:150,start:.7},!0)),l.run(1))}),s=!0)},o(a){a&&(l||(l=je(t,$t,{duration:150,start:.7},!1)),l.run(0)),s=!1},d(a){a&&v(e),a&&l&&l.end(),o=!1,r()}}}function mc(n){let e,t,i=gr(n[12])+"",l,s,o,r;return{c(){e=b("div"),t=b("pre"),l=B(i),s=C(),p(e,"class","help-block help-block-error")},m(a,u){y(a,e,u),w(e,t),w(t,l),w(e,s),r=!0},p(a,u){(!r||u&8)&&i!==(i=gr(a[12])+"")&&re(l,i)},i(a){r||(a&&et(()=>{r&&(o||(o=je(e,mt,{duration:150},!0)),o.run(1))}),r=!0)},o(a){a&&(o||(o=je(e,mt,{duration:150},!1)),o.run(0)),r=!1},d(a){a&&v(e),a&&o&&o.end()}}}function Gw(n){let e,t,i,l,s,o,r;const a=n[9].default,u=Lt(a,n,n[8],pc),f=[Zw,Jw],c=[];function d(m,h){return m[0]&&m[3].length?0:1}return i=d(n),l=c[i]=f[i](n),{c(){e=b("div"),u&&u.c(),t=C(),l.c(),p(e,"class",n[1]),ee(e,"error",n[3].length)},m(m,h){y(m,e,h),u&&u.m(e,null),w(e,t),c[i].m(e,null),n[11](e),s=!0,o||(r=W(e,"click",n[10]),o=!0)},p(m,[h]){u&&u.p&&(!s||h&256)&&Pt(u,a,m,m[8],s?At(a,m[8],h,Kw):Nt(m[8]),pc);let _=i;i=d(m),i===_?c[i].p(m,h):(ae(),D(c[_],1,1,()=>{c[_]=null}),ue(),l=c[i],l?l.p(m,h):(l=c[i]=f[i](m),l.c()),E(l,1),l.m(e,null)),(!s||h&2)&&p(e,"class",m[1]),(!s||h&10)&&ee(e,"error",m[3].length)},i(m){s||(E(u,m),E(l),s=!0)},o(m){D(u,m),D(l),s=!1},d(m){m&&v(e),u&&u.d(m),c[i].d(),n[11](null),o=!1,r()}}}const hc="Invalid value";function gr(n){return typeof n=="object"?(n==null?void 0:n.message)||(n==null?void 0:n.code)||hc:n||hc}function Xw(n,e,t){let i;Qe(n,vn,_=>t(7,i=_));let{$$slots:l={},$$scope:s}=e;const o="field_"+V.randomString(7);let{name:r=""}=e,{inlineError:a=!1}=e,{class:u=void 0}=e,f,c=[];function d(){Wn(r)}Gt(()=>(f.addEventListener("input",d),f.addEventListener("change",d),()=>{f.removeEventListener("input",d),f.removeEventListener("change",d)}));function m(_){Ne.call(this,n,_)}function h(_){ie[_?"unshift":"push"](()=>{f=_,t(2,f)})}return n.$$set=_=>{"name"in _&&t(5,r=_.name),"inlineError"in _&&t(0,a=_.inlineError),"class"in _&&t(1,u=_.class),"$$scope"in _&&t(8,s=_.$$scope)},n.$$.update=()=>{n.$$.dirty&160&&t(3,c=V.toArray(V.getNestedVal(i,r)))},[a,u,f,c,o,r,d,i,s,l,m,h]}class fe extends Se{constructor(e){super(),we(this,e,Xw,Gw,be,{name:5,inlineError:0,class:1,changed:6})}get changed(){return this.$$.ctx[6]}}const Qw=n=>({}),_c=n=>({});function gc(n){let e,t,i,l,s,o;return{c(){e=b("a"),e.innerHTML='<i class="ri-book-open-line txt-sm"></i> <span class="txt">Docs</span>',t=C(),i=b("span"),i.textContent="|",l=C(),s=b("a"),o=b("span"),o.textContent="PocketBase v0.23.0-rc12",p(e,"href","https://pocketbase.io/docs/"),p(e,"target","_blank"),p(e,"rel","noopener noreferrer"),p(i,"class","delimiter"),p(o,"class","txt"),p(s,"href","https://github.com/pocketbase/pocketbase/releases"),p(s,"target","_blank"),p(s,"rel","noopener noreferrer"),p(s,"title","Releases")},m(r,a){y(r,e,a),y(r,t,a),y(r,i,a),y(r,l,a),y(r,s,a),w(s,o)},d(r){r&&(v(e),v(t),v(i),v(l),v(s))}}}function xw(n){var m;let e,t,i,l,s,o,r;const a=n[4].default,u=Lt(a,n,n[3],null),f=n[4].footer,c=Lt(f,n,n[3],_c);let d=((m=n[2])==null?void 0:m.id)&&gc();return{c(){e=b("div"),t=b("main"),u&&u.c(),i=C(),l=b("footer"),c&&c.c(),s=C(),d&&d.c(),p(t,"class","page-content"),p(l,"class","page-footer"),p(e,"class",o="page-wrapper "+n[1]),ee(e,"center-content",n[0])},m(h,_){y(h,e,_),w(e,t),u&&u.m(t,null),w(e,i),w(e,l),c&&c.m(l,null),w(l,s),d&&d.m(l,null),r=!0},p(h,[_]){var g;u&&u.p&&(!r||_&8)&&Pt(u,a,h,h[3],r?At(a,h[3],_,null):Nt(h[3]),null),c&&c.p&&(!r||_&8)&&Pt(c,f,h,h[3],r?At(f,h[3],_,Qw):Nt(h[3]),_c),(g=h[2])!=null&&g.id?d||(d=gc(),d.c(),d.m(l,null)):d&&(d.d(1),d=null),(!r||_&2&&o!==(o="page-wrapper "+h[1]))&&p(e,"class",o),(!r||_&3)&&ee(e,"center-content",h[0])},i(h){r||(E(u,h),E(c,h),r=!0)},o(h){D(u,h),D(c,h),r=!1},d(h){h&&v(e),u&&u.d(h),c&&c.d(h),d&&d.d()}}}function e3(n,e,t){let i;Qe(n,Rr,a=>t(2,i=a));let{$$slots:l={},$$scope:s}=e,{center:o=!1}=e,{class:r=""}=e;return n.$$set=a=>{"center"in a&&t(0,o=a.center),"class"in a&&t(1,r=a.class),"$$scope"in a&&t(3,s=a.$$scope)},[o,r,i,s,l]}class pi extends Se{constructor(e){super(),we(this,e,e3,xw,be,{center:0,class:1})}}function t3(n){let e,t,i,l;return{c(){e=b("input"),p(e,"type","text"),p(e,"id",n[8]),p(e,"placeholder",t=n[0]||n[1])},m(s,o){y(s,e,o),n[13](e),pe(e,n[7]),i||(l=W(e,"input",n[14]),i=!0)},p(s,o){o&3&&t!==(t=s[0]||s[1])&&p(e,"placeholder",t),o&128&&e.value!==s[7]&&pe(e,s[7])},i:te,o:te,d(s){s&&v(e),n[13](null),i=!1,l()}}}function n3(n){let e,t,i,l;function s(a){n[12](a)}var o=n[4];function r(a,u){let f={id:a[8],singleLine:!0,disableRequestKeys:!0,disableCollectionJoinKeys:!0,extraAutocompleteKeys:a[3],baseCollection:a[2],placeholder:a[0]||a[1]};return a[7]!==void 0&&(f.value=a[7]),{props:f}}return o&&(e=jt(o,r(n)),ie.push(()=>ge(e,"value",s)),e.$on("submit",n[10])),{c(){e&&j(e.$$.fragment),i=ye()},m(a,u){e&&q(e,a,u),y(a,i,u),l=!0},p(a,u){if(u&16&&o!==(o=a[4])){if(e){ae();const f=e;D(f.$$.fragment,1,0,()=>{H(f,1)}),ue()}o?(e=jt(o,r(a)),ie.push(()=>ge(e,"value",s)),e.$on("submit",a[10]),j(e.$$.fragment),E(e.$$.fragment,1),q(e,i.parentNode,i)):e=null}else if(o){const f={};u&8&&(f.extraAutocompleteKeys=a[3]),u&4&&(f.baseCollection=a[2]),u&3&&(f.placeholder=a[0]||a[1]),!t&&u&128&&(t=!0,f.value=a[7],Te(()=>t=!1)),e.$set(f)}},i(a){l||(e&&E(e.$$.fragment,a),l=!0)},o(a){e&&D(e.$$.fragment,a),l=!1},d(a){a&&v(i),e&&H(e,a)}}}function bc(n){let e,t,i;return{c(){e=b("button"),e.innerHTML='<span class="txt">Search</span>',p(e,"type","submit"),p(e,"class","btn btn-expanded-sm btn-sm btn-warning")},m(l,s){y(l,e,s),i=!0},i(l){i||(l&&et(()=>{i&&(t||(t=je(e,Fn,{duration:150,x:5},!0)),t.run(1))}),i=!0)},o(l){l&&(t||(t=je(e,Fn,{duration:150,x:5},!1)),t.run(0)),i=!1},d(l){l&&v(e),l&&t&&t.end()}}}function kc(n){let e,t,i,l,s;return{c(){e=b("button"),e.innerHTML='<span class="txt">Clear</span>',p(e,"type","button"),p(e,"class","btn btn-transparent btn-sm btn-hint p-l-xs p-r-xs m-l-10")},m(o,r){y(o,e,r),i=!0,l||(s=W(e,"click",n[15]),l=!0)},p:te,i(o){i||(o&&et(()=>{i&&(t||(t=je(e,Fn,{duration:150,x:5},!0)),t.run(1))}),i=!0)},o(o){o&&(t||(t=je(e,Fn,{duration:150,x:5},!1)),t.run(0)),i=!1},d(o){o&&v(e),o&&t&&t.end(),l=!1,s()}}}function i3(n){let e,t,i,l,s,o,r,a,u,f,c;const d=[n3,t3],m=[];function h(k,S){return k[4]&&!k[5]?0:1}s=h(n),o=m[s]=d[s](n);let _=(n[0].length||n[7].length)&&n[7]!=n[0]&&bc(),g=(n[0].length||n[7].length)&&kc(n);return{c(){e=b("form"),t=b("label"),i=b("i"),l=C(),o.c(),r=C(),_&&_.c(),a=C(),g&&g.c(),p(i,"class","ri-search-line"),p(t,"for",n[8]),p(t,"class","m-l-10 txt-xl"),p(e,"class","searchbar")},m(k,S){y(k,e,S),w(e,t),w(t,i),w(e,l),m[s].m(e,null),w(e,r),_&&_.m(e,null),w(e,a),g&&g.m(e,null),u=!0,f||(c=[W(e,"click",Cn(n[11])),W(e,"submit",tt(n[10]))],f=!0)},p(k,[S]){let $=s;s=h(k),s===$?m[s].p(k,S):(ae(),D(m[$],1,1,()=>{m[$]=null}),ue(),o=m[s],o?o.p(k,S):(o=m[s]=d[s](k),o.c()),E(o,1),o.m(e,r)),(k[0].length||k[7].length)&&k[7]!=k[0]?_?S&129&&E(_,1):(_=bc(),_.c(),E(_,1),_.m(e,a)):_&&(ae(),D(_,1,1,()=>{_=null}),ue()),k[0].length||k[7].length?g?(g.p(k,S),S&129&&E(g,1)):(g=kc(k),g.c(),E(g,1),g.m(e,null)):g&&(ae(),D(g,1,1,()=>{g=null}),ue())},i(k){u||(E(o),E(_),E(g),u=!0)},o(k){D(o),D(_),D(g),u=!1},d(k){k&&v(e),m[s].d(),_&&_.d(),g&&g.d(),f=!1,Ie(c)}}}function l3(n,e,t){const i=kt(),l="search_"+V.randomString(7);let{value:s=""}=e,{placeholder:o='Search term or filter like created > "2022-01-01"...'}=e,{autocompleteCollection:r=null}=e,{extraAutocompleteKeys:a=[]}=e,u,f=!1,c,d="";function m(O=!0){t(7,d=""),O&&(c==null||c.focus()),i("clear")}function h(){t(0,s=d),i("submit",s)}async function _(){u||f||(t(5,f=!0),t(4,u=(await Tt(async()=>{const{default:O}=await import("./FilterAutocompleteInput-Cars2s_J.js");return{default:O}},__vite__mapDeps([0,1]),import.meta.url)).default),t(5,f=!1))}Gt(()=>{_()});function g(O){Ne.call(this,n,O)}function k(O){d=O,t(7,d),t(0,s)}function S(O){ie[O?"unshift":"push"](()=>{c=O,t(6,c)})}function $(){d=this.value,t(7,d),t(0,s)}const T=()=>{m(!1),h()};return n.$$set=O=>{"value"in O&&t(0,s=O.value),"placeholder"in O&&t(1,o=O.placeholder),"autocompleteCollection"in O&&t(2,r=O.autocompleteCollection),"extraAutocompleteKeys"in O&&t(3,a=O.extraAutocompleteKeys)},n.$$.update=()=>{n.$$.dirty&1&&typeof s=="string"&&t(7,d=s)},[s,o,r,a,u,f,c,d,l,m,h,g,k,S,$,T]}class Hr extends Se{constructor(e){super(),we(this,e,l3,i3,be,{value:0,placeholder:1,autocompleteCollection:2,extraAutocompleteKeys:3})}}function s3(n){let e,t,i,l,s,o;return{c(){e=b("button"),t=b("i"),p(t,"class","ri-refresh-line svelte-1bvelc2"),p(e,"type","button"),p(e,"aria-label","Refresh"),p(e,"class",i="btn btn-transparent btn-circle "+n[1]+" svelte-1bvelc2"),ee(e,"refreshing",n[2])},m(r,a){y(r,e,a),w(e,t),s||(o=[Ee(l=He.call(null,e,n[0])),W(e,"click",n[3])],s=!0)},p(r,[a]){a&2&&i!==(i="btn btn-transparent btn-circle "+r[1]+" svelte-1bvelc2")&&p(e,"class",i),l&&It(l.update)&&a&1&&l.update.call(null,r[0]),a&6&&ee(e,"refreshing",r[2])},i:te,o:te,d(r){r&&v(e),s=!1,Ie(o)}}}function o3(n,e,t){const i=kt();let{tooltip:l={text:"Refresh",position:"right"}}=e,{class:s=""}=e,o=null;function r(){i("refresh");const a=l;t(0,l=null),clearTimeout(o),t(2,o=setTimeout(()=>{t(2,o=null),t(0,l=a)},150))}return Gt(()=>()=>clearTimeout(o)),n.$$set=a=>{"tooltip"in a&&t(0,l=a.tooltip),"class"in a&&t(1,s=a.class)},[l,s,o,r]}class Lu extends Se{constructor(e){super(),we(this,e,o3,s3,be,{tooltip:0,class:1})}}const r3=n=>({}),vc=n=>({}),a3=n=>({}),yc=n=>({});function u3(n){let e,t,i,l,s,o,r,a;const u=n[11].before,f=Lt(u,n,n[10],yc),c=n[11].default,d=Lt(c,n,n[10],null),m=n[11].after,h=Lt(m,n,n[10],vc);return{c(){e=b("div"),f&&f.c(),t=C(),i=b("div"),d&&d.c(),s=C(),h&&h.c(),p(i,"class",l="scroller "+n[0]+" "+n[3]+" svelte-3a0gfs"),p(e,"class","scroller-wrapper svelte-3a0gfs")},m(_,g){y(_,e,g),f&&f.m(e,null),w(e,t),w(e,i),d&&d.m(i,null),n[12](i),w(e,s),h&&h.m(e,null),o=!0,r||(a=[W(window,"resize",n[1]),W(i,"scroll",n[1])],r=!0)},p(_,[g]){f&&f.p&&(!o||g&1024)&&Pt(f,u,_,_[10],o?At(u,_[10],g,a3):Nt(_[10]),yc),d&&d.p&&(!o||g&1024)&&Pt(d,c,_,_[10],o?At(c,_[10],g,null):Nt(_[10]),null),(!o||g&9&&l!==(l="scroller "+_[0]+" "+_[3]+" svelte-3a0gfs"))&&p(i,"class",l),h&&h.p&&(!o||g&1024)&&Pt(h,m,_,_[10],o?At(m,_[10],g,r3):Nt(_[10]),vc)},i(_){o||(E(f,_),E(d,_),E(h,_),o=!0)},o(_){D(f,_),D(d,_),D(h,_),o=!1},d(_){_&&v(e),f&&f.d(_),d&&d.d(_),n[12](null),h&&h.d(_),r=!1,Ie(a)}}}function f3(n,e,t){let{$$slots:i={},$$scope:l}=e;const s=kt();let{class:o=""}=e,{vThreshold:r=0}=e,{hThreshold:a=0}=e,{dispatchOnNoScroll:u=!0}=e,f=null,c="",d=null,m,h,_,g,k;function S(){f&&t(2,f.scrollTop=0,f)}function $(){f&&t(2,f.scrollLeft=0,f)}function T(){f&&(t(3,c=""),_=f.clientWidth+2,g=f.clientHeight+2,m=f.scrollWidth-_,h=f.scrollHeight-g,h>0?(t(3,c+=" v-scroll"),r>=g&&t(4,r=0),f.scrollTop-r<=0&&(t(3,c+=" v-scroll-start"),s("vScrollStart")),f.scrollTop+r>=h&&(t(3,c+=" v-scroll-end"),s("vScrollEnd"))):u&&s("vScrollEnd"),m>0?(t(3,c+=" h-scroll"),a>=_&&t(5,a=0),f.scrollLeft-a<=0&&(t(3,c+=" h-scroll-start"),s("hScrollStart")),f.scrollLeft+a>=m&&(t(3,c+=" h-scroll-end"),s("hScrollEnd"))):u&&s("hScrollEnd"))}function O(){d||(d=setTimeout(()=>{T(),d=null},150))}Gt(()=>(O(),k=new MutationObserver(O),k.observe(f,{attributeFilter:["width","height"],childList:!0,subtree:!0}),()=>{k==null||k.disconnect(),clearTimeout(d)}));function M(L){ie[L?"unshift":"push"](()=>{f=L,t(2,f)})}return n.$$set=L=>{"class"in L&&t(0,o=L.class),"vThreshold"in L&&t(4,r=L.vThreshold),"hThreshold"in L&&t(5,a=L.hThreshold),"dispatchOnNoScroll"in L&&t(6,u=L.dispatchOnNoScroll),"$$scope"in L&&t(10,l=L.$$scope)},[o,O,f,c,r,a,u,S,$,T,l,i,M]}class Au extends Se{constructor(e){super(),we(this,e,f3,u3,be,{class:0,vThreshold:4,hThreshold:5,dispatchOnNoScroll:6,resetVerticalScroll:7,resetHorizontalScroll:8,refresh:9,throttleRefresh:1})}get resetVerticalScroll(){return this.$$.ctx[7]}get resetHorizontalScroll(){return this.$$.ctx[8]}get refresh(){return this.$$.ctx[9]}get throttleRefresh(){return this.$$.ctx[1]}}function c3(n){let e,t,i,l,s;const o=n[6].default,r=Lt(o,n,n[5],null);return{c(){e=b("th"),r&&r.c(),p(e,"tabindex","0"),p(e,"title",n[2]),p(e,"class",t="col-sort "+n[1]),ee(e,"col-sort-disabled",n[3]),ee(e,"sort-active",n[0]==="-"+n[2]||n[0]==="+"+n[2]),ee(e,"sort-desc",n[0]==="-"+n[2]),ee(e,"sort-asc",n[0]==="+"+n[2])},m(a,u){y(a,e,u),r&&r.m(e,null),i=!0,l||(s=[W(e,"click",n[7]),W(e,"keydown",n[8])],l=!0)},p(a,[u]){r&&r.p&&(!i||u&32)&&Pt(r,o,a,a[5],i?At(o,a[5],u,null):Nt(a[5]),null),(!i||u&4)&&p(e,"title",a[2]),(!i||u&2&&t!==(t="col-sort "+a[1]))&&p(e,"class",t),(!i||u&10)&&ee(e,"col-sort-disabled",a[3]),(!i||u&7)&&ee(e,"sort-active",a[0]==="-"+a[2]||a[0]==="+"+a[2]),(!i||u&7)&&ee(e,"sort-desc",a[0]==="-"+a[2]),(!i||u&7)&&ee(e,"sort-asc",a[0]==="+"+a[2])},i(a){i||(E(r,a),i=!0)},o(a){D(r,a),i=!1},d(a){a&&v(e),r&&r.d(a),l=!1,Ie(s)}}}function d3(n,e,t){let{$$slots:i={},$$scope:l}=e,{class:s=""}=e,{name:o}=e,{sort:r=""}=e,{disable:a=!1}=e;function u(){a||("-"+o===r?t(0,r="+"+o):t(0,r="-"+o))}const f=()=>u(),c=d=>{(d.code==="Enter"||d.code==="Space")&&(d.preventDefault(),u())};return n.$$set=d=>{"class"in d&&t(1,s=d.class),"name"in d&&t(2,o=d.name),"sort"in d&&t(0,r=d.sort),"disable"in d&&t(3,a=d.disable),"$$scope"in d&&t(5,l=d.$$scope)},[r,s,o,a,u,l,i,f,c]}class nr extends Se{constructor(e){super(),we(this,e,d3,c3,be,{class:1,name:2,sort:0,disable:3})}}function p3(n){let e,t=n[0].replace("Z"," UTC")+"",i,l,s;return{c(){e=b("span"),i=B(t),p(e,"class","txt-nowrap")},m(o,r){y(o,e,r),w(e,i),l||(s=Ee(He.call(null,e,n[1])),l=!0)},p(o,[r]){r&1&&t!==(t=o[0].replace("Z"," UTC")+"")&&re(i,t)},i:te,o:te,d(o){o&&v(e),l=!1,s()}}}function m3(n,e,t){let{date:i}=e;const l={get text(){return V.formatToLocalDate(i,"yyyy-MM-dd HH:mm:ss.SSS")+" Local"}};return n.$$set=s=>{"date"in s&&t(0,i=s.date)},[i,l]}class ok extends Se{constructor(e){super(),we(this,e,m3,p3,be,{date:0})}}function h3(n){let e,t,i=(n[1]||"UNKN")+"",l,s,o,r,a;return{c(){e=b("div"),t=b("span"),l=B(i),s=B(" ("),o=B(n[0]),r=B(")"),p(t,"class","txt"),p(e,"class",a="label log-level-label level-"+n[0]+" svelte-ha6hme")},m(u,f){y(u,e,f),w(e,t),w(t,l),w(t,s),w(t,o),w(t,r)},p(u,[f]){f&2&&i!==(i=(u[1]||"UNKN")+"")&&re(l,i),f&1&&re(o,u[0]),f&1&&a!==(a="label log-level-label level-"+u[0]+" svelte-ha6hme")&&p(e,"class",a)},i:te,o:te,d(u){u&&v(e)}}}function _3(n,e,t){let i,{level:l}=e;return n.$$set=s=>{"level"in s&&t(0,l=s.level)},n.$$.update=()=>{var s;n.$$.dirty&1&&t(1,i=(s=V0.find(o=>o.level==l))==null?void 0:s.label)},[l,i]}class rk extends Se{constructor(e){super(),we(this,e,_3,h3,be,{level:0})}}function wc(n,e,t){var o;const i=n.slice();i[32]=e[t];const l=((o=i[32].data)==null?void 0:o.type)=="request";i[33]=l;const s=E3(i[32]);return i[34]=s,i}function Sc(n,e,t){const i=n.slice();return i[37]=e[t],i}function g3(n){let e,t,i,l,s,o,r;return{c(){e=b("div"),t=b("input"),l=C(),s=b("label"),p(t,"type","checkbox"),p(t,"id","checkbox_0"),t.disabled=i=!n[3].length,t.checked=n[8],p(s,"for","checkbox_0"),p(e,"class","form-field")},m(a,u){y(a,e,u),w(e,t),w(e,l),w(e,s),o||(r=W(t,"change",n[19]),o=!0)},p(a,u){u[0]&8&&i!==(i=!a[3].length)&&(t.disabled=i),u[0]&256&&(t.checked=a[8])},d(a){a&&v(e),o=!1,r()}}}function b3(n){let e;return{c(){e=b("span"),p(e,"class","loader loader-sm")},m(t,i){y(t,e,i)},p:te,d(t){t&&v(e)}}}function k3(n){let e;return{c(){e=b("div"),e.innerHTML='<i class="ri-bookmark-line"></i> <span class="txt">level</span>',p(e,"class","col-header-content")},m(t,i){y(t,e,i)},p:te,d(t){t&&v(e)}}}function v3(n){let e;return{c(){e=b("div"),e.innerHTML='<i class="ri-file-list-2-line"></i> <span class="txt">message</span>',p(e,"class","col-header-content")},m(t,i){y(t,e,i)},p:te,d(t){t&&v(e)}}}function y3(n){let e;return{c(){e=b("div"),e.innerHTML=`<i class="${V.getFieldTypeIcon("date")} svelte-91v05h"></i> <span class="txt">created</span>`,p(e,"class","col-header-content")},m(t,i){y(t,e,i)},p:te,d(t){t&&v(e)}}}function Tc(n){let e;function t(s,o){return s[7]?S3:w3}let i=t(n),l=i(n);return{c(){l.c(),e=ye()},m(s,o){l.m(s,o),y(s,e,o)},p(s,o){i===(i=t(s))&&l?l.p(s,o):(l.d(1),l=i(s),l&&(l.c(),l.m(e.parentNode,e)))},d(s){s&&v(e),l.d(s)}}}function w3(n){var r;let e,t,i,l,s,o=((r=n[0])==null?void 0:r.length)&&$c(n);return{c(){e=b("tr"),t=b("td"),i=b("h6"),i.textContent="No logs found.",l=C(),o&&o.c(),s=C(),p(t,"colspan","99"),p(t,"class","txt-center txt-hint p-xs")},m(a,u){y(a,e,u),w(e,t),w(t,i),w(t,l),o&&o.m(t,null),w(e,s)},p(a,u){var f;(f=a[0])!=null&&f.length?o?o.p(a,u):(o=$c(a),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(a){a&&v(e),o&&o.d()}}}function S3(n){let e;return{c(){e=b("tr"),e.innerHTML='<td colspan="99" class="p-xs"><span class="skeleton-loader m-0"></span></td> '},m(t,i){y(t,e,i)},p:te,d(t){t&&v(e)}}}function $c(n){let e,t,i;return{c(){e=b("button"),e.innerHTML='<span class="txt">Clear filters</span>',p(e,"type","button"),p(e,"class","btn btn-hint btn-expanded m-t-sm")},m(l,s){y(l,e,s),t||(i=W(e,"click",n[26]),t=!0)},p:te,d(l){l&&v(e),t=!1,i()}}}function Cc(n){let e,t=ce(n[34]),i=[];for(let l=0;l<t.length;l+=1)i[l]=Oc(Sc(n,t,l));return{c(){e=b("div");for(let l=0;l<i.length;l+=1)i[l].c();p(e,"class","flex flex-wrap flex-gap-10 m-t-10")},m(l,s){y(l,e,s);for(let o=0;o<i.length;o+=1)i[o]&&i[o].m(e,null)},p(l,s){if(s[0]&8){t=ce(l[34]);let o;for(o=0;o<t.length;o+=1){const r=Sc(l,t,o);i[o]?i[o].p(r,s):(i[o]=Oc(r),i[o].c(),i[o].m(e,null))}for(;o<i.length;o+=1)i[o].d(1);i.length=t.length}},d(l){l&&v(e),dt(i,l)}}}function T3(n){let e=n[37].key+"",t,i,l=V.stringifyValue(n[32].data[n[37].key],"N/A",80)+"",s;return{c(){t=B(e),i=B(": "),s=B(l)},m(o,r){y(o,t,r),y(o,i,r),y(o,s,r)},p(o,r){r[0]&8&&e!==(e=o[37].key+"")&&re(t,e),r[0]&8&&l!==(l=V.stringifyValue(o[32].data[o[37].key],"N/A",80)+"")&&re(s,l)},d(o){o&&(v(t),v(i),v(s))}}}function $3(n){let e=n[37].key+"",t,i,l=n[32].data[n[37].key]+"",s,o;return{c(){t=B(e),i=B(": "),s=B(l),o=B("ms")},m(r,a){y(r,t,a),y(r,i,a),y(r,s,a),y(r,o,a)},p(r,a){a[0]&8&&e!==(e=r[37].key+"")&&re(t,e),a[0]&8&&l!==(l=r[32].data[r[37].key]+"")&&re(s,l)},d(r){r&&(v(t),v(i),v(s),v(o))}}}function Oc(n){let e,t,i;function l(r,a){return r[33]&&r[37].key=="execTime"?$3:T3}let s=l(n),o=s(n);return{c(){e=b("span"),o.c(),t=C(),p(e,"class",i="label label-sm "+(n[37].label||"")+" svelte-91v05h")},m(r,a){y(r,e,a),o.m(e,null),w(e,t)},p(r,a){s===(s=l(r))&&o?o.p(r,a):(o.d(1),o=s(r),o&&(o.c(),o.m(e,t))),a[0]&8&&i!==(i="label label-sm "+(r[37].label||"")+" svelte-91v05h")&&p(e,"class",i)},d(r){r&&v(e),o.d()}}}function Ec(n,e){let t,i,l,s,o,r,a,u,f,c,d,m,h,_,g,k,S=e[32].message+"",$,T,O,M,L,I,A,P,N,R,z;function F(){return e[23](e[32])}m=new rk({props:{level:e[32].level}});let U=e[34].length&&Cc(e);L=new ok({props:{date:e[32].created}});function J(){return e[24](e[32])}function K(...Q){return e[25](e[32],...Q)}return{key:n,first:null,c(){t=b("tr"),i=b("td"),l=b("div"),s=b("input"),a=C(),u=b("label"),c=C(),d=b("td"),j(m.$$.fragment),h=C(),_=b("td"),g=b("div"),k=b("span"),$=B(S),T=C(),U&&U.c(),O=C(),M=b("td"),j(L.$$.fragment),I=C(),A=b("td"),A.innerHTML='<i class="ri-arrow-right-line"></i>',P=C(),p(s,"type","checkbox"),p(s,"id",o="checkbox_"+e[32].id),s.checked=r=e[4][e[32].id],p(u,"for",f="checkbox_"+e[32].id),p(l,"class","form-field"),p(i,"class","bulk-select-col min-width"),p(d,"class","col-type-text col-field-level min-width svelte-91v05h"),p(k,"class","txt-ellipsis"),p(g,"class","flex flex-gap-10"),p(_,"class","col-type-text col-field-message svelte-91v05h"),p(M,"class","col-type-date col-field-created"),p(A,"class","col-type-action min-width"),p(t,"tabindex","0"),p(t,"class","row-handle"),this.first=t},m(Q,X){y(Q,t,X),w(t,i),w(i,l),w(l,s),w(l,a),w(l,u),w(t,c),w(t,d),q(m,d,null),w(t,h),w(t,_),w(_,g),w(g,k),w(k,$),w(_,T),U&&U.m(_,null),w(t,O),w(t,M),q(L,M,null),w(t,I),w(t,A),w(t,P),N=!0,R||(z=[W(s,"change",F),W(l,"click",Cn(e[18])),W(t,"click",J),W(t,"keydown",K)],R=!0)},p(Q,X){e=Q,(!N||X[0]&8&&o!==(o="checkbox_"+e[32].id))&&p(s,"id",o),(!N||X[0]&24&&r!==(r=e[4][e[32].id]))&&(s.checked=r),(!N||X[0]&8&&f!==(f="checkbox_"+e[32].id))&&p(u,"for",f);const oe={};X[0]&8&&(oe.level=e[32].level),m.$set(oe),(!N||X[0]&8)&&S!==(S=e[32].message+"")&&re($,S),e[34].length?U?U.p(e,X):(U=Cc(e),U.c(),U.m(_,null)):U&&(U.d(1),U=null);const ke={};X[0]&8&&(ke.date=e[32].created),L.$set(ke)},i(Q){N||(E(m.$$.fragment,Q),E(L.$$.fragment,Q),N=!0)},o(Q){D(m.$$.fragment,Q),D(L.$$.fragment,Q),N=!1},d(Q){Q&&v(t),H(m),U&&U.d(),H(L),R=!1,Ie(z)}}}function C3(n){let e,t,i,l,s,o,r,a,u,f,c,d,m,h,_,g,k,S=[],$=new Map,T;function O(K,Q){return K[7]?b3:g3}let M=O(n),L=M(n);function I(K){n[20](K)}let A={disable:!0,class:"col-field-level min-width",name:"level",$$slots:{default:[k3]},$$scope:{ctx:n}};n[1]!==void 0&&(A.sort=n[1]),o=new nr({props:A}),ie.push(()=>ge(o,"sort",I));function P(K){n[21](K)}let N={disable:!0,class:"col-type-text col-field-message",name:"data",$$slots:{default:[v3]},$$scope:{ctx:n}};n[1]!==void 0&&(N.sort=n[1]),u=new nr({props:N}),ie.push(()=>ge(u,"sort",P));function R(K){n[22](K)}let z={disable:!0,class:"col-type-date col-field-created",name:"created",$$slots:{default:[y3]},$$scope:{ctx:n}};n[1]!==void 0&&(z.sort=n[1]),d=new nr({props:z}),ie.push(()=>ge(d,"sort",R));let F=ce(n[3]);const U=K=>K[32].id;for(let K=0;K<F.length;K+=1){let Q=wc(n,F,K),X=U(Q);$.set(X,S[K]=Ec(X,Q))}let J=null;return F.length||(J=Tc(n)),{c(){e=b("table"),t=b("thead"),i=b("tr"),l=b("th"),L.c(),s=C(),j(o.$$.fragment),a=C(),j(u.$$.fragment),c=C(),j(d.$$.fragment),h=C(),_=b("th"),g=C(),k=b("tbody");for(let K=0;K<S.length;K+=1)S[K].c();J&&J.c(),p(l,"class","bulk-select-col min-width"),p(_,"class","col-type-action min-width"),p(e,"class","table"),ee(e,"table-loading",n[7])},m(K,Q){y(K,e,Q),w(e,t),w(t,i),w(i,l),L.m(l,null),w(i,s),q(o,i,null),w(i,a),q(u,i,null),w(i,c),q(d,i,null),w(i,h),w(i,_),w(e,g),w(e,k);for(let X=0;X<S.length;X+=1)S[X]&&S[X].m(k,null);J&&J.m(k,null),T=!0},p(K,Q){M===(M=O(K))&&L?L.p(K,Q):(L.d(1),L=M(K),L&&(L.c(),L.m(l,null)));const X={};Q[1]&512&&(X.$$scope={dirty:Q,ctx:K}),!r&&Q[0]&2&&(r=!0,X.sort=K[1],Te(()=>r=!1)),o.$set(X);const oe={};Q[1]&512&&(oe.$$scope={dirty:Q,ctx:K}),!f&&Q[0]&2&&(f=!0,oe.sort=K[1],Te(()=>f=!1)),u.$set(oe);const ke={};Q[1]&512&&(ke.$$scope={dirty:Q,ctx:K}),!m&&Q[0]&2&&(m=!0,ke.sort=K[1],Te(()=>m=!1)),d.$set(ke),Q[0]&9369&&(F=ce(K[3]),ae(),S=yt(S,Q,U,1,K,F,$,k,Ut,Ec,null,wc),ue(),!F.length&&J?J.p(K,Q):F.length?J&&(J.d(1),J=null):(J=Tc(K),J.c(),J.m(k,null))),(!T||Q[0]&128)&&ee(e,"table-loading",K[7])},i(K){if(!T){E(o.$$.fragment,K),E(u.$$.fragment,K),E(d.$$.fragment,K);for(let Q=0;Q<F.length;Q+=1)E(S[Q]);T=!0}},o(K){D(o.$$.fragment,K),D(u.$$.fragment,K),D(d.$$.fragment,K);for(let Q=0;Q<S.length;Q+=1)D(S[Q]);T=!1},d(K){K&&v(e),L.d(),H(o),H(u),H(d);for(let Q=0;Q<S.length;Q+=1)S[Q].d();J&&J.d()}}}function Mc(n){let e,t,i,l;return{c(){e=b("div"),t=b("button"),t.innerHTML='<span class="txt">Load more</span>',p(t,"type","button"),p(t,"class","btn btn-lg btn-secondary btn-expanded"),ee(t,"btn-loading",n[7]),ee(t,"btn-disabled",n[7]),p(e,"class","block txt-center m-t-sm")},m(s,o){y(s,e,o),w(e,t),i||(l=W(t,"click",n[27]),i=!0)},p(s,o){o[0]&128&&ee(t,"btn-loading",s[7]),o[0]&128&&ee(t,"btn-disabled",s[7])},d(s){s&&v(e),i=!1,l()}}}function Dc(n){let e,t,i,l,s,o,r=n[5]===1?"log":"logs",a,u,f,c,d,m,h,_,g,k,S;return{c(){e=b("div"),t=b("div"),i=B("Selected "),l=b("strong"),s=B(n[5]),o=C(),a=B(r),u=C(),f=b("button"),f.innerHTML='<span class="txt">Reset</span>',c=C(),d=b("div"),m=C(),h=b("button"),h.innerHTML='<span class="txt">Download as JSON</span>',p(t,"class","txt"),p(f,"type","button"),p(f,"class","btn btn-xs btn-transparent btn-outline p-l-5 p-r-5"),p(d,"class","flex-fill"),p(h,"type","button"),p(h,"class","btn btn-sm"),p(e,"class","bulkbar svelte-91v05h")},m($,T){y($,e,T),w(e,t),w(t,i),w(t,l),w(l,s),w(t,o),w(t,a),w(e,u),w(e,f),w(e,c),w(e,d),w(e,m),w(e,h),g=!0,k||(S=[W(f,"click",n[28]),W(h,"click",n[14])],k=!0)},p($,T){(!g||T[0]&32)&&re(s,$[5]),(!g||T[0]&32)&&r!==(r=$[5]===1?"log":"logs")&&re(a,r)},i($){g||($&&et(()=>{g&&(_||(_=je(e,Fn,{duration:150,y:5},!0)),_.run(1))}),g=!0)},o($){$&&(_||(_=je(e,Fn,{duration:150,y:5},!1)),_.run(0)),g=!1},d($){$&&v(e),$&&_&&_.end(),k=!1,Ie(S)}}}function O3(n){let e,t,i,l,s;e=new Au({props:{class:"table-wrapper",$$slots:{default:[C3]},$$scope:{ctx:n}}});let o=n[3].length&&n[9]&&Mc(n),r=n[5]&&Dc(n);return{c(){j(e.$$.fragment),t=C(),o&&o.c(),i=C(),r&&r.c(),l=ye()},m(a,u){q(e,a,u),y(a,t,u),o&&o.m(a,u),y(a,i,u),r&&r.m(a,u),y(a,l,u),s=!0},p(a,u){const f={};u[0]&411|u[1]&512&&(f.$$scope={dirty:u,ctx:a}),e.$set(f),a[3].length&&a[9]?o?o.p(a,u):(o=Mc(a),o.c(),o.m(i.parentNode,i)):o&&(o.d(1),o=null),a[5]?r?(r.p(a,u),u[0]&32&&E(r,1)):(r=Dc(a),r.c(),E(r,1),r.m(l.parentNode,l)):r&&(ae(),D(r,1,1,()=>{r=null}),ue())},i(a){s||(E(e.$$.fragment,a),E(r),s=!0)},o(a){D(e.$$.fragment,a),D(r),s=!1},d(a){a&&(v(t),v(i),v(l)),H(e,a),o&&o.d(a),r&&r.d(a)}}}const Ic=50,aa=/[-:\. ]/gi;function E3(n){let e=[];if(!n.data)return e;if(n.data.type=="request"){const t=["status","execTime","auth","authId","userIP"];for(let i of t)typeof n.data[i]<"u"&&e.push({key:i});n.data.referer&&!n.data.referer.includes(window.location.host)&&e.push({key:"referer"})}else{const t=Object.keys(n.data);for(const i of t)i!="error"&&i!="details"&&e.length<6&&e.push({key:i})}return n.data.error&&e.push({key:"error",label:"label-danger"}),n.data.details&&e.push({key:"details",label:"label-warning"}),e}function M3(n,e,t){let i,l,s;const o=kt();let{filter:r=""}=e,{presets:a=""}=e,{zoom:u={}}=e,{sort:f="-@rowid"}=e,c=[],d=1,m=0,h=!1,_=0,g={};async function k(X=1,oe=!0){t(7,h=!0);const ke=[a,V.normalizeLogsFilter(r)];return u.min&&u.max&&ke.push(`created >= "${u.min}" && created <= "${u.max}"`),he.logs.getList(X,Ic,{sort:f,skipTotal:1,filter:ke.filter(Boolean).join("&&")}).then(async me=>{var We;X<=1&&S();const $e=V.toArray(me.items);if(t(7,h=!1),t(6,d=me.page),t(17,m=((We=me.items)==null?void 0:We.length)||0),o("load",c.concat($e)),oe){const nt=++_;for(;$e.length&&_==nt;){const st=$e.splice(0,10);for(let Be of st)V.pushOrReplaceByKey(c,Be);t(3,c),await V.yieldToMain()}}else{for(let nt of $e)V.pushOrReplaceByKey(c,nt);t(3,c)}}).catch(me=>{me!=null&&me.isAbort||(t(7,h=!1),console.warn(me),S(),he.error(me,!ke||(me==null?void 0:me.status)!=400))})}function S(){t(3,c=[]),t(4,g={}),t(6,d=1),t(17,m=0)}function $(){s?T():O()}function T(){t(4,g={})}function O(){for(const X of c)t(4,g[X.id]=X,g);t(4,g)}function M(X){g[X.id]?delete g[X.id]:t(4,g[X.id]=X,g),t(4,g)}function L(){const X=Object.values(g).sort((me,$e)=>me.created<$e.created?1:me.created>$e.created?-1:0);if(!X.length)return;if(X.length==1)return V.downloadJson(X[0],"log_"+X[0].created.replaceAll(aa,"")+".json");const oe=X[0].created.replaceAll(aa,""),ke=X[X.length-1].created.replaceAll(aa,"");return V.downloadJson(X,`${X.length}_logs_${ke}_to_${oe}.json`)}function I(X){Ne.call(this,n,X)}const A=()=>$();function P(X){f=X,t(1,f)}function N(X){f=X,t(1,f)}function R(X){f=X,t(1,f)}const z=X=>M(X),F=X=>o("select",X),U=(X,oe)=>{oe.code==="Enter"&&(oe.preventDefault(),o("select",X))},J=()=>t(0,r=""),K=()=>k(d+1),Q=()=>T();return n.$$set=X=>{"filter"in X&&t(0,r=X.filter),"presets"in X&&t(15,a=X.presets),"zoom"in X&&t(16,u=X.zoom),"sort"in X&&t(1,f=X.sort)},n.$$.update=()=>{n.$$.dirty[0]&98307&&(typeof f<"u"||typeof r<"u"||typeof a<"u"||typeof u<"u")&&(S(),k(1)),n.$$.dirty[0]&131072&&t(9,i=m>=Ic),n.$$.dirty[0]&16&&t(5,l=Object.keys(g).length),n.$$.dirty[0]&40&&t(8,s=c.length&&l===c.length)},[r,f,k,c,g,l,d,h,s,i,o,$,T,M,L,a,u,m,I,A,P,N,R,z,F,U,J,K,Q]}class D3 extends Se{constructor(e){super(),we(this,e,M3,O3,be,{filter:0,presets:15,zoom:16,sort:1,load:2},null,[-1,-1])}get load(){return this.$$.ctx[2]}}/*!
  * @kurkle/color v0.3.2
  * https://github.com/kurkle/color#readme
  * (c) 2023 Jukka Kurkela
@@ -46,15 +46,15 @@ var bv=Object.defineProperty;var kv=(n,e,t)=>e in n?bv(n,e,{enumerable:!0,config
  * (c) 2016-2023 chartjs-plugin-zoom Contributors
  * Released under the MIT License
  */const xs=n=>n&&n.enabled&&n.modifierKey,Kk=(n,e)=>n&&e[n+"Key"],Zu=(n,e)=>n&&!e[n+"Key"];function ol(n,e,t){return n===void 0?!0:typeof n=="string"?n.indexOf(e)!==-1:typeof n=="function"?n({chart:t}).indexOf(e)!==-1:!1}function ka(n,e){return typeof n=="function"&&(n=n({chart:e})),typeof n=="string"?{x:n.indexOf("x")!==-1,y:n.indexOf("y")!==-1}:{x:!1,y:!1}}function H$(n,e){let t;return function(){return clearTimeout(t),t=setTimeout(n,e),e}}function j$({x:n,y:e},t){const i=t.scales,l=Object.keys(i);for(let s=0;s<l.length;s++){const o=i[l[s]];if(e>=o.top&&e<=o.bottom&&n>=o.left&&n<=o.right)return o}return null}function Jk(n,e,t){const{mode:i="xy",scaleMode:l,overScaleMode:s}=n||{},o=j$(e,t),r=ka(i,t),a=ka(l,t);if(s){const f=ka(s,t);for(const c of["x","y"])f[c]&&(a[c]=r[c],r[c]=!1)}if(o&&a[o.axis])return[o];const u=[];return _t(t.scales,function(f){r[f.axis]&&u.push(f)}),u}const iu=new WeakMap;function Zt(n){let e=iu.get(n);return e||(e={originalScaleLimits:{},updatedScaleLimits:{},handlers:{},panDelta:{}},iu.set(n,e)),e}function z$(n){iu.delete(n)}function Zk(n,e,t){const i=n.max-n.min,l=i*(e-1),s=n.isHorizontal()?t.x:t.y,o=Math.max(0,Math.min(1,(n.getValueForPixel(s)-n.min)/i||0)),r=1-o;return{min:l*o,max:l*r}}function Jd(n,e,t,i,l){let s=t[i];if(s==="original"){const o=n.originalScaleLimits[e.id][i];s=Et(o.options,o.scale)}return Et(s,l)}function U$(n,e,t){const i=n.getValueForPixel(e),l=n.getValueForPixel(t);return{min:Math.min(i,l),max:Math.max(i,l)}}function us(n,{min:e,max:t},i,l=!1){const s=Zt(n.chart),{id:o,axis:r,options:a}=n,u=i&&(i[o]||i[r])||{},{minRange:f=0}=u,c=Jd(s,n,u,"min",-1/0),d=Jd(s,n,u,"max",1/0),m=l?Math.max(t-e,f):n.max-n.min,h=(m-t+e)/2;return e-=h,t+=h,e<c?(e=c,t=Math.min(c+m,d)):t>d&&(t=d,e=Math.max(d-m,c)),a.min=e,a.max=t,s.updatedScaleLimits[n.id]={min:e,max:t},n.parse(e)!==n.min||n.parse(t)!==n.max}function V$(n,e,t,i){const l=Zk(n,e,t),s={min:n.min+l.min,max:n.max-l.max};return us(n,s,i,!0)}function B$(n,e,t,i){us(n,U$(n,e,t),i,!0)}const Zd=n=>n===0||isNaN(n)?0:n<0?Math.min(Math.round(n),-1):Math.max(Math.round(n),1);function W$(n){const t=n.getLabels().length-1;n.min>0&&(n.min-=1),n.max<t&&(n.max+=1)}function Y$(n,e,t,i){const l=Zk(n,e,t);n.min===n.max&&e<1&&W$(n);const s={min:n.min+Zd(l.min),max:n.max-Zd(l.max)};return us(n,s,i,!0)}function K$(n){return n.isHorizontal()?n.width:n.height}function J$(n,e,t){const l=n.getLabels().length-1;let{min:s,max:o}=n;const r=Math.max(o-s,1),a=Math.round(K$(n)/Math.max(r,10)),u=Math.round(Math.abs(e/a));let f;return e<-a?(o=Math.min(o+u,l),s=r===1?o:o-r,f=o===l):e>a&&(s=Math.max(0,s-u),o=r===1?s:s+r,f=s===0),us(n,{min:s,max:o},t)||f}const Z$={second:500,minute:30*1e3,hour:30*60*1e3,day:12*60*60*1e3,week:3.5*24*60*60*1e3,month:15*24*60*60*1e3,quarter:60*24*60*60*1e3,year:182*24*60*60*1e3};function Gk(n,e,t,i=!1){const{min:l,max:s,options:o}=n,r=o.time&&o.time.round,a=Z$[r]||0,u=n.getValueForPixel(n.getPixelForValue(l+a)-e),f=n.getValueForPixel(n.getPixelForValue(s+a)-e),{min:c=-1/0,max:d=1/0}=i&&t&&t[n.axis]||{};return isNaN(u)||isNaN(f)||u<c||f>d?!0:us(n,{min:u,max:f},t,i)}function Gd(n,e,t){return Gk(n,e,t,!0)}const lu={category:Y$,default:V$},su={default:B$},ou={category:J$,default:Gk,logarithmic:Gd,timeseries:Gd};function G$(n,e,t){const{id:i,options:{min:l,max:s}}=n;if(!e[i]||!t[i])return!0;const o=t[i];return o.min!==l||o.max!==s}function Xd(n,e){_t(n,(t,i)=>{e[i]||delete n[i]})}function fs(n,e){const{scales:t}=n,{originalScaleLimits:i,updatedScaleLimits:l}=e;return _t(t,function(s){G$(s,i,l)&&(i[s.id]={min:{scale:s.min,options:s.options.min},max:{scale:s.max,options:s.options.max}})}),Xd(i,t),Xd(l,t),i}function Qd(n,e,t,i){const l=lu[n.type]||lu.default;pt(l,[n,e,t,i])}function xd(n,e,t,i,l){const s=su[n.type]||su.default;pt(s,[n,e,t,i,l])}function X$(n){const e=n.chartArea;return{x:(e.left+e.right)/2,y:(e.top+e.bottom)/2}}function Gu(n,e,t="none"){const{x:i=1,y:l=1,focalPoint:s=X$(n)}=typeof e=="number"?{x:e,y:e}:e,o=Zt(n),{options:{limits:r,zoom:a}}=o;fs(n,o);const u=i!==1,f=l!==1,c=Jk(a,s,n);_t(c||n.scales,function(d){d.isHorizontal()&&u?Qd(d,i,s,r):!d.isHorizontal()&&f&&Qd(d,l,s,r)}),n.update(t),pt(a.onZoom,[{chart:n}])}function Xk(n,e,t,i="none"){const l=Zt(n),{options:{limits:s,zoom:o}}=l,{mode:r="xy"}=o;fs(n,l);const a=ol(r,"x",n),u=ol(r,"y",n);_t(n.scales,function(f){f.isHorizontal()&&a?xd(f,e.x,t.x,s):!f.isHorizontal()&&u&&xd(f,e.y,t.y,s)}),n.update(i),pt(o.onZoom,[{chart:n}])}function Q$(n,e,t,i="none"){fs(n,Zt(n));const l=n.scales[e];us(l,t,void 0,!0),n.update(i)}function x$(n,e="default"){const t=Zt(n),i=fs(n,t);_t(n.scales,function(l){const s=l.options;i[l.id]?(s.min=i[l.id].min.options,s.max=i[l.id].max.options):(delete s.min,delete s.max)}),n.update(e),pt(t.options.zoom.onZoomComplete,[{chart:n}])}function eC(n,e){const t=n.originalScaleLimits[e];if(!t)return;const{min:i,max:l}=t;return Et(l.options,l.scale)-Et(i.options,i.scale)}function tC(n){const e=Zt(n);let t=1,i=1;return _t(n.scales,function(l){const s=eC(e,l.id);if(s){const o=Math.round(s/(l.max-l.min)*100)/100;t=Math.min(t,o),i=Math.max(i,o)}}),t<1?t:i}function ep(n,e,t,i){const{panDelta:l}=i,s=l[n.id]||0;ll(s)===ll(e)&&(e+=s);const o=ou[n.type]||ou.default;pt(o,[n,e,t])?l[n.id]=0:l[n.id]=e}function Qk(n,e,t,i="none"){const{x:l=0,y:s=0}=typeof e=="number"?{x:e,y:e}:e,o=Zt(n),{options:{pan:r,limits:a}}=o,{onPan:u}=r||{};fs(n,o);const f=l!==0,c=s!==0;_t(t||n.scales,function(d){d.isHorizontal()&&f?ep(d,l,a,o):!d.isHorizontal()&&c&&ep(d,s,a,o)}),n.update(i),pt(u,[{chart:n}])}function xk(n){const e=Zt(n);fs(n,e);const t={};for(const i of Object.keys(n.scales)){const{min:l,max:s}=e.originalScaleLimits[i]||{min:{},max:{}};t[i]={min:l.scale,max:s.scale}}return t}function nC(n){const e=xk(n);for(const t of Object.keys(n.scales)){const{min:i,max:l}=e[t];if(i!==void 0&&n.scales[t].min!==i||l!==void 0&&n.scales[t].max!==l)return!0}return!1}function Ln(n,e){const{handlers:t}=Zt(n),i=t[e];i&&i.target&&(i.target.removeEventListener(e,i),delete t[e])}function qs(n,e,t,i){const{handlers:l,options:s}=Zt(n),o=l[t];o&&o.target===e||(Ln(n,t),l[t]=r=>i(n,r,s),l[t].target=e,e.addEventListener(t,l[t]))}function iC(n,e){const t=Zt(n);t.dragStart&&(t.dragging=!0,t.dragEnd=e,n.update("none"))}function lC(n,e){const t=Zt(n);!t.dragStart||e.key!=="Escape"||(Ln(n,"keydown"),t.dragging=!1,t.dragStart=t.dragEnd=null,n.update("none"))}function ev(n,e,t){const{onZoomStart:i,onZoomRejected:l}=t;if(i){const s=vi(e,n);if(pt(i,[{chart:n,event:e,point:s}])===!1)return pt(l,[{chart:n,event:e}]),!1}}function sC(n,e){const t=Zt(n),{pan:i,zoom:l={}}=t.options;if(e.button!==0||Kk(xs(i),e)||Zu(xs(l.drag),e))return pt(l.onZoomRejected,[{chart:n,event:e}]);ev(n,e,l)!==!1&&(t.dragStart=e,qs(n,n.canvas,"mousemove",iC),qs(n,window.document,"keydown",lC))}function tv(n,e,t,i){const l=ol(e,"x",n),s=ol(e,"y",n);let{top:o,left:r,right:a,bottom:u,width:f,height:c}=n.chartArea;const d=vi(t,n),m=vi(i,n);l&&(r=Math.min(d.x,m.x),a=Math.max(d.x,m.x)),s&&(o=Math.min(d.y,m.y),u=Math.max(d.y,m.y));const h=a-r,_=u-o;return{left:r,top:o,right:a,bottom:u,width:h,height:_,zoomX:l&&h?1+(f-h)/f:1,zoomY:s&&_?1+(c-_)/c:1}}function oC(n,e){const t=Zt(n);if(!t.dragStart)return;Ln(n,"mousemove");const{mode:i,onZoomComplete:l,drag:{threshold:s=0}}=t.options.zoom,o=tv(n,i,t.dragStart,e),r=ol(i,"x",n)?o.width:0,a=ol(i,"y",n)?o.height:0,u=Math.sqrt(r*r+a*a);if(t.dragStart=t.dragEnd=null,u<=s){t.dragging=!1,n.update("none");return}Xk(n,{x:o.left,y:o.top},{x:o.right,y:o.bottom},"zoom"),setTimeout(()=>t.dragging=!1,500),pt(l,[{chart:n}])}function rC(n,e,t){if(Zu(xs(t.wheel),e)){pt(t.onZoomRejected,[{chart:n,event:e}]);return}if(ev(n,e,t)!==!1&&(e.cancelable&&e.preventDefault(),e.deltaY!==void 0))return!0}function aC(n,e){const{handlers:{onZoomComplete:t},options:{zoom:i}}=Zt(n);if(!rC(n,e,i))return;const l=e.target.getBoundingClientRect(),s=1+(e.deltaY>=0?-i.wheel.speed:i.wheel.speed),o={x:s,y:s,focalPoint:{x:e.clientX-l.left,y:e.clientY-l.top}};Gu(n,o),t&&t()}function uC(n,e,t,i){t&&(Zt(n).handlers[e]=H$(()=>pt(t,[{chart:n}]),i))}function fC(n,e){const t=n.canvas,{wheel:i,drag:l,onZoomComplete:s}=e.zoom;i.enabled?(qs(n,t,"wheel",aC),uC(n,"onZoomComplete",s,250)):Ln(n,"wheel"),l.enabled?(qs(n,t,"mousedown",sC),qs(n,t.ownerDocument,"mouseup",oC)):(Ln(n,"mousedown"),Ln(n,"mousemove"),Ln(n,"mouseup"),Ln(n,"keydown"))}function cC(n){Ln(n,"mousedown"),Ln(n,"mousemove"),Ln(n,"mouseup"),Ln(n,"wheel"),Ln(n,"click"),Ln(n,"keydown")}function dC(n,e){return function(t,i){const{pan:l,zoom:s={}}=e.options;if(!l||!l.enabled)return!1;const o=i&&i.srcEvent;return o&&!e.panning&&i.pointerType==="mouse"&&(Zu(xs(l),o)||Kk(xs(s.drag),o))?(pt(l.onPanRejected,[{chart:n,event:i}]),!1):!0}}function pC(n,e){const t=Math.abs(n.clientX-e.clientX),i=Math.abs(n.clientY-e.clientY),l=t/i;let s,o;return l>.3&&l<1.7?s=o=!0:t>i?s=!0:o=!0,{x:s,y:o}}function nv(n,e,t){if(e.scale){const{center:i,pointers:l}=t,s=1/e.scale*t.scale,o=t.target.getBoundingClientRect(),r=pC(l[0],l[1]),a=e.options.zoom.mode,u={x:r.x&&ol(a,"x",n)?s:1,y:r.y&&ol(a,"y",n)?s:1,focalPoint:{x:i.x-o.left,y:i.y-o.top}};Gu(n,u),e.scale=t.scale}}function mC(n,e){e.options.zoom.pinch.enabled&&(e.scale=1)}function hC(n,e,t){e.scale&&(nv(n,e,t),e.scale=null,pt(e.options.zoom.onZoomComplete,[{chart:n}]))}function iv(n,e,t){const i=e.delta;i&&(e.panning=!0,Qk(n,{x:t.deltaX-i.x,y:t.deltaY-i.y},e.panScales),e.delta={x:t.deltaX,y:t.deltaY})}function _C(n,e,t){const{enabled:i,onPanStart:l,onPanRejected:s}=e.options.pan;if(!i)return;const o=t.target.getBoundingClientRect(),r={x:t.center.x-o.left,y:t.center.y-o.top};if(pt(l,[{chart:n,event:t,point:r}])===!1)return pt(s,[{chart:n,event:t}]);e.panScales=Jk(e.options.pan,r,n),e.delta={x:0,y:0},clearTimeout(e.panEndTimeout),iv(n,e,t)}function gC(n,e){e.delta=null,e.panning&&(e.panEndTimeout=setTimeout(()=>e.panning=!1,500),pt(e.options.pan.onPanComplete,[{chart:n}]))}const ru=new WeakMap;function bC(n,e){const t=Zt(n),i=n.canvas,{pan:l,zoom:s}=e,o=new Fs.Manager(i);s&&s.pinch.enabled&&(o.add(new Fs.Pinch),o.on("pinchstart",()=>mC(n,t)),o.on("pinch",r=>nv(n,t,r)),o.on("pinchend",r=>hC(n,t,r))),l&&l.enabled&&(o.add(new Fs.Pan({threshold:l.threshold,enable:dC(n,t)})),o.on("panstart",r=>_C(n,t,r)),o.on("panmove",r=>iv(n,t,r)),o.on("panend",()=>gC(n,t))),ru.set(n,o)}function kC(n){const e=ru.get(n);e&&(e.remove("pinchstart"),e.remove("pinch"),e.remove("pinchend"),e.remove("panstart"),e.remove("pan"),e.remove("panend"),e.destroy(),ru.delete(n))}var vC="2.0.1";function Wo(n,e,t){const i=t.zoom.drag,{dragStart:l,dragEnd:s}=Zt(n);if(i.drawTime!==e||!s)return;const{left:o,top:r,width:a,height:u}=tv(n,t.zoom.mode,l,s),f=n.ctx;f.save(),f.beginPath(),f.fillStyle=i.backgroundColor||"rgba(225,225,225,0.3)",f.fillRect(o,r,a,u),i.borderWidth>0&&(f.lineWidth=i.borderWidth,f.strokeStyle=i.borderColor||"rgba(225,225,225)",f.strokeRect(o,r,a,u)),f.restore()}var yC={id:"zoom",version:vC,defaults:{pan:{enabled:!1,mode:"xy",threshold:10,modifierKey:null},zoom:{wheel:{enabled:!1,speed:.1,modifierKey:null},drag:{enabled:!1,drawTime:"beforeDatasetsDraw",modifierKey:null},pinch:{enabled:!1},mode:"xy"}},start:function(n,e,t){const i=Zt(n);i.options=t,Object.prototype.hasOwnProperty.call(t.zoom,"enabled")&&console.warn("The option `zoom.enabled` is no longer supported. Please use `zoom.wheel.enabled`, `zoom.drag.enabled`, or `zoom.pinch.enabled`."),(Object.prototype.hasOwnProperty.call(t.zoom,"overScaleMode")||Object.prototype.hasOwnProperty.call(t.pan,"overScaleMode"))&&console.warn("The option `overScaleMode` is deprecated. Please use `scaleMode` instead (and update `mode` as desired)."),Fs&&bC(n,t),n.pan=(l,s,o)=>Qk(n,l,s,o),n.zoom=(l,s)=>Gu(n,l,s),n.zoomRect=(l,s,o)=>Xk(n,l,s,o),n.zoomScale=(l,s,o)=>Q$(n,l,s,o),n.resetZoom=l=>x$(n,l),n.getZoomLevel=()=>tC(n),n.getInitialScaleBounds=()=>xk(n),n.isZoomedOrPanned=()=>nC(n)},beforeEvent(n){const e=Zt(n);if(e.panning||e.dragging)return!1},beforeUpdate:function(n,e,t){const i=Zt(n);i.options=t,fC(n,t)},beforeDatasetsDraw(n,e,t){Wo(n,"beforeDatasetsDraw",t)},afterDatasetsDraw(n,e,t){Wo(n,"afterDatasetsDraw",t)},beforeDraw(n,e,t){Wo(n,"beforeDraw",t)},afterDraw(n,e,t){Wo(n,"afterDraw",t)},stop:function(n){cC(n),Fs&&kC(n),z$(n)},panFunctions:ou,zoomFunctions:lu,zoomRectFunctions:su};function tp(n){let e,t,i;return{c(){e=b("div"),p(e,"class","chart-loader loader svelte-kfnurg")},m(l,s){y(l,e,s),i=!0},i(l){i||(l&&et(()=>{i&&(t||(t=je(e,$t,{duration:150},!0)),t.run(1))}),i=!0)},o(l){l&&(t||(t=je(e,$t,{duration:150},!1)),t.run(0)),i=!1},d(l){l&&v(e),l&&t&&t.end()}}}function np(n){let e,t,i;return{c(){e=b("button"),e.textContent="Reset zoom",p(e,"type","button"),p(e,"class","btn btn-secondary btn-sm btn-chart-zoom svelte-kfnurg")},m(l,s){y(l,e,s),t||(i=W(e,"click",n[4]),t=!0)},p:te,d(l){l&&v(e),t=!1,i()}}}function wC(n){let e,t,i,l,s,o=n[1]==1?"log":"logs",r,a,u,f,c,d,m,h=n[2]&&tp(),_=n[3]&&np(n);return{c(){e=b("div"),t=b("div"),i=B("Found "),l=B(n[1]),s=C(),r=B(o),a=C(),h&&h.c(),u=C(),f=b("canvas"),c=C(),_&&_.c(),p(t,"class","total-logs entrance-right svelte-kfnurg"),ee(t,"hidden",n[2]),p(f,"class","chart-canvas svelte-kfnurg"),p(e,"class","chart-wrapper svelte-kfnurg"),ee(e,"loading",n[2])},m(g,k){y(g,e,k),w(e,t),w(t,i),w(t,l),w(t,s),w(t,r),w(e,a),h&&h.m(e,null),w(e,u),w(e,f),n[11](f),w(e,c),_&&_.m(e,null),d||(m=W(f,"dblclick",n[4]),d=!0)},p(g,[k]){k&2&&re(l,g[1]),k&2&&o!==(o=g[1]==1?"log":"logs")&&re(r,o),k&4&&ee(t,"hidden",g[2]),g[2]?h?k&4&&E(h,1):(h=tp(),h.c(),E(h,1),h.m(e,u)):h&&(ae(),D(h,1,1,()=>{h=null}),ue()),g[3]?_?_.p(g,k):(_=np(g),_.c(),_.m(e,null)):_&&(_.d(1),_=null),k&4&&ee(e,"loading",g[2])},i(g){E(h)},o(g){D(h)},d(g){g&&v(e),h&&h.d(),n[11](null),_&&_.d(),d=!1,m()}}}function SC(n,e,t){let{filter:i=""}=e,{zoom:l={}}=e,{presets:s=""}=e,o,r,a=[],u=0,f=!1,c=!1;async function d(){t(2,f=!0);const g=[s,V.normalizeLogsFilter(i)].filter(Boolean).join("&&");return he.logs.getStats({filter:g}).then(k=>{m(),k=V.toArray(k);for(let S of k)a.push({x:new Date(S.date),y:S.total}),t(1,u+=S.total)}).catch(k=>{k!=null&&k.isAbort||(m(),console.warn(k),he.error(k,!g||(k==null?void 0:k.status)!=400))}).finally(()=>{t(2,f=!1)})}function m(){t(10,a=[]),t(1,u=0)}function h(){r==null||r.resetZoom()}Gt(()=>(yi.register(Xi,rr,lr,nu,Qs,w$,D$),yi.register(yC),t(9,r=new yi(o,{type:"line",data:{datasets:[{label:"Total requests",data:a,borderColor:"#e34562",pointBackgroundColor:"#e34562",backgroundColor:"rgb(239,69,101,0.05)",borderWidth:2,pointRadius:1,pointBorderWidth:0,fill:!0}]},options:{resizeDelay:250,maintainAspectRatio:!1,animation:!1,interaction:{intersect:!1,mode:"index"},scales:{y:{beginAtZero:!0,grid:{color:"#edf0f3"},border:{color:"#e4e9ec"},ticks:{precision:0,maxTicksLimit:4,autoSkip:!0,color:"#666f75"}},x:{type:"time",time:{unit:"hour",tooltipFormat:"DD h a"},grid:{color:g=>{var k;return(k=g.tick)!=null&&k.major?"#edf0f3":""}},color:"#e4e9ec",ticks:{maxTicksLimit:15,autoSkip:!0,maxRotation:0,major:{enabled:!0},color:g=>{var k;return(k=g.tick)!=null&&k.major?"#16161a":"#666f75"}}}},plugins:{legend:{display:!1},zoom:{enabled:!0,zoom:{mode:"x",pinch:{enabled:!0},drag:{enabled:!0,backgroundColor:"rgba(255, 99, 132, 0.2)",borderWidth:0,threshold:10},limits:{x:{minRange:1e8},y:{minRange:1e8}},onZoomComplete:({chart:g})=>{t(3,c=g.isZoomedOrPanned()),c?(t(5,l.min=V.formatToUTCDate(g.scales.x.min,"yyyy-MM-dd HH")+":00:00.000Z",l),t(5,l.max=V.formatToUTCDate(g.scales.x.max,"yyyy-MM-dd HH")+":59:59.999Z",l)):(l.min||l.max)&&t(5,l={})}}}}}})),()=>r==null?void 0:r.destroy()));function _(g){ie[g?"unshift":"push"](()=>{o=g,t(0,o)})}return n.$$set=g=>{"filter"in g&&t(6,i=g.filter),"zoom"in g&&t(5,l=g.zoom),"presets"in g&&t(7,s=g.presets)},n.$$.update=()=>{n.$$.dirty&192&&(typeof i<"u"||typeof s<"u")&&d(),n.$$.dirty&1536&&typeof a<"u"&&r&&(t(9,r.data.datasets[0].data=a,r),r.update())},[o,u,f,c,h,l,i,s,d,r,a,_]}class TC extends Se{constructor(e){super(),we(this,e,SC,wC,be,{filter:6,zoom:5,presets:7,load:8})}get load(){return this.$$.ctx[8]}}function $C(n){let e,t,i;return{c(){e=b("div"),t=b("code"),p(t,"class","svelte-s3jkbp"),p(e,"class",i="code-wrapper prism-light "+n[0]+" svelte-s3jkbp")},m(l,s){y(l,e,s),w(e,t),t.innerHTML=n[1]},p(l,[s]){s&2&&(t.innerHTML=l[1]),s&1&&i!==(i="code-wrapper prism-light "+l[0]+" svelte-s3jkbp")&&p(e,"class",i)},i:te,o:te,d(l){l&&v(e)}}}function CC(n,e,t){let{content:i=""}=e,{language:l="javascript"}=e,{class:s=""}=e,o="";function r(a){return a=typeof a=="string"?a:"",a=Prism.plugins.NormalizeWhitespace.normalize(a,{"remove-trailing":!0,"remove-indent":!0,"left-trim":!0,"right-trim":!0}),Prism.highlight(a,Prism.languages[l]||Prism.languages.javascript,l)}return n.$$set=a=>{"content"in a&&t(2,i=a.content),"language"in a&&t(3,l=a.language),"class"in a&&t(0,s=a.class)},n.$$.update=()=>{n.$$.dirty&4&&typeof Prism<"u"&&i&&t(1,o=r(i))},[s,o,i,l]}class Xu extends Se{constructor(e){super(),we(this,e,CC,$C,be,{content:2,language:3,class:0})}}function OC(n){let e,t,i,l,s;return{c(){e=b("i"),p(e,"tabindex","-1"),p(e,"role","button"),p(e,"class",t=n[3]?n[2]:n[1]),p(e,"aria-label","Copy to clipboard")},m(o,r){y(o,e,r),l||(s=[Ee(i=He.call(null,e,n[3]?void 0:n[0])),W(e,"click",Cn(n[4]))],l=!0)},p(o,[r]){r&14&&t!==(t=o[3]?o[2]:o[1])&&p(e,"class",t),i&&It(i.update)&&r&9&&i.update.call(null,o[3]?void 0:o[0])},i:te,o:te,d(o){o&&v(e),l=!1,Ie(s)}}}function EC(n,e,t){let{value:i=""}=e,{tooltip:l="Copy"}=e,{idleClasses:s="ri-file-copy-line txt-sm link-hint"}=e,{successClasses:o="ri-check-line txt-sm txt-success"}=e,{successDuration:r=500}=e,a;function u(){V.isEmpty(i)||(V.copyToClipboard(i),clearTimeout(a),t(3,a=setTimeout(()=>{clearTimeout(a),t(3,a=null)},r)))}return Gt(()=>()=>{a&&clearTimeout(a)}),n.$$set=f=>{"value"in f&&t(5,i=f.value),"tooltip"in f&&t(0,l=f.tooltip),"idleClasses"in f&&t(1,s=f.idleClasses),"successClasses"in f&&t(2,o=f.successClasses),"successDuration"in f&&t(6,r=f.successDuration)},[l,s,o,a,u,i,r]}class fi extends Se{constructor(e){super(),we(this,e,EC,OC,be,{value:5,tooltip:0,idleClasses:1,successClasses:2,successDuration:6})}}function ip(n,e,t){const i=n.slice();i[16]=e[t];const l=i[1].data[i[16]];i[17]=l;const s=V.isEmpty(i[17]);i[18]=s;const o=!i[18]&&i[17]!==null&&typeof i[17]=="object";return i[19]=o,i}function MC(n){let e,t,i,l,s,o,r,a=n[1].id+"",u,f,c,d,m,h,_,g,k,S,$,T,O,M,L,I,A,P,N,R,z,F,U,J,K;d=new fi({props:{value:n[1].id}}),S=new rk({props:{level:n[1].level}}),O=new fi({props:{value:n[1].level}}),N=new ok({props:{date:n[1].created}}),F=new fi({props:{value:n[1].created}});let Q=!n[4]&&lp(n),X=ce(n[5](n[1].data)),oe=[];for(let me=0;me<X.length;me+=1)oe[me]=op(ip(n,X,me));const ke=me=>D(oe[me],1,1,()=>{oe[me]=null});return{c(){e=b("table"),t=b("tbody"),i=b("tr"),l=b("td"),l.textContent="id",s=C(),o=b("td"),r=b("span"),u=B(a),f=C(),c=b("div"),j(d.$$.fragment),m=C(),h=b("tr"),_=b("td"),_.textContent="level",g=C(),k=b("td"),j(S.$$.fragment),$=C(),T=b("div"),j(O.$$.fragment),M=C(),L=b("tr"),I=b("td"),I.textContent="created",A=C(),P=b("td"),j(N.$$.fragment),R=C(),z=b("div"),j(F.$$.fragment),U=C(),Q&&Q.c(),J=C();for(let me=0;me<oe.length;me+=1)oe[me].c();p(l,"class","min-width txt-hint txt-bold svelte-1c23bpt"),p(r,"class","txt"),p(c,"class","copy-icon-wrapper svelte-1c23bpt"),p(o,"class","svelte-1c23bpt"),p(i,"class","svelte-1c23bpt"),p(_,"class","min-width txt-hint txt-bold svelte-1c23bpt"),p(T,"class","copy-icon-wrapper svelte-1c23bpt"),p(k,"class","svelte-1c23bpt"),p(h,"class","svelte-1c23bpt"),p(I,"class","min-width txt-hint txt-bold svelte-1c23bpt"),p(z,"class","copy-icon-wrapper svelte-1c23bpt"),p(P,"class","svelte-1c23bpt"),p(L,"class","svelte-1c23bpt"),p(e,"class","table-border")},m(me,$e){y(me,e,$e),w(e,t),w(t,i),w(i,l),w(i,s),w(i,o),w(o,r),w(r,u),w(o,f),w(o,c),q(d,c,null),w(t,m),w(t,h),w(h,_),w(h,g),w(h,k),q(S,k,null),w(k,$),w(k,T),q(O,T,null),w(t,M),w(t,L),w(L,I),w(L,A),w(L,P),q(N,P,null),w(P,R),w(P,z),q(F,z,null),w(t,U),Q&&Q.m(t,null),w(t,J);for(let We=0;We<oe.length;We+=1)oe[We]&&oe[We].m(t,null);K=!0},p(me,$e){(!K||$e&2)&&a!==(a=me[1].id+"")&&re(u,a);const We={};$e&2&&(We.value=me[1].id),d.$set(We);const nt={};$e&2&&(nt.level=me[1].level),S.$set(nt);const st={};$e&2&&(st.value=me[1].level),O.$set(st);const Be={};$e&2&&(Be.date=me[1].created),N.$set(Be);const xe={};if($e&2&&(xe.value=me[1].created),F.$set(xe),me[4]?Q&&(ae(),D(Q,1,1,()=>{Q=null}),ue()):Q?(Q.p(me,$e),$e&16&&E(Q,1)):(Q=lp(me),Q.c(),E(Q,1),Q.m(t,J)),$e&50){X=ce(me[5](me[1].data));let Ze;for(Ze=0;Ze<X.length;Ze+=1){const at=ip(me,X,Ze);oe[Ze]?(oe[Ze].p(at,$e),E(oe[Ze],1)):(oe[Ze]=op(at),oe[Ze].c(),E(oe[Ze],1),oe[Ze].m(t,null))}for(ae(),Ze=X.length;Ze<oe.length;Ze+=1)ke(Ze);ue()}},i(me){if(!K){E(d.$$.fragment,me),E(S.$$.fragment,me),E(O.$$.fragment,me),E(N.$$.fragment,me),E(F.$$.fragment,me),E(Q);for(let $e=0;$e<X.length;$e+=1)E(oe[$e]);K=!0}},o(me){D(d.$$.fragment,me),D(S.$$.fragment,me),D(O.$$.fragment,me),D(N.$$.fragment,me),D(F.$$.fragment,me),D(Q),oe=oe.filter(Boolean);for(let $e=0;$e<oe.length;$e+=1)D(oe[$e]);K=!1},d(me){me&&v(e),H(d),H(S),H(O),H(N),H(F),Q&&Q.d(),dt(oe,me)}}}function DC(n){let e;return{c(){e=b("div"),e.innerHTML='<span class="loader"></span>',p(e,"class","block txt-center")},m(t,i){y(t,e,i)},p:te,i:te,o:te,d(t){t&&v(e)}}}function lp(n){let e,t,i,l,s,o,r;const a=[LC,IC],u=[];function f(c,d){return c[1].message?0:1}return s=f(n),o=u[s]=a[s](n),{c(){e=b("tr"),t=b("td"),t.textContent="message",i=C(),l=b("td"),o.c(),p(t,"class","min-width txt-hint txt-bold svelte-1c23bpt"),p(l,"class","svelte-1c23bpt"),p(e,"class","svelte-1c23bpt")},m(c,d){y(c,e,d),w(e,t),w(e,i),w(e,l),u[s].m(l,null),r=!0},p(c,d){let m=s;s=f(c),s===m?u[s].p(c,d):(ae(),D(u[m],1,1,()=>{u[m]=null}),ue(),o=u[s],o?o.p(c,d):(o=u[s]=a[s](c),o.c()),E(o,1),o.m(l,null))},i(c){r||(E(o),r=!0)},o(c){D(o),r=!1},d(c){c&&v(e),u[s].d()}}}function IC(n){let e;return{c(){e=b("span"),e.textContent="N/A",p(e,"class","txt txt-hint")},m(t,i){y(t,e,i)},p:te,i:te,o:te,d(t){t&&v(e)}}}function LC(n){let e,t=n[1].message+"",i,l,s,o,r;return o=new fi({props:{value:n[1].message}}),{c(){e=b("span"),i=B(t),l=C(),s=b("div"),j(o.$$.fragment),p(e,"class","txt"),p(s,"class","copy-icon-wrapper svelte-1c23bpt")},m(a,u){y(a,e,u),w(e,i),y(a,l,u),y(a,s,u),q(o,s,null),r=!0},p(a,u){(!r||u&2)&&t!==(t=a[1].message+"")&&re(i,t);const f={};u&2&&(f.value=a[1].message),o.$set(f)},i(a){r||(E(o.$$.fragment,a),r=!0)},o(a){D(o.$$.fragment,a),r=!1},d(a){a&&(v(e),v(l),v(s)),H(o)}}}function AC(n){let e,t=n[17]+"",i,l=n[4]&&n[16]=="execTime"?"ms":"",s;return{c(){e=b("span"),i=B(t),s=B(l),p(e,"class","txt")},m(o,r){y(o,e,r),w(e,i),w(e,s)},p(o,r){r&2&&t!==(t=o[17]+"")&&re(i,t),r&18&&l!==(l=o[4]&&o[16]=="execTime"?"ms":"")&&re(s,l)},i:te,o:te,d(o){o&&v(e)}}}function PC(n){let e,t;return e=new Xu({props:{content:n[17],language:"html"}}),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,l){const s={};l&2&&(s.content=i[17]),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function NC(n){let e,t=n[17]+"",i;return{c(){e=b("span"),i=B(t),p(e,"class","label label-danger log-error-label svelte-1c23bpt")},m(l,s){y(l,e,s),w(e,i)},p(l,s){s&2&&t!==(t=l[17]+"")&&re(i,t)},i:te,o:te,d(l){l&&v(e)}}}function RC(n){let e,t;return e=new Xu({props:{content:JSON.stringify(n[17],null,2)}}),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,l){const s={};l&2&&(s.content=JSON.stringify(i[17],null,2)),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function FC(n){let e;return{c(){e=b("span"),e.textContent="N/A",p(e,"class","txt txt-hint")},m(t,i){y(t,e,i)},p:te,i:te,o:te,d(t){t&&v(e)}}}function sp(n){let e,t,i;return t=new fi({props:{value:n[17]}}),{c(){e=b("div"),j(t.$$.fragment),p(e,"class","copy-icon-wrapper svelte-1c23bpt")},m(l,s){y(l,e,s),q(t,e,null),i=!0},p(l,s){const o={};s&2&&(o.value=l[17]),t.$set(o)},i(l){i||(E(t.$$.fragment,l),i=!0)},o(l){D(t.$$.fragment,l),i=!1},d(l){l&&v(e),H(t)}}}function op(n){let e,t,i,l=n[16]+"",s,o,r,a,u,f,c,d;const m=[FC,RC,NC,PC,AC],h=[];function _(k,S){return k[18]?0:k[19]?1:k[16]=="error"?2:k[16]=="details"?3:4}a=_(n),u=h[a]=m[a](n);let g=!n[18]&&sp(n);return{c(){e=b("tr"),t=b("td"),i=B("data."),s=B(l),o=C(),r=b("td"),u.c(),f=C(),g&&g.c(),c=C(),p(t,"class","min-width txt-hint txt-bold svelte-1c23bpt"),ee(t,"v-align-top",n[19]),p(r,"class","svelte-1c23bpt"),p(e,"class","svelte-1c23bpt")},m(k,S){y(k,e,S),w(e,t),w(t,i),w(t,s),w(e,o),w(e,r),h[a].m(r,null),w(r,f),g&&g.m(r,null),w(e,c),d=!0},p(k,S){(!d||S&2)&&l!==(l=k[16]+"")&&re(s,l),(!d||S&34)&&ee(t,"v-align-top",k[19]);let $=a;a=_(k),a===$?h[a].p(k,S):(ae(),D(h[$],1,1,()=>{h[$]=null}),ue(),u=h[a],u?u.p(k,S):(u=h[a]=m[a](k),u.c()),E(u,1),u.m(r,f)),k[18]?g&&(ae(),D(g,1,1,()=>{g=null}),ue()):g?(g.p(k,S),S&2&&E(g,1)):(g=sp(k),g.c(),E(g,1),g.m(r,null))},i(k){d||(E(u),E(g),d=!0)},o(k){D(u),D(g),d=!1},d(k){k&&v(e),h[a].d(),g&&g.d()}}}function qC(n){let e,t,i,l;const s=[DC,MC],o=[];function r(a,u){var f;return a[3]?0:(f=a[1])!=null&&f.id?1:-1}return~(e=r(n))&&(t=o[e]=s[e](n)),{c(){t&&t.c(),i=ye()},m(a,u){~e&&o[e].m(a,u),y(a,i,u),l=!0},p(a,u){let f=e;e=r(a),e===f?~e&&o[e].p(a,u):(t&&(ae(),D(o[f],1,1,()=>{o[f]=null}),ue()),~e?(t=o[e],t?t.p(a,u):(t=o[e]=s[e](a),t.c()),E(t,1),t.m(i.parentNode,i)):t=null)},i(a){l||(E(t),l=!0)},o(a){D(t),l=!1},d(a){a&&v(i),~e&&o[e].d(a)}}}function HC(n){let e;return{c(){e=b("h4"),e.textContent="Request log"},m(t,i){y(t,e,i)},p:te,d(t){t&&v(e)}}}function jC(n){let e,t,i,l,s,o,r,a;return{c(){e=b("button"),e.innerHTML='<span class="txt">Close</span>',t=C(),i=b("button"),l=b("i"),s=C(),o=b("span"),o.textContent="Download as JSON",p(e,"type","button"),p(e,"class","btn btn-transparent"),p(l,"class","ri-download-line"),p(o,"class","txt"),p(i,"type","button"),p(i,"class","btn btn-primary"),i.disabled=n[3]},m(u,f){y(u,e,f),y(u,t,f),y(u,i,f),w(i,l),w(i,s),w(i,o),r||(a=[W(e,"click",n[9]),W(i,"click",n[10])],r=!0)},p(u,f){f&8&&(i.disabled=u[3])},d(u){u&&(v(e),v(t),v(i)),r=!1,Ie(a)}}}function zC(n){let e,t,i={class:"overlay-panel-lg log-panel",$$slots:{footer:[jC],header:[HC],default:[qC]},$$scope:{ctx:n}};return e=new Xt({props:i}),n[11](e),e.$on("hide",n[7]),{c(){j(e.$$.fragment)},m(l,s){q(e,l,s),t=!0},p(l,[s]){const o={};s&4194330&&(o.$$scope={dirty:s,ctx:l}),e.$set(o)},i(l){t||(E(e.$$.fragment,l),t=!0)},o(l){D(e.$$.fragment,l),t=!1},d(l){n[11](null),H(e,l)}}}const rp="log_view";function UC(n,e,t){let i;const l=kt();let s,o={},r=!1;function a($){return f($).then(T=>{t(1,o=T),h()}),s==null?void 0:s.show()}function u(){return he.cancelRequest(rp),s==null?void 0:s.hide()}async function f($){if($&&typeof $!="string")return t(3,r=!1),$;t(3,r=!0);let T={};try{T=await he.logs.getOne($,{requestKey:rp})}catch(O){O.isAbort||(u(),console.warn("resolveModel:",O),$i(`Unable to load log with id "${$}"`))}return t(3,r=!1),T}const c=["execTime","type","auth","authId","status","method","url","referer","remoteIP","userIP","userAgent","error","details"];function d($){if(!$)return[];let T=[];for(let M of c)typeof $[M]<"u"&&T.push(M);const O=Object.keys($);for(let M of O)T.includes(M)||T.push(M);return T}function m(){V.downloadJson(o,"log_"+o.created.replaceAll(/[-:\. ]/gi,"")+".json")}function h(){l("show",o)}function _(){l("hide",o),t(1,o={})}const g=()=>u(),k=()=>m();function S($){ie[$?"unshift":"push"](()=>{s=$,t(2,s)})}return n.$$.update=()=>{var $;n.$$.dirty&2&&t(4,i=(($=o.data)==null?void 0:$.type)=="request")},[u,o,s,r,i,d,m,_,a,g,k,S]}class VC extends Se{constructor(e){super(),we(this,e,UC,zC,be,{show:8,hide:0})}get show(){return this.$$.ctx[8]}get hide(){return this.$$.ctx[0]}}function BC(n,e,t){const i=n.slice();return i[1]=e[t],i}function WC(n){let e;return{c(){e=b("code"),e.textContent=`${n[1].level}:${n[1].label}`,p(e,"class","txt-xs")},m(t,i){y(t,e,i)},p:te,d(t){t&&v(e)}}}function YC(n){let e,t,i,l=ce(V0),s=[];for(let o=0;o<l.length;o+=1)s[o]=WC(BC(n,l,o));return{c(){e=b("div"),t=B(`Default log levels:
-    `),i=b("div");for(let o=0;o<s.length;o+=1)s[o].c();p(i,"class","inline-flex flex-gap-5"),p(e,"class",n[0])},m(o,r){y(o,e,r),w(e,t),w(e,i);for(let a=0;a<s.length;a+=1)s[a]&&s[a].m(i,null)},p(o,[r]){r&1&&p(e,"class",o[0])},i:te,o:te,d(o){o&&v(e),dt(s,o)}}}function KC(n,e,t){let{class:i=""}=e;return n.$$set=l=>{"class"in l&&t(0,i=l.class)},[i]}class lv extends Se{constructor(e){super(),we(this,e,KC,YC,be,{class:0})}}function JC(n){let e,t,i,l,s,o,r,a,u,f,c;return t=new fe({props:{class:"form-field required",name:"logs.maxDays",$$slots:{default:[GC,({uniqueId:d})=>({23:d}),({uniqueId:d})=>d?8388608:0]},$$scope:{ctx:n}}}),l=new fe({props:{class:"form-field",name:"logs.minLevel",$$slots:{default:[XC,({uniqueId:d})=>({23:d}),({uniqueId:d})=>d?8388608:0]},$$scope:{ctx:n}}}),o=new fe({props:{class:"form-field form-field-toggle",name:"logs.logIP",$$slots:{default:[QC,({uniqueId:d})=>({23:d}),({uniqueId:d})=>d?8388608:0]},$$scope:{ctx:n}}}),a=new fe({props:{class:"form-field form-field-toggle",name:"logs.logAuthId",$$slots:{default:[xC,({uniqueId:d})=>({23:d}),({uniqueId:d})=>d?8388608:0]},$$scope:{ctx:n}}}),{c(){e=b("form"),j(t.$$.fragment),i=C(),j(l.$$.fragment),s=C(),j(o.$$.fragment),r=C(),j(a.$$.fragment),p(e,"id",n[6]),p(e,"class","grid"),p(e,"autocomplete","off")},m(d,m){y(d,e,m),q(t,e,null),w(e,i),q(l,e,null),w(e,s),q(o,e,null),w(e,r),q(a,e,null),u=!0,f||(c=W(e,"submit",tt(n[7])),f=!0)},p(d,m){const h={};m&25165826&&(h.$$scope={dirty:m,ctx:d}),t.$set(h);const _={};m&25165826&&(_.$$scope={dirty:m,ctx:d}),l.$set(_);const g={};m&25165826&&(g.$$scope={dirty:m,ctx:d}),o.$set(g);const k={};m&25165826&&(k.$$scope={dirty:m,ctx:d}),a.$set(k)},i(d){u||(E(t.$$.fragment,d),E(l.$$.fragment,d),E(o.$$.fragment,d),E(a.$$.fragment,d),u=!0)},o(d){D(t.$$.fragment,d),D(l.$$.fragment,d),D(o.$$.fragment,d),D(a.$$.fragment,d),u=!1},d(d){d&&v(e),H(t),H(l),H(o),H(a),f=!1,c()}}}function ZC(n){let e;return{c(){e=b("div"),e.innerHTML='<div class="loader"></div>',p(e,"class","block txt-center")},m(t,i){y(t,e,i)},p:te,i:te,o:te,d(t){t&&v(e)}}}function GC(n){let e,t,i,l,s,o,r,a,u,f;return{c(){e=b("label"),t=B("Max days retention"),l=C(),s=b("input"),r=C(),a=b("div"),a.innerHTML="Set to <code>0</code> to disable logs persistence.",p(e,"for",i=n[23]),p(s,"type","number"),p(s,"id",o=n[23]),s.required=!0,p(a,"class","help-block")},m(c,d){y(c,e,d),w(e,t),y(c,l,d),y(c,s,d),pe(s,n[1].logs.maxDays),y(c,r,d),y(c,a,d),u||(f=W(s,"input",n[11]),u=!0)},p(c,d){d&8388608&&i!==(i=c[23])&&p(e,"for",i),d&8388608&&o!==(o=c[23])&&p(s,"id",o),d&2&&gt(s.value)!==c[1].logs.maxDays&&pe(s,c[1].logs.maxDays)},d(c){c&&(v(e),v(l),v(s),v(r),v(a)),u=!1,f()}}}function XC(n){let e,t,i,l,s,o,r,a,u,f,c,d,m;return f=new lv({}),{c(){e=b("label"),t=B("Min log level"),l=C(),s=b("input"),o=C(),r=b("div"),a=b("p"),a.textContent="Logs with level below the minimum will be ignored.",u=C(),j(f.$$.fragment),p(e,"for",i=n[23]),p(s,"type","number"),s.required=!0,p(s,"min","-100"),p(s,"max","100"),p(r,"class","help-block")},m(h,_){y(h,e,_),w(e,t),y(h,l,_),y(h,s,_),pe(s,n[1].logs.minLevel),y(h,o,_),y(h,r,_),w(r,a),w(r,u),q(f,r,null),c=!0,d||(m=W(s,"input",n[12]),d=!0)},p(h,_){(!c||_&8388608&&i!==(i=h[23]))&&p(e,"for",i),_&2&&gt(s.value)!==h[1].logs.minLevel&&pe(s,h[1].logs.minLevel)},i(h){c||(E(f.$$.fragment,h),c=!0)},o(h){D(f.$$.fragment,h),c=!1},d(h){h&&(v(e),v(l),v(s),v(o),v(r)),H(f),d=!1,m()}}}function QC(n){let e,t,i,l,s,o,r,a;return{c(){e=b("input"),i=C(),l=b("label"),s=B("Enable IP logging"),p(e,"type","checkbox"),p(e,"id",t=n[23]),p(l,"for",o=n[23])},m(u,f){y(u,e,f),e.checked=n[1].logs.logIP,y(u,i,f),y(u,l,f),w(l,s),r||(a=W(e,"change",n[13]),r=!0)},p(u,f){f&8388608&&t!==(t=u[23])&&p(e,"id",t),f&2&&(e.checked=u[1].logs.logIP),f&8388608&&o!==(o=u[23])&&p(l,"for",o)},d(u){u&&(v(e),v(i),v(l)),r=!1,a()}}}function xC(n){let e,t,i,l,s,o,r,a;return{c(){e=b("input"),i=C(),l=b("label"),s=B("Enable Auth Id logging"),p(e,"type","checkbox"),p(e,"id",t=n[23]),p(l,"for",o=n[23])},m(u,f){y(u,e,f),e.checked=n[1].logs.logAuthId,y(u,i,f),y(u,l,f),w(l,s),r||(a=W(e,"change",n[14]),r=!0)},p(u,f){f&8388608&&t!==(t=u[23])&&p(e,"id",t),f&2&&(e.checked=u[1].logs.logAuthId),f&8388608&&o!==(o=u[23])&&p(l,"for",o)},d(u){u&&(v(e),v(i),v(l)),r=!1,a()}}}function e5(n){let e,t,i,l;const s=[ZC,JC],o=[];function r(a,u){return a[4]?0:1}return e=r(n),t=o[e]=s[e](n),{c(){t.c(),i=ye()},m(a,u){o[e].m(a,u),y(a,i,u),l=!0},p(a,u){let f=e;e=r(a),e===f?o[e].p(a,u):(ae(),D(o[f],1,1,()=>{o[f]=null}),ue(),t=o[e],t?t.p(a,u):(t=o[e]=s[e](a),t.c()),E(t,1),t.m(i.parentNode,i))},i(a){l||(E(t),l=!0)},o(a){D(t),l=!1},d(a){a&&v(i),o[e].d(a)}}}function t5(n){let e;return{c(){e=b("h4"),e.textContent="Logs settings"},m(t,i){y(t,e,i)},p:te,d(t){t&&v(e)}}}function n5(n){let e,t,i,l,s,o,r,a;return{c(){e=b("button"),t=b("span"),t.textContent="Cancel",i=C(),l=b("button"),s=b("span"),s.textContent="Save changes",p(t,"class","txt"),p(e,"type","button"),p(e,"class","btn btn-transparent"),e.disabled=n[3],p(s,"class","txt"),p(l,"type","submit"),p(l,"form",n[6]),p(l,"class","btn btn-expanded"),l.disabled=o=!n[5]||n[3],ee(l,"btn-loading",n[3])},m(u,f){y(u,e,f),w(e,t),y(u,i,f),y(u,l,f),w(l,s),r||(a=W(e,"click",n[0]),r=!0)},p(u,f){f&8&&(e.disabled=u[3]),f&40&&o!==(o=!u[5]||u[3])&&(l.disabled=o),f&8&&ee(l,"btn-loading",u[3])},d(u){u&&(v(e),v(i),v(l)),r=!1,a()}}}function i5(n){let e,t,i={popup:!0,class:"superuser-panel",beforeHide:n[15],$$slots:{footer:[n5],header:[t5],default:[e5]},$$scope:{ctx:n}};return e=new Xt({props:i}),n[16](e),e.$on("hide",n[17]),e.$on("show",n[18]),{c(){j(e.$$.fragment)},m(l,s){q(e,l,s),t=!0},p(l,[s]){const o={};s&8&&(o.beforeHide=l[15]),s&16777274&&(o.$$scope={dirty:s,ctx:l}),e.$set(o)},i(l){t||(E(e.$$.fragment,l),t=!0)},o(l){D(e.$$.fragment,l),t=!1},d(l){n[16](null),H(e,l)}}}function l5(n,e,t){let i,l;const s=kt(),o="logs_settings_"+V.randomString(3);let r,a=!1,u=!1,f={},c={};function d(){return h(),_(),r==null?void 0:r.show()}function m(){return r==null?void 0:r.hide()}function h(){zt(),t(9,f={}),t(1,c=JSON.parse(JSON.stringify(f||{})))}async function _(){t(4,u=!0);try{const P=await he.settings.getAll()||{};k(P)}catch(P){he.error(P)}t(4,u=!1)}async function g(){if(l){t(3,a=!0);try{const P=await he.settings.update(V.filterRedactedProps(c));k(P),t(3,a=!1),m(),tn("Successfully saved logs settings."),s("save",P)}catch(P){t(3,a=!1),he.error(P)}}}function k(P={}){t(1,c={logs:(P==null?void 0:P.logs)||{}}),t(9,f=JSON.parse(JSON.stringify(c)))}function S(){c.logs.maxDays=gt(this.value),t(1,c)}function $(){c.logs.minLevel=gt(this.value),t(1,c)}function T(){c.logs.logIP=this.checked,t(1,c)}function O(){c.logs.logAuthId=this.checked,t(1,c)}const M=()=>!a;function L(P){ie[P?"unshift":"push"](()=>{r=P,t(2,r)})}function I(P){Ne.call(this,n,P)}function A(P){Ne.call(this,n,P)}return n.$$.update=()=>{n.$$.dirty&512&&t(10,i=JSON.stringify(f)),n.$$.dirty&1026&&t(5,l=i!=JSON.stringify(c))},[m,c,r,a,u,l,o,g,d,f,i,S,$,T,O,M,L,I,A]}class s5 extends Se{constructor(e){super(),we(this,e,l5,i5,be,{show:8,hide:0})}get show(){return this.$$.ctx[8]}get hide(){return this.$$.ctx[0]}}function o5(n){let e,t,i,l,s,o,r,a;return{c(){e=b("input"),i=C(),l=b("label"),s=B("Include requests by superusers"),p(e,"type","checkbox"),p(e,"id",t=n[25]),p(l,"for",o=n[25])},m(u,f){y(u,e,f),e.checked=n[2],y(u,i,f),y(u,l,f),w(l,s),r||(a=W(e,"change",n[12]),r=!0)},p(u,f){f&33554432&&t!==(t=u[25])&&p(e,"id",t),f&4&&(e.checked=u[2]),f&33554432&&o!==(o=u[25])&&p(l,"for",o)},d(u){u&&(v(e),v(i),v(l)),r=!1,a()}}}function ap(n){let e,t,i;function l(o){n[14](o)}let s={filter:n[1],presets:n[6]};return n[5]!==void 0&&(s.zoom=n[5]),e=new TC({props:s}),ie.push(()=>ge(e,"zoom",l)),{c(){j(e.$$.fragment)},m(o,r){q(e,o,r),i=!0},p(o,r){const a={};r&2&&(a.filter=o[1]),r&64&&(a.presets=o[6]),!t&&r&32&&(t=!0,a.zoom=o[5],Te(()=>t=!1)),e.$set(a)},i(o){i||(E(e.$$.fragment,o),i=!0)},o(o){D(e.$$.fragment,o),i=!1},d(o){H(e,o)}}}function up(n){let e,t,i,l;function s(a){n[15](a)}function o(a){n[16](a)}let r={presets:n[6]};return n[1]!==void 0&&(r.filter=n[1]),n[5]!==void 0&&(r.zoom=n[5]),e=new D3({props:r}),ie.push(()=>ge(e,"filter",s)),ie.push(()=>ge(e,"zoom",o)),e.$on("select",n[17]),{c(){j(e.$$.fragment)},m(a,u){q(e,a,u),l=!0},p(a,u){const f={};u&64&&(f.presets=a[6]),!t&&u&2&&(t=!0,f.filter=a[1],Te(()=>t=!1)),!i&&u&32&&(i=!0,f.zoom=a[5],Te(()=>i=!1)),e.$set(f)},i(a){l||(E(e.$$.fragment,a),l=!0)},o(a){D(e.$$.fragment,a),l=!1},d(a){H(e,a)}}}function r5(n){let e,t,i,l,s,o,r,a,u,f,c,d,m,h,_,g,k,S,$,T=n[4],O,M=n[4],L,I,A,P;u=new Lu({}),u.$on("refresh",n[11]),h=new fe({props:{class:"form-field form-field-toggle m-0",$$slots:{default:[o5,({uniqueId:z})=>({25:z}),({uniqueId:z})=>z?33554432:0]},$$scope:{ctx:n}}}),g=new Hr({props:{value:n[1],placeholder:"Search term or filter like `level > 0 && data.auth = 'guest'`",extraAutocompleteKeys:["level","message","data."]}}),g.$on("submit",n[13]),S=new lv({props:{class:"block txt-sm txt-hint m-t-xs m-b-base"}});let N=ap(n),R=up(n);return{c(){e=b("div"),t=b("header"),i=b("nav"),l=b("div"),s=B(n[7]),o=C(),r=b("button"),r.innerHTML='<i class="ri-settings-4-line"></i>',a=C(),j(u.$$.fragment),f=C(),c=b("div"),d=C(),m=b("div"),j(h.$$.fragment),_=C(),j(g.$$.fragment),k=C(),j(S.$$.fragment),$=C(),N.c(),O=C(),R.c(),L=ye(),p(l,"class","breadcrumb-item"),p(i,"class","breadcrumbs"),p(r,"type","button"),p(r,"aria-label","Logs settings"),p(r,"class","btn btn-transparent btn-circle"),p(c,"class","flex-fill"),p(m,"class","inline-flex"),p(t,"class","page-header"),p(e,"class","page-header-wrapper m-b-0")},m(z,F){y(z,e,F),w(e,t),w(t,i),w(i,l),w(l,s),w(t,o),w(t,r),w(t,a),q(u,t,null),w(t,f),w(t,c),w(t,d),w(t,m),q(h,m,null),w(e,_),q(g,e,null),w(e,k),q(S,e,null),w(e,$),N.m(e,null),y(z,O,F),R.m(z,F),y(z,L,F),I=!0,A||(P=[Ee(He.call(null,r,{text:"Logs settings",position:"right"})),W(r,"click",n[10])],A=!0)},p(z,F){(!I||F&128)&&re(s,z[7]);const U={};F&100663300&&(U.$$scope={dirty:F,ctx:z}),h.$set(U);const J={};F&2&&(J.value=z[1]),g.$set(J),F&16&&be(T,T=z[4])?(ae(),D(N,1,1,te),ue(),N=ap(z),N.c(),E(N,1),N.m(e,null)):N.p(z,F),F&16&&be(M,M=z[4])?(ae(),D(R,1,1,te),ue(),R=up(z),R.c(),E(R,1),R.m(L.parentNode,L)):R.p(z,F)},i(z){I||(E(u.$$.fragment,z),E(h.$$.fragment,z),E(g.$$.fragment,z),E(S.$$.fragment,z),E(N),E(R),I=!0)},o(z){D(u.$$.fragment,z),D(h.$$.fragment,z),D(g.$$.fragment,z),D(S.$$.fragment,z),D(N),D(R),I=!1},d(z){z&&(v(e),v(O),v(L)),H(u),H(h),H(g),H(S),N.d(z),R.d(z),A=!1,Ie(P)}}}function a5(n){let e,t,i,l,s,o;e=new pi({props:{$$slots:{default:[r5]},$$scope:{ctx:n}}});let r={};i=new VC({props:r}),n[18](i),i.$on("show",n[19]),i.$on("hide",n[20]);let a={};return s=new s5({props:a}),n[21](s),s.$on("save",n[8]),{c(){j(e.$$.fragment),t=C(),j(i.$$.fragment),l=C(),j(s.$$.fragment)},m(u,f){q(e,u,f),y(u,t,f),q(i,u,f),y(u,l,f),q(s,u,f),o=!0},p(u,[f]){const c={};f&67109119&&(c.$$scope={dirty:f,ctx:u}),e.$set(c);const d={};i.$set(d);const m={};s.$set(m)},i(u){o||(E(e.$$.fragment,u),E(i.$$.fragment,u),E(s.$$.fragment,u),o=!0)},o(u){D(e.$$.fragment,u),D(i.$$.fragment,u),D(s.$$.fragment,u),o=!1},d(u){u&&(v(t),v(l)),H(e,u),n[18](null),H(i,u),n[21](null),H(s,u)}}}const Yo="logId",fp="superuserRequests",cp="superuserLogRequests";function u5(n,e,t){var R;let i,l,s;Qe(n,Iu,z=>t(22,l=z)),Qe(n,an,z=>t(7,s=z)),Nn(an,s="Logs",s);const o=new URLSearchParams(l);let r,a,u=1,f=o.get("filter")||"",c={},d=(o.get(fp)||((R=window.localStorage)==null?void 0:R.getItem(cp)))<<0,m=d;function h(){t(4,u++,u)}function _(z={}){let F={};F.filter=f||null,F[fp]=d<<0||null,V.replaceHashQueryParams(Object.assign(F,z))}const g=()=>a==null?void 0:a.show(),k=()=>h();function S(){d=this.checked,t(2,d)}const $=z=>t(1,f=z.detail);function T(z){c=z,t(5,c)}function O(z){f=z,t(1,f)}function M(z){c=z,t(5,c)}const L=z=>r==null?void 0:r.show(z==null?void 0:z.detail);function I(z){ie[z?"unshift":"push"](()=>{r=z,t(0,r)})}const A=z=>{var U;let F={};F[Yo]=((U=z.detail)==null?void 0:U.id)||null,V.replaceHashQueryParams(F)},P=()=>{let z={};z[Yo]=null,V.replaceHashQueryParams(z)};function N(z){ie[z?"unshift":"push"](()=>{a=z,t(3,a)})}return n.$$.update=()=>{var z;n.$$.dirty&1&&o.get(Yo)&&r&&r.show(o.get(Yo)),n.$$.dirty&4&&t(6,i=d?"":'data.auth!="_superusers"'),n.$$.dirty&516&&m!=d&&(t(9,m=d),(z=window.localStorage)==null||z.setItem(cp,d<<0),_()),n.$$.dirty&2&&typeof f<"u"&&_()},[r,f,d,a,u,c,i,s,h,m,g,k,S,$,T,O,M,L,I,A,P,N]}class f5 extends Se{constructor(e){super(),we(this,e,u5,a5,be,{})}}function dp(n,e,t){const i=n.slice();return i[14]=e[t][0],i[15]=e[t][1],i}function pp(n){n[18]=n[19].default}function mp(n,e,t){const i=n.slice();return i[14]=e[t][0],i[15]=e[t][1],i[21]=t,i}function hp(n){let e;return{c(){e=b("hr"),p(e,"class","m-t-sm m-b-sm")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function c5(n){let e,t=n[15].label+"",i,l,s,o;function r(){return n[9](n[14])}return{c(){e=b("button"),i=B(t),l=C(),p(e,"type","button"),p(e,"class","sidebar-item"),ee(e,"active",n[5]===n[14])},m(a,u){y(a,e,u),w(e,i),w(e,l),s||(o=W(e,"click",r),s=!0)},p(a,u){n=a,u&8&&t!==(t=n[15].label+"")&&re(i,t),u&40&&ee(e,"active",n[5]===n[14])},d(a){a&&v(e),s=!1,o()}}}function d5(n){let e,t=n[15].label+"",i,l,s,o;return{c(){e=b("div"),i=B(t),l=C(),p(e,"class","sidebar-item disabled")},m(r,a){y(r,e,a),w(e,i),w(e,l),s||(o=Ee(He.call(null,e,{position:"left",text:"Not enabled for the collection"})),s=!0)},p(r,a){a&8&&t!==(t=r[15].label+"")&&re(i,t)},d(r){r&&v(e),s=!1,o()}}}function _p(n,e){let t,i=e[21]===Object.keys(e[6]).length,l,s,o=i&&hp();function r(f,c){return f[15].disabled?d5:c5}let a=r(e),u=a(e);return{key:n,first:null,c(){t=ye(),o&&o.c(),l=C(),u.c(),s=ye(),this.first=t},m(f,c){y(f,t,c),o&&o.m(f,c),y(f,l,c),u.m(f,c),y(f,s,c)},p(f,c){e=f,c&8&&(i=e[21]===Object.keys(e[6]).length),i?o||(o=hp(),o.c(),o.m(l.parentNode,l)):o&&(o.d(1),o=null),a===(a=r(e))&&u?u.p(e,c):(u.d(1),u=a(e),u&&(u.c(),u.m(s.parentNode,s)))},d(f){f&&(v(t),v(l),v(s)),o&&o.d(f),u.d(f)}}}function gp(n){let e,t,i,l={ctx:n,current:null,token:null,hasCatch:!1,pending:h5,then:m5,catch:p5,value:19,blocks:[,,,]};return pf(t=n[15].component,l),{c(){e=ye(),l.block.c()},m(s,o){y(s,e,o),l.block.m(s,l.anchor=o),l.mount=()=>e.parentNode,l.anchor=e,i=!0},p(s,o){n=s,l.ctx=n,o&8&&t!==(t=n[15].component)&&pf(t,l)||Rv(l,n,o)},i(s){i||(E(l.block),i=!0)},o(s){for(let o=0;o<3;o+=1){const r=l.blocks[o];D(r)}i=!1},d(s){s&&v(e),l.block.d(s),l.token=null,l=null}}}function p5(n){return{c:te,m:te,p:te,i:te,o:te,d:te}}function m5(n){pp(n);let e,t,i;return e=new n[18]({props:{collection:n[2]}}),{c(){j(e.$$.fragment),t=C()},m(l,s){q(e,l,s),y(l,t,s),i=!0},p(l,s){pp(l);const o={};s&4&&(o.collection=l[2]),e.$set(o)},i(l){i||(E(e.$$.fragment,l),i=!0)},o(l){D(e.$$.fragment,l),i=!1},d(l){l&&v(t),H(e,l)}}}function h5(n){return{c:te,m:te,p:te,i:te,o:te,d:te}}function bp(n,e){let t,i,l,s=e[5]===e[14]&&gp(e);return{key:n,first:null,c(){t=ye(),s&&s.c(),i=ye(),this.first=t},m(o,r){y(o,t,r),s&&s.m(o,r),y(o,i,r),l=!0},p(o,r){e=o,e[5]===e[14]?s?(s.p(e,r),r&40&&E(s,1)):(s=gp(e),s.c(),E(s,1),s.m(i.parentNode,i)):s&&(ae(),D(s,1,1,()=>{s=null}),ue())},i(o){l||(E(s),l=!0)},o(o){D(s),l=!1},d(o){o&&(v(t),v(i)),s&&s.d(o)}}}function _5(n){let e,t,i,l=[],s=new Map,o,r,a=[],u=new Map,f,c=ce(Object.entries(n[3]));const d=_=>_[14];for(let _=0;_<c.length;_+=1){let g=mp(n,c,_),k=d(g);s.set(k,l[_]=_p(k,g))}let m=ce(Object.entries(n[3]));const h=_=>_[14];for(let _=0;_<m.length;_+=1){let g=dp(n,m,_),k=h(g);u.set(k,a[_]=bp(k,g))}return{c(){var _;e=b("div"),t=b("aside"),i=b("nav");for(let g=0;g<l.length;g+=1)l[g].c();o=C(),r=b("div");for(let g=0;g<a.length;g+=1)a[g].c();p(i,"class","sidebar-content"),p(t,"class","docs-sidebar"),ee(t,"compact",((_=n[2])==null?void 0:_.type)==="auth"),p(r,"class","docs-content"),p(e,"class","docs-content-wrapper")},m(_,g){y(_,e,g),w(e,t),w(t,i);for(let k=0;k<l.length;k+=1)l[k]&&l[k].m(i,null);w(e,o),w(e,r);for(let k=0;k<a.length;k+=1)a[k]&&a[k].m(r,null);f=!0},p(_,g){var k;g&106&&(c=ce(Object.entries(_[3])),l=yt(l,g,d,1,_,c,s,i,di,_p,null,mp)),(!f||g&4)&&ee(t,"compact",((k=_[2])==null?void 0:k.type)==="auth"),g&44&&(m=ce(Object.entries(_[3])),ae(),a=yt(a,g,h,1,_,m,u,r,Ut,bp,null,dp),ue())},i(_){if(!f){for(let g=0;g<m.length;g+=1)E(a[g]);f=!0}},o(_){for(let g=0;g<a.length;g+=1)D(a[g]);f=!1},d(_){_&&v(e);for(let g=0;g<l.length;g+=1)l[g].d();for(let g=0;g<a.length;g+=1)a[g].d()}}}function g5(n){let e,t,i;return{c(){e=b("button"),e.innerHTML='<span class="txt">Close</span>',p(e,"type","button"),p(e,"class","btn btn-transparent")},m(l,s){y(l,e,s),t||(i=W(e,"click",n[8]),t=!0)},p:te,d(l){l&&v(e),t=!1,i()}}}function b5(n){let e,t,i={class:"docs-panel",$$slots:{footer:[g5],default:[_5]},$$scope:{ctx:n}};return e=new Xt({props:i}),n[10](e),e.$on("hide",n[11]),e.$on("show",n[12]),{c(){j(e.$$.fragment)},m(l,s){q(e,l,s),t=!0},p(l,[s]){const o={};s&4194348&&(o.$$scope={dirty:s,ctx:l}),e.$set(o)},i(l){t||(E(e.$$.fragment,l),t=!0)},o(l){D(e.$$.fragment,l),t=!1},d(l){n[10](null),H(e,l)}}}function k5(n,e,t){const i={list:{label:"List/Search",component:Tt(()=>import("./ListApiDocs-BH_qyQ5z.js"),__vite__mapDeps([2,3,4]),import.meta.url)},view:{label:"View",component:Tt(()=>import("./ViewApiDocs-JvrGaFd5.js"),__vite__mapDeps([5,3]),import.meta.url)},create:{label:"Create",component:Tt(()=>import("./CreateApiDocs-u5lIk15j.js"),__vite__mapDeps([6,3]),import.meta.url)},update:{label:"Update",component:Tt(()=>import("./UpdateApiDocs-D3y-hEtB.js"),__vite__mapDeps([7,3]),import.meta.url)},delete:{label:"Delete",component:Tt(()=>import("./DeleteApiDocs-Uf91x0my.js"),[],import.meta.url)},realtime:{label:"Realtime",component:Tt(()=>import("./RealtimeApiDocs-HOtV_Wbp.js"),[],import.meta.url)},batch:{label:"Batch",component:Tt(()=>import("./BatchApiDocs-G5ztetl9.js"),[],import.meta.url)}},l={"list-auth-methods":{label:"List auth methods",component:Tt(()=>import("./AuthMethodsDocs-Cn0B_ruX.js"),__vite__mapDeps([8,3]),import.meta.url)},"auth-with-password":{label:"Auth with password",component:Tt(()=>import("./AuthWithPasswordDocs-5C0JxuRq.js"),__vite__mapDeps([9,3]),import.meta.url)},"auth-with-oauth2":{label:"Auth with OAuth2",component:Tt(()=>import("./AuthWithOAuth2Docs-B7iU4TDa.js"),__vite__mapDeps([10,3]),import.meta.url)},"auth-with-otp":{label:"Auth with OTP",component:Tt(()=>import("./AuthWithOtpDocs-CEuo1H1T.js"),[],import.meta.url)},refresh:{label:"Auth refresh",component:Tt(()=>import("./AuthRefreshDocs-CGZs_aOo.js"),__vite__mapDeps([11,3]),import.meta.url)},verification:{label:"Verification",component:Tt(()=>import("./VerificationDocs-B-KHAwvH.js"),[],import.meta.url)},"password-reset":{label:"Password reset",component:Tt(()=>import("./PasswordResetDocs-B3RYZO70.js"),[],import.meta.url)},"email-change":{label:"Email change",component:Tt(()=>import("./EmailChangeDocs-COczUtit.js"),[],import.meta.url)}};let s,o={},r,a=[];a.length&&(r=Object.keys(a)[0]);function u(k){return t(2,o=k),c(Object.keys(a)[0]),s==null?void 0:s.show()}function f(){return s==null?void 0:s.hide()}function c(k){t(5,r=k)}const d=()=>f(),m=k=>c(k);function h(k){ie[k?"unshift":"push"](()=>{s=k,t(4,s)})}function _(k){Ne.call(this,n,k)}function g(k){Ne.call(this,n,k)}return n.$$.update=()=>{n.$$.dirty&12&&(o.type==="auth"?(t(3,a=Object.assign({},i,l)),t(3,a["auth-with-password"].disabled=!o.passwordAuth.enabled,a),t(3,a["auth-with-oauth2"].disabled=!o.oauth2.enabled,a),t(3,a["auth-with-otp"].disabled=!o.otp.enabled,a)):o.type==="view"?(t(3,a=Object.assign({},i)),delete a.create,delete a.update,delete a.delete,delete a.realtime):t(3,a=Object.assign({},i)))},[f,c,o,a,s,r,i,u,d,m,h,_,g]}class v5 extends Se{constructor(e){super(),we(this,e,k5,b5,be,{show:7,hide:0,changeTab:1})}get show(){return this.$$.ctx[7]}get hide(){return this.$$.ctx[0]}get changeTab(){return this.$$.ctx[1]}}const y5=n=>({active:n&1}),kp=n=>({active:n[0]});function vp(n){let e,t,i;const l=n[15].default,s=Lt(l,n,n[14],null);return{c(){e=b("div"),s&&s.c(),p(e,"class","accordion-content")},m(o,r){y(o,e,r),s&&s.m(e,null),i=!0},p(o,r){s&&s.p&&(!i||r&16384)&&Pt(s,l,o,o[14],i?At(l,o[14],r,null):Nt(o[14]),null)},i(o){i||(E(s,o),o&&et(()=>{i&&(t||(t=je(e,mt,{delay:10,duration:150},!0)),t.run(1))}),i=!0)},o(o){D(s,o),o&&(t||(t=je(e,mt,{delay:10,duration:150},!1)),t.run(0)),i=!1},d(o){o&&v(e),s&&s.d(o),o&&t&&t.end()}}}function w5(n){let e,t,i,l,s,o,r;const a=n[15].header,u=Lt(a,n,n[14],kp);let f=n[0]&&vp(n);return{c(){e=b("div"),t=b("button"),u&&u.c(),i=C(),f&&f.c(),p(t,"type","button"),p(t,"class","accordion-header"),p(t,"draggable",n[2]),p(t,"aria-expanded",n[0]),ee(t,"interactive",n[3]),p(e,"class",l="accordion "+(n[7]?"drag-over":"")+" "+n[1]),ee(e,"active",n[0])},m(c,d){y(c,e,d),w(e,t),u&&u.m(t,null),w(e,i),f&&f.m(e,null),n[22](e),s=!0,o||(r=[W(t,"click",tt(n[17])),W(t,"drop",tt(n[18])),W(t,"dragstart",n[19]),W(t,"dragenter",n[20]),W(t,"dragleave",n[21]),W(t,"dragover",tt(n[16]))],o=!0)},p(c,[d]){u&&u.p&&(!s||d&16385)&&Pt(u,a,c,c[14],s?At(a,c[14],d,y5):Nt(c[14]),kp),(!s||d&4)&&p(t,"draggable",c[2]),(!s||d&1)&&p(t,"aria-expanded",c[0]),(!s||d&8)&&ee(t,"interactive",c[3]),c[0]?f?(f.p(c,d),d&1&&E(f,1)):(f=vp(c),f.c(),E(f,1),f.m(e,null)):f&&(ae(),D(f,1,1,()=>{f=null}),ue()),(!s||d&130&&l!==(l="accordion "+(c[7]?"drag-over":"")+" "+c[1]))&&p(e,"class",l),(!s||d&131)&&ee(e,"active",c[0])},i(c){s||(E(u,c),E(f),s=!0)},o(c){D(u,c),D(f),s=!1},d(c){c&&v(e),u&&u.d(c),f&&f.d(),n[22](null),o=!1,Ie(r)}}}function S5(n,e,t){let{$$slots:i={},$$scope:l}=e;const s=kt();let o,r,{class:a=""}=e,{draggable:u=!1}=e,{active:f=!1}=e,{interactive:c=!0}=e,{single:d=!1}=e,m=!1;function h(){return!!f}function _(){S(),t(0,f=!0),s("expand")}function g(){t(0,f=!1),clearTimeout(r),s("collapse")}function k(){s("toggle"),f?g():_()}function S(){if(d&&o.closest(".accordions")){const P=o.closest(".accordions").querySelectorAll(".accordion.active .accordion-header.interactive");for(const N of P)N.click()}}Gt(()=>()=>clearTimeout(r));function $(P){Ne.call(this,n,P)}const T=()=>c&&k(),O=P=>{u&&(t(7,m=!1),S(),s("drop",P))},M=P=>u&&s("dragstart",P),L=P=>{u&&(t(7,m=!0),s("dragenter",P))},I=P=>{u&&(t(7,m=!1),s("dragleave",P))};function A(P){ie[P?"unshift":"push"](()=>{o=P,t(6,o)})}return n.$$set=P=>{"class"in P&&t(1,a=P.class),"draggable"in P&&t(2,u=P.draggable),"active"in P&&t(0,f=P.active),"interactive"in P&&t(3,c=P.interactive),"single"in P&&t(9,d=P.single),"$$scope"in P&&t(14,l=P.$$scope)},n.$$.update=()=>{n.$$.dirty&8257&&f&&(clearTimeout(r),t(13,r=setTimeout(()=>{o!=null&&o.scrollIntoViewIfNeeded?o.scrollIntoViewIfNeeded():o!=null&&o.scrollIntoView&&o.scrollIntoView({behavior:"smooth",block:"nearest"})},200)))},[f,a,u,c,k,S,o,m,s,d,h,_,g,r,l,i,$,T,O,M,L,I,A]}class Hi extends Se{constructor(e){super(),we(this,e,S5,w5,be,{class:1,draggable:2,active:0,interactive:3,single:9,isExpanded:10,expand:11,collapse:12,toggle:4,collapseSiblings:5})}get isExpanded(){return this.$$.ctx[10]}get expand(){return this.$$.ctx[11]}get collapse(){return this.$$.ctx[12]}get toggle(){return this.$$.ctx[4]}get collapseSiblings(){return this.$$.ctx[5]}}function yp(n,e,t){const i=n.slice();return i[25]=e[t],i}function wp(n,e,t){const i=n.slice();return i[25]=e[t],i}function Sp(n){let e,t,i=ce(n[3]),l=[];for(let s=0;s<i.length;s+=1)l[s]=Tp(wp(n,i,s));return{c(){e=b("div"),t=B(`Available placeholder parameters:
+    `),i=b("div");for(let o=0;o<s.length;o+=1)s[o].c();p(i,"class","inline-flex flex-gap-5"),p(e,"class",n[0])},m(o,r){y(o,e,r),w(e,t),w(e,i);for(let a=0;a<s.length;a+=1)s[a]&&s[a].m(i,null)},p(o,[r]){r&1&&p(e,"class",o[0])},i:te,o:te,d(o){o&&v(e),dt(s,o)}}}function KC(n,e,t){let{class:i=""}=e;return n.$$set=l=>{"class"in l&&t(0,i=l.class)},[i]}class lv extends Se{constructor(e){super(),we(this,e,KC,YC,be,{class:0})}}function JC(n){let e,t,i,l,s,o,r,a,u,f,c;return t=new fe({props:{class:"form-field required",name:"logs.maxDays",$$slots:{default:[GC,({uniqueId:d})=>({23:d}),({uniqueId:d})=>d?8388608:0]},$$scope:{ctx:n}}}),l=new fe({props:{class:"form-field",name:"logs.minLevel",$$slots:{default:[XC,({uniqueId:d})=>({23:d}),({uniqueId:d})=>d?8388608:0]},$$scope:{ctx:n}}}),o=new fe({props:{class:"form-field form-field-toggle",name:"logs.logIP",$$slots:{default:[QC,({uniqueId:d})=>({23:d}),({uniqueId:d})=>d?8388608:0]},$$scope:{ctx:n}}}),a=new fe({props:{class:"form-field form-field-toggle",name:"logs.logAuthId",$$slots:{default:[xC,({uniqueId:d})=>({23:d}),({uniqueId:d})=>d?8388608:0]},$$scope:{ctx:n}}}),{c(){e=b("form"),j(t.$$.fragment),i=C(),j(l.$$.fragment),s=C(),j(o.$$.fragment),r=C(),j(a.$$.fragment),p(e,"id",n[6]),p(e,"class","grid"),p(e,"autocomplete","off")},m(d,m){y(d,e,m),q(t,e,null),w(e,i),q(l,e,null),w(e,s),q(o,e,null),w(e,r),q(a,e,null),u=!0,f||(c=W(e,"submit",tt(n[7])),f=!0)},p(d,m){const h={};m&25165826&&(h.$$scope={dirty:m,ctx:d}),t.$set(h);const _={};m&25165826&&(_.$$scope={dirty:m,ctx:d}),l.$set(_);const g={};m&25165826&&(g.$$scope={dirty:m,ctx:d}),o.$set(g);const k={};m&25165826&&(k.$$scope={dirty:m,ctx:d}),a.$set(k)},i(d){u||(E(t.$$.fragment,d),E(l.$$.fragment,d),E(o.$$.fragment,d),E(a.$$.fragment,d),u=!0)},o(d){D(t.$$.fragment,d),D(l.$$.fragment,d),D(o.$$.fragment,d),D(a.$$.fragment,d),u=!1},d(d){d&&v(e),H(t),H(l),H(o),H(a),f=!1,c()}}}function ZC(n){let e;return{c(){e=b("div"),e.innerHTML='<div class="loader"></div>',p(e,"class","block txt-center")},m(t,i){y(t,e,i)},p:te,i:te,o:te,d(t){t&&v(e)}}}function GC(n){let e,t,i,l,s,o,r,a,u,f;return{c(){e=b("label"),t=B("Max days retention"),l=C(),s=b("input"),r=C(),a=b("div"),a.innerHTML="Set to <code>0</code> to disable logs persistence.",p(e,"for",i=n[23]),p(s,"type","number"),p(s,"id",o=n[23]),s.required=!0,p(a,"class","help-block")},m(c,d){y(c,e,d),w(e,t),y(c,l,d),y(c,s,d),pe(s,n[1].logs.maxDays),y(c,r,d),y(c,a,d),u||(f=W(s,"input",n[11]),u=!0)},p(c,d){d&8388608&&i!==(i=c[23])&&p(e,"for",i),d&8388608&&o!==(o=c[23])&&p(s,"id",o),d&2&&gt(s.value)!==c[1].logs.maxDays&&pe(s,c[1].logs.maxDays)},d(c){c&&(v(e),v(l),v(s),v(r),v(a)),u=!1,f()}}}function XC(n){let e,t,i,l,s,o,r,a,u,f,c,d,m;return f=new lv({}),{c(){e=b("label"),t=B("Min log level"),l=C(),s=b("input"),o=C(),r=b("div"),a=b("p"),a.textContent="Logs with level below the minimum will be ignored.",u=C(),j(f.$$.fragment),p(e,"for",i=n[23]),p(s,"type","number"),s.required=!0,p(s,"min","-100"),p(s,"max","100"),p(r,"class","help-block")},m(h,_){y(h,e,_),w(e,t),y(h,l,_),y(h,s,_),pe(s,n[1].logs.minLevel),y(h,o,_),y(h,r,_),w(r,a),w(r,u),q(f,r,null),c=!0,d||(m=W(s,"input",n[12]),d=!0)},p(h,_){(!c||_&8388608&&i!==(i=h[23]))&&p(e,"for",i),_&2&&gt(s.value)!==h[1].logs.minLevel&&pe(s,h[1].logs.minLevel)},i(h){c||(E(f.$$.fragment,h),c=!0)},o(h){D(f.$$.fragment,h),c=!1},d(h){h&&(v(e),v(l),v(s),v(o),v(r)),H(f),d=!1,m()}}}function QC(n){let e,t,i,l,s,o,r,a;return{c(){e=b("input"),i=C(),l=b("label"),s=B("Enable IP logging"),p(e,"type","checkbox"),p(e,"id",t=n[23]),p(l,"for",o=n[23])},m(u,f){y(u,e,f),e.checked=n[1].logs.logIP,y(u,i,f),y(u,l,f),w(l,s),r||(a=W(e,"change",n[13]),r=!0)},p(u,f){f&8388608&&t!==(t=u[23])&&p(e,"id",t),f&2&&(e.checked=u[1].logs.logIP),f&8388608&&o!==(o=u[23])&&p(l,"for",o)},d(u){u&&(v(e),v(i),v(l)),r=!1,a()}}}function xC(n){let e,t,i,l,s,o,r,a;return{c(){e=b("input"),i=C(),l=b("label"),s=B("Enable Auth Id logging"),p(e,"type","checkbox"),p(e,"id",t=n[23]),p(l,"for",o=n[23])},m(u,f){y(u,e,f),e.checked=n[1].logs.logAuthId,y(u,i,f),y(u,l,f),w(l,s),r||(a=W(e,"change",n[14]),r=!0)},p(u,f){f&8388608&&t!==(t=u[23])&&p(e,"id",t),f&2&&(e.checked=u[1].logs.logAuthId),f&8388608&&o!==(o=u[23])&&p(l,"for",o)},d(u){u&&(v(e),v(i),v(l)),r=!1,a()}}}function e5(n){let e,t,i,l;const s=[ZC,JC],o=[];function r(a,u){return a[4]?0:1}return e=r(n),t=o[e]=s[e](n),{c(){t.c(),i=ye()},m(a,u){o[e].m(a,u),y(a,i,u),l=!0},p(a,u){let f=e;e=r(a),e===f?o[e].p(a,u):(ae(),D(o[f],1,1,()=>{o[f]=null}),ue(),t=o[e],t?t.p(a,u):(t=o[e]=s[e](a),t.c()),E(t,1),t.m(i.parentNode,i))},i(a){l||(E(t),l=!0)},o(a){D(t),l=!1},d(a){a&&v(i),o[e].d(a)}}}function t5(n){let e;return{c(){e=b("h4"),e.textContent="Logs settings"},m(t,i){y(t,e,i)},p:te,d(t){t&&v(e)}}}function n5(n){let e,t,i,l,s,o,r,a;return{c(){e=b("button"),t=b("span"),t.textContent="Cancel",i=C(),l=b("button"),s=b("span"),s.textContent="Save changes",p(t,"class","txt"),p(e,"type","button"),p(e,"class","btn btn-transparent"),e.disabled=n[3],p(s,"class","txt"),p(l,"type","submit"),p(l,"form",n[6]),p(l,"class","btn btn-expanded"),l.disabled=o=!n[5]||n[3],ee(l,"btn-loading",n[3])},m(u,f){y(u,e,f),w(e,t),y(u,i,f),y(u,l,f),w(l,s),r||(a=W(e,"click",n[0]),r=!0)},p(u,f){f&8&&(e.disabled=u[3]),f&40&&o!==(o=!u[5]||u[3])&&(l.disabled=o),f&8&&ee(l,"btn-loading",u[3])},d(u){u&&(v(e),v(i),v(l)),r=!1,a()}}}function i5(n){let e,t,i={popup:!0,class:"superuser-panel",beforeHide:n[15],$$slots:{footer:[n5],header:[t5],default:[e5]},$$scope:{ctx:n}};return e=new Xt({props:i}),n[16](e),e.$on("hide",n[17]),e.$on("show",n[18]),{c(){j(e.$$.fragment)},m(l,s){q(e,l,s),t=!0},p(l,[s]){const o={};s&8&&(o.beforeHide=l[15]),s&16777274&&(o.$$scope={dirty:s,ctx:l}),e.$set(o)},i(l){t||(E(e.$$.fragment,l),t=!0)},o(l){D(e.$$.fragment,l),t=!1},d(l){n[16](null),H(e,l)}}}function l5(n,e,t){let i,l;const s=kt(),o="logs_settings_"+V.randomString(3);let r,a=!1,u=!1,f={},c={};function d(){return h(),_(),r==null?void 0:r.show()}function m(){return r==null?void 0:r.hide()}function h(){zt(),t(9,f={}),t(1,c=JSON.parse(JSON.stringify(f||{})))}async function _(){t(4,u=!0);try{const P=await he.settings.getAll()||{};k(P)}catch(P){he.error(P)}t(4,u=!1)}async function g(){if(l){t(3,a=!0);try{const P=await he.settings.update(V.filterRedactedProps(c));k(P),t(3,a=!1),m(),tn("Successfully saved logs settings."),s("save",P)}catch(P){t(3,a=!1),he.error(P)}}}function k(P={}){t(1,c={logs:(P==null?void 0:P.logs)||{}}),t(9,f=JSON.parse(JSON.stringify(c)))}function S(){c.logs.maxDays=gt(this.value),t(1,c)}function $(){c.logs.minLevel=gt(this.value),t(1,c)}function T(){c.logs.logIP=this.checked,t(1,c)}function O(){c.logs.logAuthId=this.checked,t(1,c)}const M=()=>!a;function L(P){ie[P?"unshift":"push"](()=>{r=P,t(2,r)})}function I(P){Ne.call(this,n,P)}function A(P){Ne.call(this,n,P)}return n.$$.update=()=>{n.$$.dirty&512&&t(10,i=JSON.stringify(f)),n.$$.dirty&1026&&t(5,l=i!=JSON.stringify(c))},[m,c,r,a,u,l,o,g,d,f,i,S,$,T,O,M,L,I,A]}class s5 extends Se{constructor(e){super(),we(this,e,l5,i5,be,{show:8,hide:0})}get show(){return this.$$.ctx[8]}get hide(){return this.$$.ctx[0]}}function o5(n){let e,t,i,l,s,o,r,a;return{c(){e=b("input"),i=C(),l=b("label"),s=B("Include requests by superusers"),p(e,"type","checkbox"),p(e,"id",t=n[25]),p(l,"for",o=n[25])},m(u,f){y(u,e,f),e.checked=n[2],y(u,i,f),y(u,l,f),w(l,s),r||(a=W(e,"change",n[12]),r=!0)},p(u,f){f&33554432&&t!==(t=u[25])&&p(e,"id",t),f&4&&(e.checked=u[2]),f&33554432&&o!==(o=u[25])&&p(l,"for",o)},d(u){u&&(v(e),v(i),v(l)),r=!1,a()}}}function ap(n){let e,t,i;function l(o){n[14](o)}let s={filter:n[1],presets:n[6]};return n[5]!==void 0&&(s.zoom=n[5]),e=new TC({props:s}),ie.push(()=>ge(e,"zoom",l)),{c(){j(e.$$.fragment)},m(o,r){q(e,o,r),i=!0},p(o,r){const a={};r&2&&(a.filter=o[1]),r&64&&(a.presets=o[6]),!t&&r&32&&(t=!0,a.zoom=o[5],Te(()=>t=!1)),e.$set(a)},i(o){i||(E(e.$$.fragment,o),i=!0)},o(o){D(e.$$.fragment,o),i=!1},d(o){H(e,o)}}}function up(n){let e,t,i,l;function s(a){n[15](a)}function o(a){n[16](a)}let r={presets:n[6]};return n[1]!==void 0&&(r.filter=n[1]),n[5]!==void 0&&(r.zoom=n[5]),e=new D3({props:r}),ie.push(()=>ge(e,"filter",s)),ie.push(()=>ge(e,"zoom",o)),e.$on("select",n[17]),{c(){j(e.$$.fragment)},m(a,u){q(e,a,u),l=!0},p(a,u){const f={};u&64&&(f.presets=a[6]),!t&&u&2&&(t=!0,f.filter=a[1],Te(()=>t=!1)),!i&&u&32&&(i=!0,f.zoom=a[5],Te(()=>i=!1)),e.$set(f)},i(a){l||(E(e.$$.fragment,a),l=!0)},o(a){D(e.$$.fragment,a),l=!1},d(a){H(e,a)}}}function r5(n){let e,t,i,l,s,o,r,a,u,f,c,d,m,h,_,g,k,S,$,T=n[4],O,M=n[4],L,I,A,P;u=new Lu({}),u.$on("refresh",n[11]),h=new fe({props:{class:"form-field form-field-toggle m-0",$$slots:{default:[o5,({uniqueId:z})=>({25:z}),({uniqueId:z})=>z?33554432:0]},$$scope:{ctx:n}}}),g=new Hr({props:{value:n[1],placeholder:"Search term or filter like `level > 0 && data.auth = 'guest'`",extraAutocompleteKeys:["level","message","data."]}}),g.$on("submit",n[13]),S=new lv({props:{class:"block txt-sm txt-hint m-t-xs m-b-base"}});let N=ap(n),R=up(n);return{c(){e=b("div"),t=b("header"),i=b("nav"),l=b("div"),s=B(n[7]),o=C(),r=b("button"),r.innerHTML='<i class="ri-settings-4-line"></i>',a=C(),j(u.$$.fragment),f=C(),c=b("div"),d=C(),m=b("div"),j(h.$$.fragment),_=C(),j(g.$$.fragment),k=C(),j(S.$$.fragment),$=C(),N.c(),O=C(),R.c(),L=ye(),p(l,"class","breadcrumb-item"),p(i,"class","breadcrumbs"),p(r,"type","button"),p(r,"aria-label","Logs settings"),p(r,"class","btn btn-transparent btn-circle"),p(c,"class","flex-fill"),p(m,"class","inline-flex"),p(t,"class","page-header"),p(e,"class","page-header-wrapper m-b-0")},m(z,F){y(z,e,F),w(e,t),w(t,i),w(i,l),w(l,s),w(t,o),w(t,r),w(t,a),q(u,t,null),w(t,f),w(t,c),w(t,d),w(t,m),q(h,m,null),w(e,_),q(g,e,null),w(e,k),q(S,e,null),w(e,$),N.m(e,null),y(z,O,F),R.m(z,F),y(z,L,F),I=!0,A||(P=[Ee(He.call(null,r,{text:"Logs settings",position:"right"})),W(r,"click",n[10])],A=!0)},p(z,F){(!I||F&128)&&re(s,z[7]);const U={};F&100663300&&(U.$$scope={dirty:F,ctx:z}),h.$set(U);const J={};F&2&&(J.value=z[1]),g.$set(J),F&16&&be(T,T=z[4])?(ae(),D(N,1,1,te),ue(),N=ap(z),N.c(),E(N,1),N.m(e,null)):N.p(z,F),F&16&&be(M,M=z[4])?(ae(),D(R,1,1,te),ue(),R=up(z),R.c(),E(R,1),R.m(L.parentNode,L)):R.p(z,F)},i(z){I||(E(u.$$.fragment,z),E(h.$$.fragment,z),E(g.$$.fragment,z),E(S.$$.fragment,z),E(N),E(R),I=!0)},o(z){D(u.$$.fragment,z),D(h.$$.fragment,z),D(g.$$.fragment,z),D(S.$$.fragment,z),D(N),D(R),I=!1},d(z){z&&(v(e),v(O),v(L)),H(u),H(h),H(g),H(S),N.d(z),R.d(z),A=!1,Ie(P)}}}function a5(n){let e,t,i,l,s,o;e=new pi({props:{$$slots:{default:[r5]},$$scope:{ctx:n}}});let r={};i=new VC({props:r}),n[18](i),i.$on("show",n[19]),i.$on("hide",n[20]);let a={};return s=new s5({props:a}),n[21](s),s.$on("save",n[8]),{c(){j(e.$$.fragment),t=C(),j(i.$$.fragment),l=C(),j(s.$$.fragment)},m(u,f){q(e,u,f),y(u,t,f),q(i,u,f),y(u,l,f),q(s,u,f),o=!0},p(u,[f]){const c={};f&67109119&&(c.$$scope={dirty:f,ctx:u}),e.$set(c);const d={};i.$set(d);const m={};s.$set(m)},i(u){o||(E(e.$$.fragment,u),E(i.$$.fragment,u),E(s.$$.fragment,u),o=!0)},o(u){D(e.$$.fragment,u),D(i.$$.fragment,u),D(s.$$.fragment,u),o=!1},d(u){u&&(v(t),v(l)),H(e,u),n[18](null),H(i,u),n[21](null),H(s,u)}}}const Yo="logId",fp="superuserRequests",cp="superuserLogRequests";function u5(n,e,t){var R;let i,l,s;Qe(n,Iu,z=>t(22,l=z)),Qe(n,an,z=>t(7,s=z)),Nn(an,s="Logs",s);const o=new URLSearchParams(l);let r,a,u=1,f=o.get("filter")||"",c={},d=(o.get(fp)||((R=window.localStorage)==null?void 0:R.getItem(cp)))<<0,m=d;function h(){t(4,u++,u)}function _(z={}){let F={};F.filter=f||null,F[fp]=d<<0||null,V.replaceHashQueryParams(Object.assign(F,z))}const g=()=>a==null?void 0:a.show(),k=()=>h();function S(){d=this.checked,t(2,d)}const $=z=>t(1,f=z.detail);function T(z){c=z,t(5,c)}function O(z){f=z,t(1,f)}function M(z){c=z,t(5,c)}const L=z=>r==null?void 0:r.show(z==null?void 0:z.detail);function I(z){ie[z?"unshift":"push"](()=>{r=z,t(0,r)})}const A=z=>{var U;let F={};F[Yo]=((U=z.detail)==null?void 0:U.id)||null,V.replaceHashQueryParams(F)},P=()=>{let z={};z[Yo]=null,V.replaceHashQueryParams(z)};function N(z){ie[z?"unshift":"push"](()=>{a=z,t(3,a)})}return n.$$.update=()=>{var z;n.$$.dirty&1&&o.get(Yo)&&r&&r.show(o.get(Yo)),n.$$.dirty&4&&t(6,i=d?"":'data.auth!="_superusers"'),n.$$.dirty&516&&m!=d&&(t(9,m=d),(z=window.localStorage)==null||z.setItem(cp,d<<0),_()),n.$$.dirty&2&&typeof f<"u"&&_()},[r,f,d,a,u,c,i,s,h,m,g,k,S,$,T,O,M,L,I,A,P,N]}class f5 extends Se{constructor(e){super(),we(this,e,u5,a5,be,{})}}function dp(n,e,t){const i=n.slice();return i[14]=e[t][0],i[15]=e[t][1],i}function pp(n){n[18]=n[19].default}function mp(n,e,t){const i=n.slice();return i[14]=e[t][0],i[15]=e[t][1],i[21]=t,i}function hp(n){let e;return{c(){e=b("hr"),p(e,"class","m-t-sm m-b-sm")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function c5(n){let e,t=n[15].label+"",i,l,s,o;function r(){return n[9](n[14])}return{c(){e=b("button"),i=B(t),l=C(),p(e,"type","button"),p(e,"class","sidebar-item"),ee(e,"active",n[5]===n[14])},m(a,u){y(a,e,u),w(e,i),w(e,l),s||(o=W(e,"click",r),s=!0)},p(a,u){n=a,u&8&&t!==(t=n[15].label+"")&&re(i,t),u&40&&ee(e,"active",n[5]===n[14])},d(a){a&&v(e),s=!1,o()}}}function d5(n){let e,t=n[15].label+"",i,l,s,o;return{c(){e=b("div"),i=B(t),l=C(),p(e,"class","sidebar-item disabled")},m(r,a){y(r,e,a),w(e,i),w(e,l),s||(o=Ee(He.call(null,e,{position:"left",text:"Not enabled for the collection"})),s=!0)},p(r,a){a&8&&t!==(t=r[15].label+"")&&re(i,t)},d(r){r&&v(e),s=!1,o()}}}function _p(n,e){let t,i=e[21]===Object.keys(e[6]).length,l,s,o=i&&hp();function r(f,c){return f[15].disabled?d5:c5}let a=r(e),u=a(e);return{key:n,first:null,c(){t=ye(),o&&o.c(),l=C(),u.c(),s=ye(),this.first=t},m(f,c){y(f,t,c),o&&o.m(f,c),y(f,l,c),u.m(f,c),y(f,s,c)},p(f,c){e=f,c&8&&(i=e[21]===Object.keys(e[6]).length),i?o||(o=hp(),o.c(),o.m(l.parentNode,l)):o&&(o.d(1),o=null),a===(a=r(e))&&u?u.p(e,c):(u.d(1),u=a(e),u&&(u.c(),u.m(s.parentNode,s)))},d(f){f&&(v(t),v(l),v(s)),o&&o.d(f),u.d(f)}}}function gp(n){let e,t,i,l={ctx:n,current:null,token:null,hasCatch:!1,pending:h5,then:m5,catch:p5,value:19,blocks:[,,,]};return pf(t=n[15].component,l),{c(){e=ye(),l.block.c()},m(s,o){y(s,e,o),l.block.m(s,l.anchor=o),l.mount=()=>e.parentNode,l.anchor=e,i=!0},p(s,o){n=s,l.ctx=n,o&8&&t!==(t=n[15].component)&&pf(t,l)||Rv(l,n,o)},i(s){i||(E(l.block),i=!0)},o(s){for(let o=0;o<3;o+=1){const r=l.blocks[o];D(r)}i=!1},d(s){s&&v(e),l.block.d(s),l.token=null,l=null}}}function p5(n){return{c:te,m:te,p:te,i:te,o:te,d:te}}function m5(n){pp(n);let e,t,i;return e=new n[18]({props:{collection:n[2]}}),{c(){j(e.$$.fragment),t=C()},m(l,s){q(e,l,s),y(l,t,s),i=!0},p(l,s){pp(l);const o={};s&4&&(o.collection=l[2]),e.$set(o)},i(l){i||(E(e.$$.fragment,l),i=!0)},o(l){D(e.$$.fragment,l),i=!1},d(l){l&&v(t),H(e,l)}}}function h5(n){return{c:te,m:te,p:te,i:te,o:te,d:te}}function bp(n,e){let t,i,l,s=e[5]===e[14]&&gp(e);return{key:n,first:null,c(){t=ye(),s&&s.c(),i=ye(),this.first=t},m(o,r){y(o,t,r),s&&s.m(o,r),y(o,i,r),l=!0},p(o,r){e=o,e[5]===e[14]?s?(s.p(e,r),r&40&&E(s,1)):(s=gp(e),s.c(),E(s,1),s.m(i.parentNode,i)):s&&(ae(),D(s,1,1,()=>{s=null}),ue())},i(o){l||(E(s),l=!0)},o(o){D(s),l=!1},d(o){o&&(v(t),v(i)),s&&s.d(o)}}}function _5(n){let e,t,i,l=[],s=new Map,o,r,a=[],u=new Map,f,c=ce(Object.entries(n[3]));const d=_=>_[14];for(let _=0;_<c.length;_+=1){let g=mp(n,c,_),k=d(g);s.set(k,l[_]=_p(k,g))}let m=ce(Object.entries(n[3]));const h=_=>_[14];for(let _=0;_<m.length;_+=1){let g=dp(n,m,_),k=h(g);u.set(k,a[_]=bp(k,g))}return{c(){var _;e=b("div"),t=b("aside"),i=b("nav");for(let g=0;g<l.length;g+=1)l[g].c();o=C(),r=b("div");for(let g=0;g<a.length;g+=1)a[g].c();p(i,"class","sidebar-content"),p(t,"class","docs-sidebar"),ee(t,"compact",((_=n[2])==null?void 0:_.type)==="auth"),p(r,"class","docs-content"),p(e,"class","docs-content-wrapper")},m(_,g){y(_,e,g),w(e,t),w(t,i);for(let k=0;k<l.length;k+=1)l[k]&&l[k].m(i,null);w(e,o),w(e,r);for(let k=0;k<a.length;k+=1)a[k]&&a[k].m(r,null);f=!0},p(_,g){var k;g&106&&(c=ce(Object.entries(_[3])),l=yt(l,g,d,1,_,c,s,i,di,_p,null,mp)),(!f||g&4)&&ee(t,"compact",((k=_[2])==null?void 0:k.type)==="auth"),g&44&&(m=ce(Object.entries(_[3])),ae(),a=yt(a,g,h,1,_,m,u,r,Ut,bp,null,dp),ue())},i(_){if(!f){for(let g=0;g<m.length;g+=1)E(a[g]);f=!0}},o(_){for(let g=0;g<a.length;g+=1)D(a[g]);f=!1},d(_){_&&v(e);for(let g=0;g<l.length;g+=1)l[g].d();for(let g=0;g<a.length;g+=1)a[g].d()}}}function g5(n){let e,t,i;return{c(){e=b("button"),e.innerHTML='<span class="txt">Close</span>',p(e,"type","button"),p(e,"class","btn btn-transparent")},m(l,s){y(l,e,s),t||(i=W(e,"click",n[8]),t=!0)},p:te,d(l){l&&v(e),t=!1,i()}}}function b5(n){let e,t,i={class:"docs-panel",$$slots:{footer:[g5],default:[_5]},$$scope:{ctx:n}};return e=new Xt({props:i}),n[10](e),e.$on("hide",n[11]),e.$on("show",n[12]),{c(){j(e.$$.fragment)},m(l,s){q(e,l,s),t=!0},p(l,[s]){const o={};s&4194348&&(o.$$scope={dirty:s,ctx:l}),e.$set(o)},i(l){t||(E(e.$$.fragment,l),t=!0)},o(l){D(e.$$.fragment,l),t=!1},d(l){n[10](null),H(e,l)}}}function k5(n,e,t){const i={list:{label:"List/Search",component:Tt(()=>import("./ListApiDocs--hFhtamL.js"),__vite__mapDeps([2,3,4]),import.meta.url)},view:{label:"View",component:Tt(()=>import("./ViewApiDocs-BO0xPOXd.js"),__vite__mapDeps([5,3]),import.meta.url)},create:{label:"Create",component:Tt(()=>import("./CreateApiDocs-CSOaDjHc.js"),__vite__mapDeps([6,3]),import.meta.url)},update:{label:"Update",component:Tt(()=>import("./UpdateApiDocs-DdNQgX6v.js"),__vite__mapDeps([7,3]),import.meta.url)},delete:{label:"Delete",component:Tt(()=>import("./DeleteApiDocs-BFCtHcbs.js"),[],import.meta.url)},realtime:{label:"Realtime",component:Tt(()=>import("./RealtimeApiDocs-PQVDeYif.js"),[],import.meta.url)},batch:{label:"Batch",component:Tt(()=>import("./BatchApiDocs-RB3_vjHR.js"),[],import.meta.url)}},l={"list-auth-methods":{label:"List auth methods",component:Tt(()=>import("./AuthMethodsDocs-BvIvKbOc.js"),__vite__mapDeps([8,3]),import.meta.url)},"auth-with-password":{label:"Auth with password",component:Tt(()=>import("./AuthWithPasswordDocs-B0wfaiYU.js"),__vite__mapDeps([9,3]),import.meta.url)},"auth-with-oauth2":{label:"Auth with OAuth2",component:Tt(()=>import("./AuthWithOAuth2Docs-C_x3fpOa.js"),__vite__mapDeps([10,3]),import.meta.url)},"auth-with-otp":{label:"Auth with OTP",component:Tt(()=>import("./AuthWithOtpDocs-bTsEm2h5.js"),[],import.meta.url)},refresh:{label:"Auth refresh",component:Tt(()=>import("./AuthRefreshDocs-TuJVrDoj.js"),__vite__mapDeps([11,3]),import.meta.url)},verification:{label:"Verification",component:Tt(()=>import("./VerificationDocs-C8ZU-Es9.js"),[],import.meta.url)},"password-reset":{label:"Password reset",component:Tt(()=>import("./PasswordResetDocs-BNbAF7Ep.js"),[],import.meta.url)},"email-change":{label:"Email change",component:Tt(()=>import("./EmailChangeDocs-pK3Wln29.js"),[],import.meta.url)}};let s,o={},r,a=[];a.length&&(r=Object.keys(a)[0]);function u(k){return t(2,o=k),c(Object.keys(a)[0]),s==null?void 0:s.show()}function f(){return s==null?void 0:s.hide()}function c(k){t(5,r=k)}const d=()=>f(),m=k=>c(k);function h(k){ie[k?"unshift":"push"](()=>{s=k,t(4,s)})}function _(k){Ne.call(this,n,k)}function g(k){Ne.call(this,n,k)}return n.$$.update=()=>{n.$$.dirty&12&&(o.type==="auth"?(t(3,a=Object.assign({},i,l)),t(3,a["auth-with-password"].disabled=!o.passwordAuth.enabled,a),t(3,a["auth-with-oauth2"].disabled=!o.oauth2.enabled,a),t(3,a["auth-with-otp"].disabled=!o.otp.enabled,a)):o.type==="view"?(t(3,a=Object.assign({},i)),delete a.create,delete a.update,delete a.delete,delete a.realtime):t(3,a=Object.assign({},i)))},[f,c,o,a,s,r,i,u,d,m,h,_,g]}class v5 extends Se{constructor(e){super(),we(this,e,k5,b5,be,{show:7,hide:0,changeTab:1})}get show(){return this.$$.ctx[7]}get hide(){return this.$$.ctx[0]}get changeTab(){return this.$$.ctx[1]}}const y5=n=>({active:n&1}),kp=n=>({active:n[0]});function vp(n){let e,t,i;const l=n[15].default,s=Lt(l,n,n[14],null);return{c(){e=b("div"),s&&s.c(),p(e,"class","accordion-content")},m(o,r){y(o,e,r),s&&s.m(e,null),i=!0},p(o,r){s&&s.p&&(!i||r&16384)&&Pt(s,l,o,o[14],i?At(l,o[14],r,null):Nt(o[14]),null)},i(o){i||(E(s,o),o&&et(()=>{i&&(t||(t=je(e,mt,{delay:10,duration:150},!0)),t.run(1))}),i=!0)},o(o){D(s,o),o&&(t||(t=je(e,mt,{delay:10,duration:150},!1)),t.run(0)),i=!1},d(o){o&&v(e),s&&s.d(o),o&&t&&t.end()}}}function w5(n){let e,t,i,l,s,o,r;const a=n[15].header,u=Lt(a,n,n[14],kp);let f=n[0]&&vp(n);return{c(){e=b("div"),t=b("button"),u&&u.c(),i=C(),f&&f.c(),p(t,"type","button"),p(t,"class","accordion-header"),p(t,"draggable",n[2]),p(t,"aria-expanded",n[0]),ee(t,"interactive",n[3]),p(e,"class",l="accordion "+(n[7]?"drag-over":"")+" "+n[1]),ee(e,"active",n[0])},m(c,d){y(c,e,d),w(e,t),u&&u.m(t,null),w(e,i),f&&f.m(e,null),n[22](e),s=!0,o||(r=[W(t,"click",tt(n[17])),W(t,"drop",tt(n[18])),W(t,"dragstart",n[19]),W(t,"dragenter",n[20]),W(t,"dragleave",n[21]),W(t,"dragover",tt(n[16]))],o=!0)},p(c,[d]){u&&u.p&&(!s||d&16385)&&Pt(u,a,c,c[14],s?At(a,c[14],d,y5):Nt(c[14]),kp),(!s||d&4)&&p(t,"draggable",c[2]),(!s||d&1)&&p(t,"aria-expanded",c[0]),(!s||d&8)&&ee(t,"interactive",c[3]),c[0]?f?(f.p(c,d),d&1&&E(f,1)):(f=vp(c),f.c(),E(f,1),f.m(e,null)):f&&(ae(),D(f,1,1,()=>{f=null}),ue()),(!s||d&130&&l!==(l="accordion "+(c[7]?"drag-over":"")+" "+c[1]))&&p(e,"class",l),(!s||d&131)&&ee(e,"active",c[0])},i(c){s||(E(u,c),E(f),s=!0)},o(c){D(u,c),D(f),s=!1},d(c){c&&v(e),u&&u.d(c),f&&f.d(),n[22](null),o=!1,Ie(r)}}}function S5(n,e,t){let{$$slots:i={},$$scope:l}=e;const s=kt();let o,r,{class:a=""}=e,{draggable:u=!1}=e,{active:f=!1}=e,{interactive:c=!0}=e,{single:d=!1}=e,m=!1;function h(){return!!f}function _(){S(),t(0,f=!0),s("expand")}function g(){t(0,f=!1),clearTimeout(r),s("collapse")}function k(){s("toggle"),f?g():_()}function S(){if(d&&o.closest(".accordions")){const P=o.closest(".accordions").querySelectorAll(".accordion.active .accordion-header.interactive");for(const N of P)N.click()}}Gt(()=>()=>clearTimeout(r));function $(P){Ne.call(this,n,P)}const T=()=>c&&k(),O=P=>{u&&(t(7,m=!1),S(),s("drop",P))},M=P=>u&&s("dragstart",P),L=P=>{u&&(t(7,m=!0),s("dragenter",P))},I=P=>{u&&(t(7,m=!1),s("dragleave",P))};function A(P){ie[P?"unshift":"push"](()=>{o=P,t(6,o)})}return n.$$set=P=>{"class"in P&&t(1,a=P.class),"draggable"in P&&t(2,u=P.draggable),"active"in P&&t(0,f=P.active),"interactive"in P&&t(3,c=P.interactive),"single"in P&&t(9,d=P.single),"$$scope"in P&&t(14,l=P.$$scope)},n.$$.update=()=>{n.$$.dirty&8257&&f&&(clearTimeout(r),t(13,r=setTimeout(()=>{o!=null&&o.scrollIntoViewIfNeeded?o.scrollIntoViewIfNeeded():o!=null&&o.scrollIntoView&&o.scrollIntoView({behavior:"smooth",block:"nearest"})},200)))},[f,a,u,c,k,S,o,m,s,d,h,_,g,r,l,i,$,T,O,M,L,I,A]}class Hi extends Se{constructor(e){super(),we(this,e,S5,w5,be,{class:1,draggable:2,active:0,interactive:3,single:9,isExpanded:10,expand:11,collapse:12,toggle:4,collapseSiblings:5})}get isExpanded(){return this.$$.ctx[10]}get expand(){return this.$$.ctx[11]}get collapse(){return this.$$.ctx[12]}get toggle(){return this.$$.ctx[4]}get collapseSiblings(){return this.$$.ctx[5]}}function yp(n,e,t){const i=n.slice();return i[25]=e[t],i}function wp(n,e,t){const i=n.slice();return i[25]=e[t],i}function Sp(n){let e,t,i=ce(n[3]),l=[];for(let s=0;s<i.length;s+=1)l[s]=Tp(wp(n,i,s));return{c(){e=b("div"),t=B(`Available placeholder parameters:
                 `);for(let s=0;s<l.length;s+=1)l[s].c();p(e,"class","help-block")},m(s,o){y(s,e,o),w(e,t);for(let r=0;r<l.length;r+=1)l[r]&&l[r].m(e,null)},p(s,o){if(o&264){i=ce(s[3]);let r;for(r=0;r<i.length;r+=1){const a=wp(s,i,r);l[r]?l[r].p(a,o):(l[r]=Tp(a),l[r].c(),l[r].m(e,null))}for(;r<l.length;r+=1)l[r].d(1);l.length=i.length}},d(s){s&&v(e),dt(l,s)}}}function Tp(n){let e,t="{"+n[25]+"}",i,l,s,o;function r(){return n[15](n[25])}return{c(){e=b("button"),i=B(t),l=B(" "),p(e,"type","button"),p(e,"class","label label-sm link-primary txt-mono")},m(a,u){y(a,e,u),w(e,i),y(a,l,u),s||(o=W(e,"click",r),s=!0)},p(a,u){n=a,u&8&&t!==(t="{"+n[25]+"}")&&re(i,t)},d(a){a&&(v(e),v(l)),s=!1,o()}}}function T5(n){var d;let e,t,i,l,s,o,r,a,u,f,c=((d=n[3])==null?void 0:d.length)>0&&Sp(n);return{c(){e=b("label"),t=B("Subject"),l=C(),s=b("input"),r=C(),c&&c.c(),a=ye(),p(e,"for",i=n[24]),p(s,"type","text"),p(s,"id",o=n[24]),p(s,"spellcheck","false"),s.required=!0},m(m,h){y(m,e,h),w(e,t),y(m,l,h),y(m,s,h),pe(s,n[0].subject),y(m,r,h),c&&c.m(m,h),y(m,a,h),u||(f=W(s,"input",n[14]),u=!0)},p(m,h){var _;h&16777216&&i!==(i=m[24])&&p(e,"for",i),h&16777216&&o!==(o=m[24])&&p(s,"id",o),h&1&&s.value!==m[0].subject&&pe(s,m[0].subject),((_=m[3])==null?void 0:_.length)>0?c?c.p(m,h):(c=Sp(m),c.c(),c.m(a.parentNode,a)):c&&(c.d(1),c=null)},d(m){m&&(v(e),v(l),v(s),v(r),v(a)),c&&c.d(m),u=!1,f()}}}function $5(n){let e,t,i,l;return{c(){e=b("textarea"),p(e,"id",t=n[24]),p(e,"class","txt-mono"),p(e,"spellcheck","false"),p(e,"rows","14"),e.required=!0},m(s,o){y(s,e,o),pe(e,n[0].body),i||(l=W(e,"input",n[17]),i=!0)},p(s,o){o&16777216&&t!==(t=s[24])&&p(e,"id",t),o&1&&pe(e,s[0].body)},i:te,o:te,d(s){s&&v(e),i=!1,l()}}}function C5(n){let e,t,i,l;function s(a){n[16](a)}var o=n[5];function r(a,u){let f={id:a[24],language:"html"};return a[0].body!==void 0&&(f.value=a[0].body),{props:f}}return o&&(e=jt(o,r(n)),ie.push(()=>ge(e,"value",s))),{c(){e&&j(e.$$.fragment),i=ye()},m(a,u){e&&q(e,a,u),y(a,i,u),l=!0},p(a,u){if(u&32&&o!==(o=a[5])){if(e){ae();const f=e;D(f.$$.fragment,1,0,()=>{H(f,1)}),ue()}o?(e=jt(o,r(a)),ie.push(()=>ge(e,"value",s)),j(e.$$.fragment),E(e.$$.fragment,1),q(e,i.parentNode,i)):e=null}else if(o){const f={};u&16777216&&(f.id=a[24]),!t&&u&1&&(t=!0,f.value=a[0].body,Te(()=>t=!1)),e.$set(f)}},i(a){l||(e&&E(e.$$.fragment,a),l=!0)},o(a){e&&D(e.$$.fragment,a),l=!1},d(a){a&&v(i),e&&H(e,a)}}}function $p(n){let e,t,i=ce(n[3]),l=[];for(let s=0;s<i.length;s+=1)l[s]=Cp(yp(n,i,s));return{c(){e=b("div"),t=B(`Available placeholder parameters:
-                `);for(let s=0;s<l.length;s+=1)l[s].c();p(e,"class","help-block")},m(s,o){y(s,e,o),w(e,t);for(let r=0;r<l.length;r+=1)l[r]&&l[r].m(e,null)},p(s,o){if(o&264){i=ce(s[3]);let r;for(r=0;r<i.length;r+=1){const a=yp(s,i,r);l[r]?l[r].p(a,o):(l[r]=Cp(a),l[r].c(),l[r].m(e,null))}for(;r<l.length;r+=1)l[r].d(1);l.length=i.length}},d(s){s&&v(e),dt(l,s)}}}function Cp(n){let e,t="{"+n[25]+"}",i,l,s,o;function r(){return n[18](n[25])}return{c(){e=b("button"),i=B(t),l=B(" "),p(e,"type","button"),p(e,"class","label label-sm link-primary txt-mono")},m(a,u){y(a,e,u),w(e,i),y(a,l,u),s||(o=W(e,"click",r),s=!0)},p(a,u){n=a,u&8&&t!==(t="{"+n[25]+"}")&&re(i,t)},d(a){a&&(v(e),v(l)),s=!1,o()}}}function O5(n){var h;let e,t,i,l,s,o,r,a,u;const f=[C5,$5],c=[];function d(_,g){return _[5]&&!_[6]?0:1}s=d(n),o=c[s]=f[s](n);let m=((h=n[3])==null?void 0:h.length)>0&&$p(n);return{c(){e=b("label"),t=B("Body (HTML)"),l=C(),o.c(),r=C(),m&&m.c(),a=ye(),p(e,"for",i=n[24])},m(_,g){y(_,e,g),w(e,t),y(_,l,g),c[s].m(_,g),y(_,r,g),m&&m.m(_,g),y(_,a,g),u=!0},p(_,g){var S;(!u||g&16777216&&i!==(i=_[24]))&&p(e,"for",i);let k=s;s=d(_),s===k?c[s].p(_,g):(ae(),D(c[k],1,1,()=>{c[k]=null}),ue(),o=c[s],o?o.p(_,g):(o=c[s]=f[s](_),o.c()),E(o,1),o.m(r.parentNode,r)),((S=_[3])==null?void 0:S.length)>0?m?m.p(_,g):(m=$p(_),m.c(),m.m(a.parentNode,a)):m&&(m.d(1),m=null)},i(_){u||(E(o),u=!0)},o(_){D(o),u=!1},d(_){_&&(v(e),v(l),v(r),v(a)),c[s].d(_),m&&m.d(_)}}}function E5(n){let e,t,i,l;return e=new fe({props:{class:"form-field required",name:n[1]+".subject",$$slots:{default:[T5,({uniqueId:s})=>({24:s}),({uniqueId:s})=>s?16777216:0]},$$scope:{ctx:n}}}),i=new fe({props:{class:"form-field m-0 required",name:n[1]+".body",$$slots:{default:[O5,({uniqueId:s})=>({24:s}),({uniqueId:s})=>s?16777216:0]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment),t=C(),j(i.$$.fragment)},m(s,o){q(e,s,o),y(s,t,o),q(i,s,o),l=!0},p(s,o){const r={};o&2&&(r.name=s[1]+".subject"),o&1090519049&&(r.$$scope={dirty:o,ctx:s}),e.$set(r);const a={};o&2&&(a.name=s[1]+".body"),o&1090519145&&(a.$$scope={dirty:o,ctx:s}),i.$set(a)},i(s){l||(E(e.$$.fragment,s),E(i.$$.fragment,s),l=!0)},o(s){D(e.$$.fragment,s),D(i.$$.fragment,s),l=!1},d(s){s&&v(t),H(e,s),H(i,s)}}}function Op(n){let e,t,i,l,s;return{c(){e=b("i"),p(e,"class","ri-error-warning-fill txt-danger")},m(o,r){y(o,e,r),i=!0,l||(s=Ee(He.call(null,e,{text:"Has errors",position:"left"})),l=!0)},i(o){i||(o&&et(()=>{i&&(t||(t=je(e,$t,{duration:150,start:.7},!0)),t.run(1))}),i=!0)},o(o){o&&(t||(t=je(e,$t,{duration:150,start:.7},!1)),t.run(0)),i=!1},d(o){o&&v(e),o&&t&&t.end(),l=!1,s()}}}function M5(n){let e,t,i,l,s,o,r,a,u,f=n[7]&&Op();return{c(){e=b("div"),t=b("i"),i=C(),l=b("span"),s=B(n[2]),o=C(),r=b("div"),a=C(),f&&f.c(),u=ye(),p(t,"class","ri-draft-line"),p(l,"class","txt"),p(e,"class","inline-flex"),p(r,"class","flex-fill")},m(c,d){y(c,e,d),w(e,t),w(e,i),w(e,l),w(l,s),y(c,o,d),y(c,r,d),y(c,a,d),f&&f.m(c,d),y(c,u,d)},p(c,d){d&4&&re(s,c[2]),c[7]?f?d&128&&E(f,1):(f=Op(),f.c(),E(f,1),f.m(u.parentNode,u)):f&&(ae(),D(f,1,1,()=>{f=null}),ue())},d(c){c&&(v(e),v(o),v(r),v(a),v(u)),f&&f.d(c)}}}function D5(n){let e,t;const i=[n[9]];let l={$$slots:{header:[M5],default:[E5]},$$scope:{ctx:n}};for(let s=0;s<i.length;s+=1)l=ze(l,i[s]);return e=new Hi({props:l}),n[19](e),e.$on("expand",n[20]),e.$on("collapse",n[21]),e.$on("toggle",n[22]),{c(){j(e.$$.fragment)},m(s,o){q(e,s,o),t=!0},p(s,[o]){const r=o&512?wt(i,[Rt(s[9])]):{};o&1073742063&&(r.$$scope={dirty:o,ctx:s}),e.$set(r)},i(s){t||(E(e.$$.fragment,s),t=!0)},o(s){D(e.$$.fragment,s),t=!1},d(s){n[19](null),H(e,s)}}}let Ep;function I5(n,e,t){let i;const l=["key","title","config","placeholders","expand","collapse","collapseSiblings"];let s=lt(e,l),o;Qe(n,vn,R=>t(13,o=R));let{key:r}=e,{title:a}=e,{config:u={}}=e,{placeholders:f=[]}=e,c,d=Ep,m=!1;function h(){c==null||c.expand()}function _(){c==null||c.collapse()}function g(){c==null||c.collapseSiblings()}async function k(){d||m||(t(6,m=!0),t(5,d=(await Tt(async()=>{const{default:R}=await import("./CodeEditor-DtaTPOng.js");return{default:R}},__vite__mapDeps([12,1]),import.meta.url)).default),Ep=d,t(6,m=!1))}function S(R){R=R.replace("*",""),V.copyToClipboard(R),hr(`Copied ${R} to clipboard`,2e3)}k();function $(){u.subject=this.value,t(0,u)}const T=R=>S("{"+R+"}");function O(R){n.$$.not_equal(u.body,R)&&(u.body=R,t(0,u))}function M(){u.body=this.value,t(0,u)}const L=R=>S("{"+R+"}");function I(R){ie[R?"unshift":"push"](()=>{c=R,t(4,c)})}function A(R){Ne.call(this,n,R)}function P(R){Ne.call(this,n,R)}function N(R){Ne.call(this,n,R)}return n.$$set=R=>{e=ze(ze({},e),Vt(R)),t(9,s=lt(e,l)),"key"in R&&t(1,r=R.key),"title"in R&&t(2,a=R.title),"config"in R&&t(0,u=R.config),"placeholders"in R&&t(3,f=R.placeholders)},n.$$.update=()=>{n.$$.dirty&8194&&t(7,i=!V.isEmpty(V.getNestedVal(o,r))),n.$$.dirty&3&&(u.enabled||Wn(r))},[u,r,a,f,c,d,m,i,S,s,h,_,g,o,$,T,O,M,L,I,A,P,N]}class L5 extends Se{constructor(e){super(),we(this,e,I5,D5,be,{key:1,title:2,config:0,placeholders:3,expand:10,collapse:11,collapseSiblings:12})}get expand(){return this.$$.ctx[10]}get collapse(){return this.$$.ctx[11]}get collapseSiblings(){return this.$$.ctx[12]}}function A5(n){let e,t,i,l,s,o,r,a,u,f,c,d;return{c(){e=b("label"),t=B(n[3]),i=B(" duration (in seconds)"),s=C(),o=b("input"),a=C(),u=b("div"),f=b("span"),f.textContent="Invalidate all previously issued tokens",p(e,"for",l=n[6]),p(o,"type","number"),p(o,"id",r=n[6]),o.required=!0,p(o,"placeholder","No change"),p(f,"class","link-primary"),ee(f,"txt-success",!!n[1]),p(u,"class","help-block")},m(m,h){y(m,e,h),w(e,t),w(e,i),y(m,s,h),y(m,o,h),pe(o,n[0]),y(m,a,h),y(m,u,h),w(u,f),c||(d=[W(o,"input",n[4]),W(f,"click",n[5])],c=!0)},p(m,h){h&8&&re(t,m[3]),h&64&&l!==(l=m[6])&&p(e,"for",l),h&64&&r!==(r=m[6])&&p(o,"id",r),h&1&&gt(o.value)!==m[0]&&pe(o,m[0]),h&2&&ee(f,"txt-success",!!m[1])},d(m){m&&(v(e),v(s),v(o),v(a),v(u)),c=!1,Ie(d)}}}function P5(n){let e,t;return e=new fe({props:{class:"form-field required",name:n[2]+".duration",$$slots:{default:[A5,({uniqueId:i})=>({6:i}),({uniqueId:i})=>i?64:0]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,[l]){const s={};l&4&&(s.name=i[2]+".duration"),l&203&&(s.$$scope={dirty:l,ctx:i}),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function N5(n,e,t){let{key:i}=e,{label:l}=e,{duration:s}=e,{secret:o}=e;function r(){s=gt(this.value),t(0,s)}const a=()=>{o?t(1,o=void 0):t(1,o=V.randomSecret(50))};return n.$$set=u=>{"key"in u&&t(2,i=u.key),"label"in u&&t(3,l=u.label),"duration"in u&&t(0,s=u.duration),"secret"in u&&t(1,o=u.secret)},[s,o,i,l,r,a]}class R5 extends Se{constructor(e){super(),we(this,e,N5,P5,be,{key:2,label:3,duration:0,secret:1})}}function Mp(n,e,t){const i=n.slice();return i[8]=e[t],i[9]=e,i[10]=t,i}function Dp(n,e){let t,i,l,s,o,r;function a(c){e[5](c,e[8])}function u(c){e[6](c,e[8])}let f={key:e[8].key,label:e[8].label};return e[0][e[8].key].duration!==void 0&&(f.duration=e[0][e[8].key].duration),e[0][e[8].key].secret!==void 0&&(f.secret=e[0][e[8].key].secret),i=new R5({props:f}),ie.push(()=>ge(i,"duration",a)),ie.push(()=>ge(i,"secret",u)),{key:n,first:null,c(){t=b("div"),j(i.$$.fragment),o=C(),p(t,"class","col-sm-6"),this.first=t},m(c,d){y(c,t,d),q(i,t,null),w(t,o),r=!0},p(c,d){e=c;const m={};d&2&&(m.key=e[8].key),d&2&&(m.label=e[8].label),!l&&d&3&&(l=!0,m.duration=e[0][e[8].key].duration,Te(()=>l=!1)),!s&&d&3&&(s=!0,m.secret=e[0][e[8].key].secret,Te(()=>s=!1)),i.$set(m)},i(c){r||(E(i.$$.fragment,c),r=!0)},o(c){D(i.$$.fragment,c),r=!1},d(c){c&&v(t),H(i)}}}function F5(n){let e,t=[],i=new Map,l,s=ce(n[1]);const o=r=>r[8].key;for(let r=0;r<s.length;r+=1){let a=Mp(n,s,r),u=o(a);i.set(u,t[r]=Dp(u,a))}return{c(){e=b("div");for(let r=0;r<t.length;r+=1)t[r].c();p(e,"class","grid")},m(r,a){y(r,e,a);for(let u=0;u<t.length;u+=1)t[u]&&t[u].m(e,null);l=!0},p(r,a){a&3&&(s=ce(r[1]),ae(),t=yt(t,a,o,1,r,s,i,e,Ut,Dp,null,Mp),ue())},i(r){if(!l){for(let a=0;a<s.length;a+=1)E(t[a]);l=!0}},o(r){for(let a=0;a<t.length;a+=1)D(t[a]);l=!1},d(r){r&&v(e);for(let a=0;a<t.length;a+=1)t[a].d()}}}function Ip(n){let e,t,i,l,s;return{c(){e=b("i"),p(e,"class","ri-error-warning-fill txt-danger")},m(o,r){y(o,e,r),i=!0,l||(s=Ee(He.call(null,e,{text:"Has errors",position:"left"})),l=!0)},i(o){i||(o&&et(()=>{i&&(t||(t=je(e,$t,{duration:150,start:.7},!0)),t.run(1))}),i=!0)},o(o){o&&(t||(t=je(e,$t,{duration:150,start:.7},!1)),t.run(0)),i=!1},d(o){o&&v(e),o&&t&&t.end(),l=!1,s()}}}function q5(n){let e,t,i,l,s,o=n[2]&&Ip();return{c(){e=b("div"),e.innerHTML='<i class="ri-key-2-line"></i> <span class="txt">Tokens options (invalidate, duration)</span>',t=C(),i=b("div"),l=C(),o&&o.c(),s=ye(),p(e,"class","inline-flex"),p(i,"class","flex-fill")},m(r,a){y(r,e,a),y(r,t,a),y(r,i,a),y(r,l,a),o&&o.m(r,a),y(r,s,a)},p(r,a){r[2]?o?a&4&&E(o,1):(o=Ip(),o.c(),E(o,1),o.m(s.parentNode,s)):o&&(ae(),D(o,1,1,()=>{o=null}),ue())},d(r){r&&(v(e),v(t),v(i),v(l),v(s)),o&&o.d(r)}}}function H5(n){let e,t;return e=new Hi({props:{single:!0,$$slots:{header:[q5],default:[F5]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,[l]){const s={};l&2055&&(s.$$scope={dirty:l,ctx:i}),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function j5(n,e,t){let i,l,s;Qe(n,vn,c=>t(4,s=c));let{collection:o}=e,r=[];function a(c){if(V.isEmpty(c))return!1;for(let d of r)if(c[d.key])return!0;return!1}function u(c,d){n.$$.not_equal(o[d.key].duration,c)&&(o[d.key].duration=c,t(0,o))}function f(c,d){n.$$.not_equal(o[d.key].secret,c)&&(o[d.key].secret=c,t(0,o))}return n.$$set=c=>{"collection"in c&&t(0,o=c.collection)},n.$$.update=()=>{n.$$.dirty&1&&t(3,i=(o==null?void 0:o.system)&&(o==null?void 0:o.name)==="_superusers"),n.$$.dirty&8&&t(1,r=i?[{key:"authToken",label:"Auth"},{key:"passwordResetToken",label:"Password reset"},{key:"fileToken",label:"Protected file access"}]:[{key:"authToken",label:"Auth"},{key:"verificationToken",label:"Email verification"},{key:"passwordResetToken",label:"Password reset"},{key:"emailChangeToken",label:"Email change"},{key:"fileToken",label:"Protected file access"}]),n.$$.dirty&16&&t(2,l=a(s))},[o,r,l,i,s,u,f]}class z5 extends Se{constructor(e){super(),we(this,e,j5,H5,be,{collection:0})}}const U5=n=>({isSuperuserOnly:n&2048}),Lp=n=>({isSuperuserOnly:n[11]}),V5=n=>({isSuperuserOnly:n&2048}),Ap=n=>({isSuperuserOnly:n[11]}),B5=n=>({isSuperuserOnly:n&2048}),Pp=n=>({isSuperuserOnly:n[11]});function W5(n){let e,t;return e=new fe({props:{class:"form-field rule-field "+(n[4]?"requied":"")+" "+(n[11]?"disabled":""),name:n[3],$$slots:{default:[K5,({uniqueId:i})=>({21:i}),({uniqueId:i})=>i?2097152:0]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,l){const s={};l&2064&&(s.class="form-field rule-field "+(i[4]?"requied":"")+" "+(i[11]?"disabled":"")),l&8&&(s.name=i[3]),l&2362855&&(s.$$scope={dirty:l,ctx:i}),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function Y5(n){let e;return{c(){e=b("div"),e.innerHTML='<span class="loader"></span>',p(e,"class","txt-center")},m(t,i){y(t,e,i)},p:te,i:te,o:te,d(t){t&&v(e)}}}function Np(n){let e,t,i,l,s,o;return{c(){e=b("button"),t=b("i"),i=C(),l=b("span"),l.textContent="Set Superusers only",p(t,"class","ri-lock-line"),p(t,"aria-hidden","true"),p(l,"class","txt"),p(e,"type","button"),p(e,"class","btn btn-sm btn-transparent btn-hint lock-toggle svelte-dnx4io"),p(e,"aria-hidden",n[10]),e.disabled=n[10]},m(r,a){y(r,e,a),w(e,t),w(e,i),w(e,l),s||(o=W(e,"click",n[13]),s=!0)},p(r,a){a&1024&&p(e,"aria-hidden",r[10]),a&1024&&(e.disabled=r[10])},d(r){r&&v(e),s=!1,o()}}}function Rp(n){let e,t,i,l,s,o,r,a=!n[10]&&Fp();return{c(){e=b("button"),a&&a.c(),t=C(),i=b("div"),i.innerHTML='<i class="ri-lock-unlock-line svelte-dnx4io"></i>',p(i,"class","icon svelte-dnx4io"),p(i,"aria-hidden","true"),p(e,"type","button"),p(e,"class","unlock-overlay svelte-dnx4io"),e.disabled=n[10],p(e,"aria-hidden",n[10])},m(u,f){y(u,e,f),a&&a.m(e,null),w(e,t),w(e,i),s=!0,o||(r=W(e,"click",n[12]),o=!0)},p(u,f){u[10]?a&&(a.d(1),a=null):a||(a=Fp(),a.c(),a.m(e,t)),(!s||f&1024)&&(e.disabled=u[10]),(!s||f&1024)&&p(e,"aria-hidden",u[10])},i(u){s||(u&&et(()=>{s&&(l||(l=je(e,$t,{duration:150,start:.98},!0)),l.run(1))}),s=!0)},o(u){u&&(l||(l=je(e,$t,{duration:150,start:.98},!1)),l.run(0)),s=!1},d(u){u&&v(e),a&&a.d(),u&&l&&l.end(),o=!1,r()}}}function Fp(n){let e;return{c(){e=b("small"),e.textContent="Unlock and set custom rule",p(e,"class","txt svelte-dnx4io")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function K5(n){let e,t,i,l,s,o,r=n[11]?"- Superusers only":"",a,u,f,c,d,m,h,_,g,k,S,$,T,O;const M=n[15].beforeLabel,L=Lt(M,n,n[18],Pp),I=n[15].afterLabel,A=Lt(I,n,n[18],Ap);let P=n[5]&&!n[11]&&Np(n);function N(K){n[17](K)}var R=n[8];function z(K,Q){let X={id:K[21],baseCollection:K[1],disabled:K[10]||K[11],placeholder:K[11]?"":K[6]};return K[0]!==void 0&&(X.value=K[0]),{props:X}}R&&(m=jt(R,z(n)),n[16](m),ie.push(()=>ge(m,"value",N)));let F=n[5]&&n[11]&&Rp(n);const U=n[15].default,J=Lt(U,n,n[18],Lp);return{c(){e=b("div"),t=b("label"),L&&L.c(),i=C(),l=b("span"),s=B(n[2]),o=C(),a=B(r),u=C(),A&&A.c(),f=C(),P&&P.c(),d=C(),m&&j(m.$$.fragment),_=C(),F&&F.c(),k=C(),S=b("div"),J&&J.c(),p(l,"class","txt"),ee(l,"txt-hint",n[11]),p(t,"for",c=n[21]),p(e,"class","input-wrapper svelte-dnx4io"),p(S,"class","help-block")},m(K,Q){y(K,e,Q),w(e,t),L&&L.m(t,null),w(t,i),w(t,l),w(l,s),w(l,o),w(l,a),w(t,u),A&&A.m(t,null),w(t,f),P&&P.m(t,null),w(e,d),m&&q(m,e,null),w(e,_),F&&F.m(e,null),y(K,k,Q),y(K,S,Q),J&&J.m(S,null),$=!0,T||(O=Ee(g=He.call(null,e,n[1].system?{text:"System collection rule cannot be changed.",position:"top"}:void 0)),T=!0)},p(K,Q){if(L&&L.p&&(!$||Q&264192)&&Pt(L,M,K,K[18],$?At(M,K[18],Q,B5):Nt(K[18]),Pp),(!$||Q&4)&&re(s,K[2]),(!$||Q&2048)&&r!==(r=K[11]?"- Superusers only":"")&&re(a,r),(!$||Q&2048)&&ee(l,"txt-hint",K[11]),A&&A.p&&(!$||Q&264192)&&Pt(A,I,K,K[18],$?At(I,K[18],Q,V5):Nt(K[18]),Ap),K[5]&&!K[11]?P?P.p(K,Q):(P=Np(K),P.c(),P.m(t,null)):P&&(P.d(1),P=null),(!$||Q&2097152&&c!==(c=K[21]))&&p(t,"for",c),Q&256&&R!==(R=K[8])){if(m){ae();const X=m;D(X.$$.fragment,1,0,()=>{H(X,1)}),ue()}R?(m=jt(R,z(K)),K[16](m),ie.push(()=>ge(m,"value",N)),j(m.$$.fragment),E(m.$$.fragment,1),q(m,e,_)):m=null}else if(R){const X={};Q&2097152&&(X.id=K[21]),Q&2&&(X.baseCollection=K[1]),Q&3072&&(X.disabled=K[10]||K[11]),Q&2112&&(X.placeholder=K[11]?"":K[6]),!h&&Q&1&&(h=!0,X.value=K[0],Te(()=>h=!1)),m.$set(X)}K[5]&&K[11]?F?(F.p(K,Q),Q&2080&&E(F,1)):(F=Rp(K),F.c(),E(F,1),F.m(e,null)):F&&(ae(),D(F,1,1,()=>{F=null}),ue()),g&&It(g.update)&&Q&2&&g.update.call(null,K[1].system?{text:"System collection rule cannot be changed.",position:"top"}:void 0),J&&J.p&&(!$||Q&264192)&&Pt(J,U,K,K[18],$?At(U,K[18],Q,U5):Nt(K[18]),Lp)},i(K){$||(E(L,K),E(A,K),m&&E(m.$$.fragment,K),E(F),E(J,K),$=!0)},o(K){D(L,K),D(A,K),m&&D(m.$$.fragment,K),D(F),D(J,K),$=!1},d(K){K&&(v(e),v(k),v(S)),L&&L.d(K),A&&A.d(K),P&&P.d(),n[16](null),m&&H(m),F&&F.d(),J&&J.d(K),T=!1,O()}}}function J5(n){let e,t,i,l;const s=[Y5,W5],o=[];function r(a,u){return a[9]?0:1}return e=r(n),t=o[e]=s[e](n),{c(){t.c(),i=ye()},m(a,u){o[e].m(a,u),y(a,i,u),l=!0},p(a,[u]){let f=e;e=r(a),e===f?o[e].p(a,u):(ae(),D(o[f],1,1,()=>{o[f]=null}),ue(),t=o[e],t?t.p(a,u):(t=o[e]=s[e](a),t.c()),E(t,1),t.m(i.parentNode,i))},i(a){l||(E(t),l=!0)},o(a){D(t),l=!1},d(a){a&&v(i),o[e].d(a)}}}let qp;function Z5(n,e,t){let i,l,{$$slots:s={},$$scope:o}=e,{collection:r=null}=e,{rule:a=null}=e,{label:u="Rule"}=e,{formKey:f="rule"}=e,{required:c=!1}=e,{disabled:d=!1}=e,{superuserToggle:m=!0}=e,{placeholder:h="Leave empty to grant everyone access..."}=e,_=null,g=null,k=qp,S=!1;$();async function $(){k||S||(t(9,S=!0),t(8,k=(await Tt(async()=>{const{default:I}=await import("./FilterAutocompleteInput-B2Le__Nn.js");return{default:I}},__vite__mapDeps([0,1]),import.meta.url)).default),qp=k,t(9,S=!1))}async function T(){t(0,a=g||""),await cn(),_==null||_.focus()}function O(){g=a,t(0,a=null)}function M(I){ie[I?"unshift":"push"](()=>{_=I,t(7,_)})}function L(I){a=I,t(0,a)}return n.$$set=I=>{"collection"in I&&t(1,r=I.collection),"rule"in I&&t(0,a=I.rule),"label"in I&&t(2,u=I.label),"formKey"in I&&t(3,f=I.formKey),"required"in I&&t(4,c=I.required),"disabled"in I&&t(14,d=I.disabled),"superuserToggle"in I&&t(5,m=I.superuserToggle),"placeholder"in I&&t(6,h=I.placeholder),"$$scope"in I&&t(18,o=I.$$scope)},n.$$.update=()=>{n.$$.dirty&33&&t(11,i=m&&a===null),n.$$.dirty&16386&&t(10,l=d||r.system)},[a,r,u,f,c,m,h,_,k,S,l,i,T,O,d,s,M,L,o]}class nl extends Se{constructor(e){super(),we(this,e,Z5,J5,be,{collection:1,rule:0,label:2,formKey:3,required:4,disabled:14,superuserToggle:5,placeholder:6})}}function G5(n){let e,t,i,l,s,o,r,a;return{c(){e=b("input"),i=C(),l=b("label"),s=b("span"),s.textContent="Enable",p(e,"type","checkbox"),p(e,"id",t=n[5]),p(s,"class","txt"),p(l,"for",o=n[5])},m(u,f){y(u,e,f),e.checked=n[0].mfa.enabled,y(u,i,f),y(u,l,f),w(l,s),r||(a=W(e,"change",n[3]),r=!0)},p(u,f){f&32&&t!==(t=u[5])&&p(e,"id",t),f&1&&(e.checked=u[0].mfa.enabled),f&32&&o!==(o=u[5])&&p(l,"for",o)},d(u){u&&(v(e),v(i),v(l)),r=!1,a()}}}function X5(n){let e,t,i,l,s;return{c(){e=b("p"),e.textContent="This optional rule could be used to enable/disable MFA per account basis.",t=C(),i=b("p"),i.innerHTML=`For example, to require MFA only for accounts with non-empty email you can set it to
+                `);for(let s=0;s<l.length;s+=1)l[s].c();p(e,"class","help-block")},m(s,o){y(s,e,o),w(e,t);for(let r=0;r<l.length;r+=1)l[r]&&l[r].m(e,null)},p(s,o){if(o&264){i=ce(s[3]);let r;for(r=0;r<i.length;r+=1){const a=yp(s,i,r);l[r]?l[r].p(a,o):(l[r]=Cp(a),l[r].c(),l[r].m(e,null))}for(;r<l.length;r+=1)l[r].d(1);l.length=i.length}},d(s){s&&v(e),dt(l,s)}}}function Cp(n){let e,t="{"+n[25]+"}",i,l,s,o;function r(){return n[18](n[25])}return{c(){e=b("button"),i=B(t),l=B(" "),p(e,"type","button"),p(e,"class","label label-sm link-primary txt-mono")},m(a,u){y(a,e,u),w(e,i),y(a,l,u),s||(o=W(e,"click",r),s=!0)},p(a,u){n=a,u&8&&t!==(t="{"+n[25]+"}")&&re(i,t)},d(a){a&&(v(e),v(l)),s=!1,o()}}}function O5(n){var h;let e,t,i,l,s,o,r,a,u;const f=[C5,$5],c=[];function d(_,g){return _[5]&&!_[6]?0:1}s=d(n),o=c[s]=f[s](n);let m=((h=n[3])==null?void 0:h.length)>0&&$p(n);return{c(){e=b("label"),t=B("Body (HTML)"),l=C(),o.c(),r=C(),m&&m.c(),a=ye(),p(e,"for",i=n[24])},m(_,g){y(_,e,g),w(e,t),y(_,l,g),c[s].m(_,g),y(_,r,g),m&&m.m(_,g),y(_,a,g),u=!0},p(_,g){var S;(!u||g&16777216&&i!==(i=_[24]))&&p(e,"for",i);let k=s;s=d(_),s===k?c[s].p(_,g):(ae(),D(c[k],1,1,()=>{c[k]=null}),ue(),o=c[s],o?o.p(_,g):(o=c[s]=f[s](_),o.c()),E(o,1),o.m(r.parentNode,r)),((S=_[3])==null?void 0:S.length)>0?m?m.p(_,g):(m=$p(_),m.c(),m.m(a.parentNode,a)):m&&(m.d(1),m=null)},i(_){u||(E(o),u=!0)},o(_){D(o),u=!1},d(_){_&&(v(e),v(l),v(r),v(a)),c[s].d(_),m&&m.d(_)}}}function E5(n){let e,t,i,l;return e=new fe({props:{class:"form-field required",name:n[1]+".subject",$$slots:{default:[T5,({uniqueId:s})=>({24:s}),({uniqueId:s})=>s?16777216:0]},$$scope:{ctx:n}}}),i=new fe({props:{class:"form-field m-0 required",name:n[1]+".body",$$slots:{default:[O5,({uniqueId:s})=>({24:s}),({uniqueId:s})=>s?16777216:0]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment),t=C(),j(i.$$.fragment)},m(s,o){q(e,s,o),y(s,t,o),q(i,s,o),l=!0},p(s,o){const r={};o&2&&(r.name=s[1]+".subject"),o&1090519049&&(r.$$scope={dirty:o,ctx:s}),e.$set(r);const a={};o&2&&(a.name=s[1]+".body"),o&1090519145&&(a.$$scope={dirty:o,ctx:s}),i.$set(a)},i(s){l||(E(e.$$.fragment,s),E(i.$$.fragment,s),l=!0)},o(s){D(e.$$.fragment,s),D(i.$$.fragment,s),l=!1},d(s){s&&v(t),H(e,s),H(i,s)}}}function Op(n){let e,t,i,l,s;return{c(){e=b("i"),p(e,"class","ri-error-warning-fill txt-danger")},m(o,r){y(o,e,r),i=!0,l||(s=Ee(He.call(null,e,{text:"Has errors",position:"left"})),l=!0)},i(o){i||(o&&et(()=>{i&&(t||(t=je(e,$t,{duration:150,start:.7},!0)),t.run(1))}),i=!0)},o(o){o&&(t||(t=je(e,$t,{duration:150,start:.7},!1)),t.run(0)),i=!1},d(o){o&&v(e),o&&t&&t.end(),l=!1,s()}}}function M5(n){let e,t,i,l,s,o,r,a,u,f=n[7]&&Op();return{c(){e=b("div"),t=b("i"),i=C(),l=b("span"),s=B(n[2]),o=C(),r=b("div"),a=C(),f&&f.c(),u=ye(),p(t,"class","ri-draft-line"),p(l,"class","txt"),p(e,"class","inline-flex"),p(r,"class","flex-fill")},m(c,d){y(c,e,d),w(e,t),w(e,i),w(e,l),w(l,s),y(c,o,d),y(c,r,d),y(c,a,d),f&&f.m(c,d),y(c,u,d)},p(c,d){d&4&&re(s,c[2]),c[7]?f?d&128&&E(f,1):(f=Op(),f.c(),E(f,1),f.m(u.parentNode,u)):f&&(ae(),D(f,1,1,()=>{f=null}),ue())},d(c){c&&(v(e),v(o),v(r),v(a),v(u)),f&&f.d(c)}}}function D5(n){let e,t;const i=[n[9]];let l={$$slots:{header:[M5],default:[E5]},$$scope:{ctx:n}};for(let s=0;s<i.length;s+=1)l=ze(l,i[s]);return e=new Hi({props:l}),n[19](e),e.$on("expand",n[20]),e.$on("collapse",n[21]),e.$on("toggle",n[22]),{c(){j(e.$$.fragment)},m(s,o){q(e,s,o),t=!0},p(s,[o]){const r=o&512?wt(i,[Rt(s[9])]):{};o&1073742063&&(r.$$scope={dirty:o,ctx:s}),e.$set(r)},i(s){t||(E(e.$$.fragment,s),t=!0)},o(s){D(e.$$.fragment,s),t=!1},d(s){n[19](null),H(e,s)}}}let Ep;function I5(n,e,t){let i;const l=["key","title","config","placeholders","expand","collapse","collapseSiblings"];let s=lt(e,l),o;Qe(n,vn,R=>t(13,o=R));let{key:r}=e,{title:a}=e,{config:u={}}=e,{placeholders:f=[]}=e,c,d=Ep,m=!1;function h(){c==null||c.expand()}function _(){c==null||c.collapse()}function g(){c==null||c.collapseSiblings()}async function k(){d||m||(t(6,m=!0),t(5,d=(await Tt(async()=>{const{default:R}=await import("./CodeEditor-BdQDwUb4.js");return{default:R}},__vite__mapDeps([12,1]),import.meta.url)).default),Ep=d,t(6,m=!1))}function S(R){R=R.replace("*",""),V.copyToClipboard(R),hr(`Copied ${R} to clipboard`,2e3)}k();function $(){u.subject=this.value,t(0,u)}const T=R=>S("{"+R+"}");function O(R){n.$$.not_equal(u.body,R)&&(u.body=R,t(0,u))}function M(){u.body=this.value,t(0,u)}const L=R=>S("{"+R+"}");function I(R){ie[R?"unshift":"push"](()=>{c=R,t(4,c)})}function A(R){Ne.call(this,n,R)}function P(R){Ne.call(this,n,R)}function N(R){Ne.call(this,n,R)}return n.$$set=R=>{e=ze(ze({},e),Vt(R)),t(9,s=lt(e,l)),"key"in R&&t(1,r=R.key),"title"in R&&t(2,a=R.title),"config"in R&&t(0,u=R.config),"placeholders"in R&&t(3,f=R.placeholders)},n.$$.update=()=>{n.$$.dirty&8194&&t(7,i=!V.isEmpty(V.getNestedVal(o,r))),n.$$.dirty&3&&(u.enabled||Wn(r))},[u,r,a,f,c,d,m,i,S,s,h,_,g,o,$,T,O,M,L,I,A,P,N]}class L5 extends Se{constructor(e){super(),we(this,e,I5,D5,be,{key:1,title:2,config:0,placeholders:3,expand:10,collapse:11,collapseSiblings:12})}get expand(){return this.$$.ctx[10]}get collapse(){return this.$$.ctx[11]}get collapseSiblings(){return this.$$.ctx[12]}}function A5(n){let e,t,i,l,s,o,r,a,u,f,c,d;return{c(){e=b("label"),t=B(n[3]),i=B(" duration (in seconds)"),s=C(),o=b("input"),a=C(),u=b("div"),f=b("span"),f.textContent="Invalidate all previously issued tokens",p(e,"for",l=n[6]),p(o,"type","number"),p(o,"id",r=n[6]),o.required=!0,p(o,"placeholder","No change"),p(f,"class","link-primary"),ee(f,"txt-success",!!n[1]),p(u,"class","help-block")},m(m,h){y(m,e,h),w(e,t),w(e,i),y(m,s,h),y(m,o,h),pe(o,n[0]),y(m,a,h),y(m,u,h),w(u,f),c||(d=[W(o,"input",n[4]),W(f,"click",n[5])],c=!0)},p(m,h){h&8&&re(t,m[3]),h&64&&l!==(l=m[6])&&p(e,"for",l),h&64&&r!==(r=m[6])&&p(o,"id",r),h&1&&gt(o.value)!==m[0]&&pe(o,m[0]),h&2&&ee(f,"txt-success",!!m[1])},d(m){m&&(v(e),v(s),v(o),v(a),v(u)),c=!1,Ie(d)}}}function P5(n){let e,t;return e=new fe({props:{class:"form-field required",name:n[2]+".duration",$$slots:{default:[A5,({uniqueId:i})=>({6:i}),({uniqueId:i})=>i?64:0]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,[l]){const s={};l&4&&(s.name=i[2]+".duration"),l&203&&(s.$$scope={dirty:l,ctx:i}),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function N5(n,e,t){let{key:i}=e,{label:l}=e,{duration:s}=e,{secret:o}=e;function r(){s=gt(this.value),t(0,s)}const a=()=>{o?t(1,o=void 0):t(1,o=V.randomSecret(50))};return n.$$set=u=>{"key"in u&&t(2,i=u.key),"label"in u&&t(3,l=u.label),"duration"in u&&t(0,s=u.duration),"secret"in u&&t(1,o=u.secret)},[s,o,i,l,r,a]}class R5 extends Se{constructor(e){super(),we(this,e,N5,P5,be,{key:2,label:3,duration:0,secret:1})}}function Mp(n,e,t){const i=n.slice();return i[8]=e[t],i[9]=e,i[10]=t,i}function Dp(n,e){let t,i,l,s,o,r;function a(c){e[5](c,e[8])}function u(c){e[6](c,e[8])}let f={key:e[8].key,label:e[8].label};return e[0][e[8].key].duration!==void 0&&(f.duration=e[0][e[8].key].duration),e[0][e[8].key].secret!==void 0&&(f.secret=e[0][e[8].key].secret),i=new R5({props:f}),ie.push(()=>ge(i,"duration",a)),ie.push(()=>ge(i,"secret",u)),{key:n,first:null,c(){t=b("div"),j(i.$$.fragment),o=C(),p(t,"class","col-sm-6"),this.first=t},m(c,d){y(c,t,d),q(i,t,null),w(t,o),r=!0},p(c,d){e=c;const m={};d&2&&(m.key=e[8].key),d&2&&(m.label=e[8].label),!l&&d&3&&(l=!0,m.duration=e[0][e[8].key].duration,Te(()=>l=!1)),!s&&d&3&&(s=!0,m.secret=e[0][e[8].key].secret,Te(()=>s=!1)),i.$set(m)},i(c){r||(E(i.$$.fragment,c),r=!0)},o(c){D(i.$$.fragment,c),r=!1},d(c){c&&v(t),H(i)}}}function F5(n){let e,t=[],i=new Map,l,s=ce(n[1]);const o=r=>r[8].key;for(let r=0;r<s.length;r+=1){let a=Mp(n,s,r),u=o(a);i.set(u,t[r]=Dp(u,a))}return{c(){e=b("div");for(let r=0;r<t.length;r+=1)t[r].c();p(e,"class","grid")},m(r,a){y(r,e,a);for(let u=0;u<t.length;u+=1)t[u]&&t[u].m(e,null);l=!0},p(r,a){a&3&&(s=ce(r[1]),ae(),t=yt(t,a,o,1,r,s,i,e,Ut,Dp,null,Mp),ue())},i(r){if(!l){for(let a=0;a<s.length;a+=1)E(t[a]);l=!0}},o(r){for(let a=0;a<t.length;a+=1)D(t[a]);l=!1},d(r){r&&v(e);for(let a=0;a<t.length;a+=1)t[a].d()}}}function Ip(n){let e,t,i,l,s;return{c(){e=b("i"),p(e,"class","ri-error-warning-fill txt-danger")},m(o,r){y(o,e,r),i=!0,l||(s=Ee(He.call(null,e,{text:"Has errors",position:"left"})),l=!0)},i(o){i||(o&&et(()=>{i&&(t||(t=je(e,$t,{duration:150,start:.7},!0)),t.run(1))}),i=!0)},o(o){o&&(t||(t=je(e,$t,{duration:150,start:.7},!1)),t.run(0)),i=!1},d(o){o&&v(e),o&&t&&t.end(),l=!1,s()}}}function q5(n){let e,t,i,l,s,o=n[2]&&Ip();return{c(){e=b("div"),e.innerHTML='<i class="ri-key-2-line"></i> <span class="txt">Tokens options (invalidate, duration)</span>',t=C(),i=b("div"),l=C(),o&&o.c(),s=ye(),p(e,"class","inline-flex"),p(i,"class","flex-fill")},m(r,a){y(r,e,a),y(r,t,a),y(r,i,a),y(r,l,a),o&&o.m(r,a),y(r,s,a)},p(r,a){r[2]?o?a&4&&E(o,1):(o=Ip(),o.c(),E(o,1),o.m(s.parentNode,s)):o&&(ae(),D(o,1,1,()=>{o=null}),ue())},d(r){r&&(v(e),v(t),v(i),v(l),v(s)),o&&o.d(r)}}}function H5(n){let e,t;return e=new Hi({props:{single:!0,$$slots:{header:[q5],default:[F5]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,[l]){const s={};l&2055&&(s.$$scope={dirty:l,ctx:i}),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function j5(n,e,t){let i,l,s;Qe(n,vn,c=>t(4,s=c));let{collection:o}=e,r=[];function a(c){if(V.isEmpty(c))return!1;for(let d of r)if(c[d.key])return!0;return!1}function u(c,d){n.$$.not_equal(o[d.key].duration,c)&&(o[d.key].duration=c,t(0,o))}function f(c,d){n.$$.not_equal(o[d.key].secret,c)&&(o[d.key].secret=c,t(0,o))}return n.$$set=c=>{"collection"in c&&t(0,o=c.collection)},n.$$.update=()=>{n.$$.dirty&1&&t(3,i=(o==null?void 0:o.system)&&(o==null?void 0:o.name)==="_superusers"),n.$$.dirty&8&&t(1,r=i?[{key:"authToken",label:"Auth"},{key:"passwordResetToken",label:"Password reset"},{key:"fileToken",label:"Protected file access"}]:[{key:"authToken",label:"Auth"},{key:"verificationToken",label:"Email verification"},{key:"passwordResetToken",label:"Password reset"},{key:"emailChangeToken",label:"Email change"},{key:"fileToken",label:"Protected file access"}]),n.$$.dirty&16&&t(2,l=a(s))},[o,r,l,i,s,u,f]}class z5 extends Se{constructor(e){super(),we(this,e,j5,H5,be,{collection:0})}}const U5=n=>({isSuperuserOnly:n&2048}),Lp=n=>({isSuperuserOnly:n[11]}),V5=n=>({isSuperuserOnly:n&2048}),Ap=n=>({isSuperuserOnly:n[11]}),B5=n=>({isSuperuserOnly:n&2048}),Pp=n=>({isSuperuserOnly:n[11]});function W5(n){let e,t;return e=new fe({props:{class:"form-field rule-field "+(n[4]?"requied":"")+" "+(n[11]?"disabled":""),name:n[3],$$slots:{default:[K5,({uniqueId:i})=>({21:i}),({uniqueId:i})=>i?2097152:0]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,l){const s={};l&2064&&(s.class="form-field rule-field "+(i[4]?"requied":"")+" "+(i[11]?"disabled":"")),l&8&&(s.name=i[3]),l&2362855&&(s.$$scope={dirty:l,ctx:i}),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function Y5(n){let e;return{c(){e=b("div"),e.innerHTML='<span class="loader"></span>',p(e,"class","txt-center")},m(t,i){y(t,e,i)},p:te,i:te,o:te,d(t){t&&v(e)}}}function Np(n){let e,t,i,l,s,o;return{c(){e=b("button"),t=b("i"),i=C(),l=b("span"),l.textContent="Set Superusers only",p(t,"class","ri-lock-line"),p(t,"aria-hidden","true"),p(l,"class","txt"),p(e,"type","button"),p(e,"class","btn btn-sm btn-transparent btn-hint lock-toggle svelte-dnx4io"),p(e,"aria-hidden",n[10]),e.disabled=n[10]},m(r,a){y(r,e,a),w(e,t),w(e,i),w(e,l),s||(o=W(e,"click",n[13]),s=!0)},p(r,a){a&1024&&p(e,"aria-hidden",r[10]),a&1024&&(e.disabled=r[10])},d(r){r&&v(e),s=!1,o()}}}function Rp(n){let e,t,i,l,s,o,r,a=!n[10]&&Fp();return{c(){e=b("button"),a&&a.c(),t=C(),i=b("div"),i.innerHTML='<i class="ri-lock-unlock-line svelte-dnx4io"></i>',p(i,"class","icon svelte-dnx4io"),p(i,"aria-hidden","true"),p(e,"type","button"),p(e,"class","unlock-overlay svelte-dnx4io"),e.disabled=n[10],p(e,"aria-hidden",n[10])},m(u,f){y(u,e,f),a&&a.m(e,null),w(e,t),w(e,i),s=!0,o||(r=W(e,"click",n[12]),o=!0)},p(u,f){u[10]?a&&(a.d(1),a=null):a||(a=Fp(),a.c(),a.m(e,t)),(!s||f&1024)&&(e.disabled=u[10]),(!s||f&1024)&&p(e,"aria-hidden",u[10])},i(u){s||(u&&et(()=>{s&&(l||(l=je(e,$t,{duration:150,start:.98},!0)),l.run(1))}),s=!0)},o(u){u&&(l||(l=je(e,$t,{duration:150,start:.98},!1)),l.run(0)),s=!1},d(u){u&&v(e),a&&a.d(),u&&l&&l.end(),o=!1,r()}}}function Fp(n){let e;return{c(){e=b("small"),e.textContent="Unlock and set custom rule",p(e,"class","txt svelte-dnx4io")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function K5(n){let e,t,i,l,s,o,r=n[11]?"- Superusers only":"",a,u,f,c,d,m,h,_,g,k,S,$,T,O;const M=n[15].beforeLabel,L=Lt(M,n,n[18],Pp),I=n[15].afterLabel,A=Lt(I,n,n[18],Ap);let P=n[5]&&!n[11]&&Np(n);function N(K){n[17](K)}var R=n[8];function z(K,Q){let X={id:K[21],baseCollection:K[1],disabled:K[10]||K[11],placeholder:K[11]?"":K[6]};return K[0]!==void 0&&(X.value=K[0]),{props:X}}R&&(m=jt(R,z(n)),n[16](m),ie.push(()=>ge(m,"value",N)));let F=n[5]&&n[11]&&Rp(n);const U=n[15].default,J=Lt(U,n,n[18],Lp);return{c(){e=b("div"),t=b("label"),L&&L.c(),i=C(),l=b("span"),s=B(n[2]),o=C(),a=B(r),u=C(),A&&A.c(),f=C(),P&&P.c(),d=C(),m&&j(m.$$.fragment),_=C(),F&&F.c(),k=C(),S=b("div"),J&&J.c(),p(l,"class","txt"),ee(l,"txt-hint",n[11]),p(t,"for",c=n[21]),p(e,"class","input-wrapper svelte-dnx4io"),p(S,"class","help-block")},m(K,Q){y(K,e,Q),w(e,t),L&&L.m(t,null),w(t,i),w(t,l),w(l,s),w(l,o),w(l,a),w(t,u),A&&A.m(t,null),w(t,f),P&&P.m(t,null),w(e,d),m&&q(m,e,null),w(e,_),F&&F.m(e,null),y(K,k,Q),y(K,S,Q),J&&J.m(S,null),$=!0,T||(O=Ee(g=He.call(null,e,n[1].system?{text:"System collection rule cannot be changed.",position:"top"}:void 0)),T=!0)},p(K,Q){if(L&&L.p&&(!$||Q&264192)&&Pt(L,M,K,K[18],$?At(M,K[18],Q,B5):Nt(K[18]),Pp),(!$||Q&4)&&re(s,K[2]),(!$||Q&2048)&&r!==(r=K[11]?"- Superusers only":"")&&re(a,r),(!$||Q&2048)&&ee(l,"txt-hint",K[11]),A&&A.p&&(!$||Q&264192)&&Pt(A,I,K,K[18],$?At(I,K[18],Q,V5):Nt(K[18]),Ap),K[5]&&!K[11]?P?P.p(K,Q):(P=Np(K),P.c(),P.m(t,null)):P&&(P.d(1),P=null),(!$||Q&2097152&&c!==(c=K[21]))&&p(t,"for",c),Q&256&&R!==(R=K[8])){if(m){ae();const X=m;D(X.$$.fragment,1,0,()=>{H(X,1)}),ue()}R?(m=jt(R,z(K)),K[16](m),ie.push(()=>ge(m,"value",N)),j(m.$$.fragment),E(m.$$.fragment,1),q(m,e,_)):m=null}else if(R){const X={};Q&2097152&&(X.id=K[21]),Q&2&&(X.baseCollection=K[1]),Q&3072&&(X.disabled=K[10]||K[11]),Q&2112&&(X.placeholder=K[11]?"":K[6]),!h&&Q&1&&(h=!0,X.value=K[0],Te(()=>h=!1)),m.$set(X)}K[5]&&K[11]?F?(F.p(K,Q),Q&2080&&E(F,1)):(F=Rp(K),F.c(),E(F,1),F.m(e,null)):F&&(ae(),D(F,1,1,()=>{F=null}),ue()),g&&It(g.update)&&Q&2&&g.update.call(null,K[1].system?{text:"System collection rule cannot be changed.",position:"top"}:void 0),J&&J.p&&(!$||Q&264192)&&Pt(J,U,K,K[18],$?At(U,K[18],Q,U5):Nt(K[18]),Lp)},i(K){$||(E(L,K),E(A,K),m&&E(m.$$.fragment,K),E(F),E(J,K),$=!0)},o(K){D(L,K),D(A,K),m&&D(m.$$.fragment,K),D(F),D(J,K),$=!1},d(K){K&&(v(e),v(k),v(S)),L&&L.d(K),A&&A.d(K),P&&P.d(),n[16](null),m&&H(m),F&&F.d(),J&&J.d(K),T=!1,O()}}}function J5(n){let e,t,i,l;const s=[Y5,W5],o=[];function r(a,u){return a[9]?0:1}return e=r(n),t=o[e]=s[e](n),{c(){t.c(),i=ye()},m(a,u){o[e].m(a,u),y(a,i,u),l=!0},p(a,[u]){let f=e;e=r(a),e===f?o[e].p(a,u):(ae(),D(o[f],1,1,()=>{o[f]=null}),ue(),t=o[e],t?t.p(a,u):(t=o[e]=s[e](a),t.c()),E(t,1),t.m(i.parentNode,i))},i(a){l||(E(t),l=!0)},o(a){D(t),l=!1},d(a){a&&v(i),o[e].d(a)}}}let qp;function Z5(n,e,t){let i,l,{$$slots:s={},$$scope:o}=e,{collection:r=null}=e,{rule:a=null}=e,{label:u="Rule"}=e,{formKey:f="rule"}=e,{required:c=!1}=e,{disabled:d=!1}=e,{superuserToggle:m=!0}=e,{placeholder:h="Leave empty to grant everyone access..."}=e,_=null,g=null,k=qp,S=!1;$();async function $(){k||S||(t(9,S=!0),t(8,k=(await Tt(async()=>{const{default:I}=await import("./FilterAutocompleteInput-Cars2s_J.js");return{default:I}},__vite__mapDeps([0,1]),import.meta.url)).default),qp=k,t(9,S=!1))}async function T(){t(0,a=g||""),await cn(),_==null||_.focus()}function O(){g=a,t(0,a=null)}function M(I){ie[I?"unshift":"push"](()=>{_=I,t(7,_)})}function L(I){a=I,t(0,a)}return n.$$set=I=>{"collection"in I&&t(1,r=I.collection),"rule"in I&&t(0,a=I.rule),"label"in I&&t(2,u=I.label),"formKey"in I&&t(3,f=I.formKey),"required"in I&&t(4,c=I.required),"disabled"in I&&t(14,d=I.disabled),"superuserToggle"in I&&t(5,m=I.superuserToggle),"placeholder"in I&&t(6,h=I.placeholder),"$$scope"in I&&t(18,o=I.$$scope)},n.$$.update=()=>{n.$$.dirty&33&&t(11,i=m&&a===null),n.$$.dirty&16386&&t(10,l=d||r.system)},[a,r,u,f,c,m,h,_,k,S,l,i,T,O,d,s,M,L,o]}class nl extends Se{constructor(e){super(),we(this,e,Z5,J5,be,{collection:1,rule:0,label:2,formKey:3,required:4,disabled:14,superuserToggle:5,placeholder:6})}}function G5(n){let e,t,i,l,s,o,r,a;return{c(){e=b("input"),i=C(),l=b("label"),s=b("span"),s.textContent="Enable",p(e,"type","checkbox"),p(e,"id",t=n[5]),p(s,"class","txt"),p(l,"for",o=n[5])},m(u,f){y(u,e,f),e.checked=n[0].mfa.enabled,y(u,i,f),y(u,l,f),w(l,s),r||(a=W(e,"change",n[3]),r=!0)},p(u,f){f&32&&t!==(t=u[5])&&p(e,"id",t),f&1&&(e.checked=u[0].mfa.enabled),f&32&&o!==(o=u[5])&&p(l,"for",o)},d(u){u&&(v(e),v(i),v(l)),r=!1,a()}}}function X5(n){let e,t,i,l,s;return{c(){e=b("p"),e.textContent="This optional rule could be used to enable/disable MFA per account basis.",t=C(),i=b("p"),i.innerHTML=`For example, to require MFA only for accounts with non-empty email you can set it to
                         <code>email != &#39;&#39;</code>.`,l=C(),s=b("p"),s.textContent="Leave the rule empty to require MFA for everyone."},m(o,r){y(o,e,r),y(o,t,r),y(o,i,r),y(o,l,r),y(o,s,r)},p:te,d(o){o&&(v(e),v(t),v(i),v(l),v(s))}}}function Q5(n){let e,t,i,l,s,o,r,a,u;l=new fe({props:{class:"form-field form-field-toggle",name:"mfa.enabled",$$slots:{default:[G5,({uniqueId:d})=>({5:d}),({uniqueId:d})=>d?32:0]},$$scope:{ctx:n}}});function f(d){n[4](d)}let c={label:"MFA rule",formKey:"mfa.rule",superuserToggle:!1,disabled:!n[0].mfa.enabled,placeholder:"Leave empty to require MFA for everyone",collection:n[0],$$slots:{default:[X5]},$$scope:{ctx:n}};return n[0].mfa.rule!==void 0&&(c.rule=n[0].mfa.rule),r=new nl({props:c}),ie.push(()=>ge(r,"rule",f)),{c(){e=b("div"),e.innerHTML=`<p class="txt-bold">This feature is experimental and may change in the future.</p> <p>Multi-factor authentication (MFA) requires the user to authenticate with any 2 different auth
             methods (otp, identity/password, oauth2) before issuing an auth token.
             <a href="https://pocketbase.io/docs/authentication/#multi-factor-authentication" target="_blank" rel="noopener noreferrer" class="txt-sm link-hint" title="Learn more"><em>(Learn more)</em> </a>.</p>`,t=C(),i=b("div"),j(l.$$.fragment),s=C(),o=b("div"),j(r.$$.fragment),p(e,"class","content m-b-sm"),p(o,"class","content"),ee(o,"fade",!n[0].mfa.enabled),p(i,"class","grid")},m(d,m){y(d,e,m),y(d,t,m),y(d,i,m),q(l,i,null),w(i,s),w(i,o),q(r,o,null),u=!0},p(d,m){const h={};m&97&&(h.$$scope={dirty:m,ctx:d}),l.$set(h);const _={};m&1&&(_.disabled=!d[0].mfa.enabled),m&1&&(_.collection=d[0]),m&64&&(_.$$scope={dirty:m,ctx:d}),!a&&m&1&&(a=!0,_.rule=d[0].mfa.rule,Te(()=>a=!1)),r.$set(_),(!u||m&1)&&ee(o,"fade",!d[0].mfa.enabled)},i(d){u||(E(l.$$.fragment,d),E(r.$$.fragment,d),u=!0)},o(d){D(l.$$.fragment,d),D(r.$$.fragment,d),u=!1},d(d){d&&(v(e),v(t),v(i)),H(l),H(r)}}}function x5(n){let e;return{c(){e=b("span"),e.textContent="Disabled",p(e,"class","label")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function e6(n){let e;return{c(){e=b("span"),e.textContent="Enabled",p(e,"class","label label-success")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function Hp(n){let e,t,i,l,s;return{c(){e=b("i"),p(e,"class","ri-error-warning-fill txt-danger")},m(o,r){y(o,e,r),i=!0,l||(s=Ee(He.call(null,e,{text:"Has errors",position:"left"})),l=!0)},i(o){i||(o&&et(()=>{i&&(t||(t=je(e,$t,{duration:150,start:.7},!0)),t.run(1))}),i=!0)},o(o){o&&(t||(t=je(e,$t,{duration:150,start:.7},!1)),t.run(0)),i=!1},d(o){o&&v(e),o&&t&&t.end(),l=!1,s()}}}function t6(n){let e,t,i,l,s,o;function r(c,d){return c[0].mfa.enabled?e6:x5}let a=r(n),u=a(n),f=n[1]&&Hp();return{c(){e=b("div"),e.innerHTML='<i class="ri-shield-check-line"></i> <span class="txt">Multi-factor authentication (MFA)</span>',t=C(),i=b("div"),l=C(),u.c(),s=C(),f&&f.c(),o=ye(),p(e,"class","inline-flex"),p(i,"class","flex-fill")},m(c,d){y(c,e,d),y(c,t,d),y(c,i,d),y(c,l,d),u.m(c,d),y(c,s,d),f&&f.m(c,d),y(c,o,d)},p(c,d){a!==(a=r(c))&&(u.d(1),u=a(c),u&&(u.c(),u.m(s.parentNode,s))),c[1]?f?d&2&&E(f,1):(f=Hp(),f.c(),E(f,1),f.m(o.parentNode,o)):f&&(ae(),D(f,1,1,()=>{f=null}),ue())},d(c){c&&(v(e),v(t),v(i),v(l),v(s),v(o)),u.d(c),f&&f.d(c)}}}function n6(n){let e,t;return e=new Hi({props:{single:!0,$$slots:{header:[t6],default:[Q5]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,[l]){const s={};l&67&&(s.$$scope={dirty:l,ctx:i}),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function i6(n,e,t){let i,l;Qe(n,vn,a=>t(2,l=a));let{collection:s}=e;function o(){s.mfa.enabled=this.checked,t(0,s)}function r(a){n.$$.not_equal(s.mfa.rule,a)&&(s.mfa.rule=a,t(0,s))}return n.$$set=a=>{"collection"in a&&t(0,s=a.collection)},n.$$.update=()=>{n.$$.dirty&4&&t(1,i=!V.isEmpty(l==null?void 0:l.mfa))},[s,i,l,o,r]}class l6 extends Se{constructor(e){super(),we(this,e,i6,n6,be,{collection:0})}}const s6=n=>({}),jp=n=>({});function zp(n,e,t){const i=n.slice();return i[50]=e[t],i}const o6=n=>({}),Up=n=>({});function Vp(n,e,t){const i=n.slice();return i[50]=e[t],i[54]=t,i}function Bp(n){let e,t,i;return{c(){e=b("div"),t=B(n[2]),i=C(),p(e,"class","block txt-placeholder"),ee(e,"link-hint",!n[5]&&!n[6])},m(l,s){y(l,e,s),w(e,t),w(e,i)},p(l,s){s[0]&4&&re(t,l[2]),s[0]&96&&ee(e,"link-hint",!l[5]&&!l[6])},d(l){l&&v(e)}}}function r6(n){let e,t=n[50]+"",i;return{c(){e=b("span"),i=B(t),p(e,"class","txt")},m(l,s){y(l,e,s),w(e,i)},p(l,s){s[0]&1&&t!==(t=l[50]+"")&&re(i,t)},i:te,o:te,d(l){l&&v(e)}}}function a6(n){let e,t,i;const l=[{item:n[50]},n[11]];var s=n[10];function o(r,a){let u={};for(let f=0;f<l.length;f+=1)u=ze(u,l[f]);return a!==void 0&&a[0]&2049&&(u=ze(u,wt(l,[a[0]&1&&{item:r[50]},a[0]&2048&&Rt(r[11])]))),{props:u}}return s&&(e=jt(s,o(n))),{c(){e&&j(e.$$.fragment),t=ye()},m(r,a){e&&q(e,r,a),y(r,t,a),i=!0},p(r,a){if(a[0]&1024&&s!==(s=r[10])){if(e){ae();const u=e;D(u.$$.fragment,1,0,()=>{H(u,1)}),ue()}s?(e=jt(s,o(r,a)),j(e.$$.fragment),E(e.$$.fragment,1),q(e,t.parentNode,t)):e=null}else if(s){const u=a[0]&2049?wt(l,[a[0]&1&&{item:r[50]},a[0]&2048&&Rt(r[11])]):{};e.$set(u)}},i(r){i||(e&&E(e.$$.fragment,r),i=!0)},o(r){e&&D(e.$$.fragment,r),i=!1},d(r){r&&v(t),e&&H(e,r)}}}function Wp(n){let e,t,i;function l(){return n[37](n[50])}return{c(){e=b("span"),e.innerHTML='<i class="ri-close-line"></i>',p(e,"class","clear")},m(s,o){y(s,e,o),t||(i=[Ee(He.call(null,e,"Clear")),W(e,"click",Cn(tt(l)))],t=!0)},p(s,o){n=s},d(s){s&&v(e),t=!1,Ie(i)}}}function Yp(n){let e,t,i,l,s,o;const r=[a6,r6],a=[];function u(c,d){return c[10]?0:1}t=u(n),i=a[t]=r[t](n);let f=(n[4]||n[8])&&Wp(n);return{c(){e=b("div"),i.c(),l=C(),f&&f.c(),s=C(),p(e,"class","option")},m(c,d){y(c,e,d),a[t].m(e,null),w(e,l),f&&f.m(e,null),w(e,s),o=!0},p(c,d){let m=t;t=u(c),t===m?a[t].p(c,d):(ae(),D(a[m],1,1,()=>{a[m]=null}),ue(),i=a[t],i?i.p(c,d):(i=a[t]=r[t](c),i.c()),E(i,1),i.m(e,l)),c[4]||c[8]?f?f.p(c,d):(f=Wp(c),f.c(),f.m(e,s)):f&&(f.d(1),f=null)},i(c){o||(E(i),o=!0)},o(c){D(i),o=!1},d(c){c&&v(e),a[t].d(),f&&f.d()}}}function Kp(n){let e,t,i={class:"dropdown dropdown-block options-dropdown dropdown-left "+(n[7]?"dropdown-upside":""),trigger:n[20],$$slots:{default:[c6]},$$scope:{ctx:n}};return e=new Hn({props:i}),n[42](e),e.$on("show",n[26]),e.$on("hide",n[43]),{c(){j(e.$$.fragment)},m(l,s){q(e,l,s),t=!0},p(l,s){const o={};s[0]&128&&(o.class="dropdown dropdown-block options-dropdown dropdown-left "+(l[7]?"dropdown-upside":"")),s[0]&1048576&&(o.trigger=l[20]),s[0]&6451722|s[1]&16384&&(o.$$scope={dirty:s,ctx:l}),e.$set(o)},i(l){t||(E(e.$$.fragment,l),t=!0)},o(l){D(e.$$.fragment,l),t=!1},d(l){n[42](null),H(e,l)}}}function Jp(n){let e,t,i,l,s,o,r,a,u=n[17].length&&Zp(n);return{c(){e=b("div"),t=b("label"),i=b("div"),i.innerHTML='<i class="ri-search-line"></i>',l=C(),s=b("input"),o=C(),u&&u.c(),p(i,"class","addon p-r-0"),s.autofocus=!0,p(s,"type","text"),p(s,"placeholder",n[3]),p(t,"class","input-group"),p(e,"class","form-field form-field-sm options-search")},m(f,c){y(f,e,c),w(e,t),w(t,i),w(t,l),w(t,s),pe(s,n[17]),w(t,o),u&&u.m(t,null),s.focus(),r||(a=W(s,"input",n[39]),r=!0)},p(f,c){c[0]&8&&p(s,"placeholder",f[3]),c[0]&131072&&s.value!==f[17]&&pe(s,f[17]),f[17].length?u?u.p(f,c):(u=Zp(f),u.c(),u.m(t,null)):u&&(u.d(1),u=null)},d(f){f&&v(e),u&&u.d(),r=!1,a()}}}function Zp(n){let e,t,i,l;return{c(){e=b("div"),t=b("button"),t.innerHTML='<i class="ri-close-line"></i>',p(t,"type","button"),p(t,"class","btn btn-sm btn-circle btn-transparent clear"),p(e,"class","addon suffix p-r-5")},m(s,o){y(s,e,o),w(e,t),i||(l=W(t,"click",Cn(tt(n[23]))),i=!0)},p:te,d(s){s&&v(e),i=!1,l()}}}function Gp(n){let e,t=n[1]&&Xp(n);return{c(){t&&t.c(),e=ye()},m(i,l){t&&t.m(i,l),y(i,e,l)},p(i,l){i[1]?t?t.p(i,l):(t=Xp(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(i){i&&v(e),t&&t.d(i)}}}function Xp(n){let e,t;return{c(){e=b("div"),t=B(n[1]),p(e,"class","txt-missing")},m(i,l){y(i,e,l),w(e,t)},p(i,l){l[0]&2&&re(t,i[1])},d(i){i&&v(e)}}}function u6(n){let e=n[50]+"",t;return{c(){t=B(e)},m(i,l){y(i,t,l)},p(i,l){l[0]&4194304&&e!==(e=i[50]+"")&&re(t,e)},i:te,o:te,d(i){i&&v(t)}}}function f6(n){let e,t,i;const l=[{item:n[50]},n[13]];var s=n[12];function o(r,a){let u={};for(let f=0;f<l.length;f+=1)u=ze(u,l[f]);return a!==void 0&&a[0]&4202496&&(u=ze(u,wt(l,[a[0]&4194304&&{item:r[50]},a[0]&8192&&Rt(r[13])]))),{props:u}}return s&&(e=jt(s,o(n))),{c(){e&&j(e.$$.fragment),t=ye()},m(r,a){e&&q(e,r,a),y(r,t,a),i=!0},p(r,a){if(a[0]&4096&&s!==(s=r[12])){if(e){ae();const u=e;D(u.$$.fragment,1,0,()=>{H(u,1)}),ue()}s?(e=jt(s,o(r,a)),j(e.$$.fragment),E(e.$$.fragment,1),q(e,t.parentNode,t)):e=null}else if(s){const u=a[0]&4202496?wt(l,[a[0]&4194304&&{item:r[50]},a[0]&8192&&Rt(r[13])]):{};e.$set(u)}},i(r){i||(e&&E(e.$$.fragment,r),i=!0)},o(r){e&&D(e.$$.fragment,r),i=!1},d(r){r&&v(t),e&&H(e,r)}}}function Qp(n){let e,t,i,l,s,o,r;const a=[f6,u6],u=[];function f(m,h){return m[12]?0:1}t=f(n),i=u[t]=a[t](n);function c(...m){return n[40](n[50],...m)}function d(...m){return n[41](n[50],...m)}return{c(){e=b("div"),i.c(),l=C(),p(e,"tabindex","0"),p(e,"class","dropdown-item option"),p(e,"role","menuitem"),ee(e,"closable",n[9]),ee(e,"selected",n[21](n[50]))},m(m,h){y(m,e,h),u[t].m(e,null),w(e,l),s=!0,o||(r=[W(e,"click",c),W(e,"keydown",d)],o=!0)},p(m,h){n=m;let _=t;t=f(n),t===_?u[t].p(n,h):(ae(),D(u[_],1,1,()=>{u[_]=null}),ue(),i=u[t],i?i.p(n,h):(i=u[t]=a[t](n),i.c()),E(i,1),i.m(e,l)),(!s||h[0]&512)&&ee(e,"closable",n[9]),(!s||h[0]&6291456)&&ee(e,"selected",n[21](n[50]))},i(m){s||(E(i),s=!0)},o(m){D(i),s=!1},d(m){m&&v(e),u[t].d(),o=!1,Ie(r)}}}function c6(n){let e,t,i,l,s,o=n[14]&&Jp(n);const r=n[36].beforeOptions,a=Lt(r,n,n[45],Up);let u=ce(n[22]),f=[];for(let _=0;_<u.length;_+=1)f[_]=Qp(zp(n,u,_));const c=_=>D(f[_],1,1,()=>{f[_]=null});let d=null;u.length||(d=Gp(n));const m=n[36].afterOptions,h=Lt(m,n,n[45],jp);return{c(){o&&o.c(),e=C(),a&&a.c(),t=C(),i=b("div");for(let _=0;_<f.length;_+=1)f[_].c();d&&d.c(),l=C(),h&&h.c(),p(i,"class","options-list")},m(_,g){o&&o.m(_,g),y(_,e,g),a&&a.m(_,g),y(_,t,g),y(_,i,g);for(let k=0;k<f.length;k+=1)f[k]&&f[k].m(i,null);d&&d.m(i,null),y(_,l,g),h&&h.m(_,g),s=!0},p(_,g){if(_[14]?o?o.p(_,g):(o=Jp(_),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null),a&&a.p&&(!s||g[1]&16384)&&Pt(a,r,_,_[45],s?At(r,_[45],g,o6):Nt(_[45]),Up),g[0]&56635906){u=ce(_[22]);let k;for(k=0;k<u.length;k+=1){const S=zp(_,u,k);f[k]?(f[k].p(S,g),E(f[k],1)):(f[k]=Qp(S),f[k].c(),E(f[k],1),f[k].m(i,null))}for(ae(),k=u.length;k<f.length;k+=1)c(k);ue(),!u.length&&d?d.p(_,g):u.length?d&&(d.d(1),d=null):(d=Gp(_),d.c(),d.m(i,null))}h&&h.p&&(!s||g[1]&16384)&&Pt(h,m,_,_[45],s?At(m,_[45],g,s6):Nt(_[45]),jp)},i(_){if(!s){E(a,_);for(let g=0;g<u.length;g+=1)E(f[g]);E(h,_),s=!0}},o(_){D(a,_),f=f.filter(Boolean);for(let g=0;g<f.length;g+=1)D(f[g]);D(h,_),s=!1},d(_){_&&(v(e),v(t),v(i),v(l)),o&&o.d(_),a&&a.d(_),dt(f,_),d&&d.d(),h&&h.d(_)}}}function d6(n){let e,t,i,l,s,o,r=ce(V.toArray(n[0])),a=[];for(let d=0;d<r.length;d+=1)a[d]=Yp(Vp(n,r,d));const u=d=>D(a[d],1,1,()=>{a[d]=null});let f=null;r.length||(f=Bp(n));let c=!n[5]&&!n[6]&&Kp(n);return{c(){e=b("div"),t=b("div");for(let d=0;d<a.length;d+=1)a[d].c();f&&f.c(),l=C(),c&&c.c(),p(t,"tabindex",i=n[5]||n[6]?"-1":"0"),p(t,"class","selected-container"),p(t,"role","button"),ee(t,"disabled",n[5]),ee(t,"readonly",n[6]),p(e,"class",s="select "+n[15]),ee(e,"upside",n[7]),ee(e,"multiple",n[4]),ee(e,"disabled",n[5]),ee(e,"readonly",n[6])},m(d,m){y(d,e,m),w(e,t);for(let h=0;h<a.length;h+=1)a[h]&&a[h].m(t,null);f&&f.m(t,null),n[38](t),w(e,l),c&&c.m(e,null),n[44](e),o=!0},p(d,m){if(m[0]&68981){r=ce(V.toArray(d[0]));let h;for(h=0;h<r.length;h+=1){const _=Vp(d,r,h);a[h]?(a[h].p(_,m),E(a[h],1)):(a[h]=Yp(_),a[h].c(),E(a[h],1),a[h].m(t,null))}for(ae(),h=r.length;h<a.length;h+=1)u(h);ue(),!r.length&&f?f.p(d,m):r.length?f&&(f.d(1),f=null):(f=Bp(d),f.c(),f.m(t,null))}(!o||m[0]&96&&i!==(i=d[5]||d[6]?"-1":"0"))&&p(t,"tabindex",i),(!o||m[0]&32)&&ee(t,"disabled",d[5]),(!o||m[0]&64)&&ee(t,"readonly",d[6]),!d[5]&&!d[6]?c?(c.p(d,m),m[0]&96&&E(c,1)):(c=Kp(d),c.c(),E(c,1),c.m(e,null)):c&&(ae(),D(c,1,1,()=>{c=null}),ue()),(!o||m[0]&32768&&s!==(s="select "+d[15]))&&p(e,"class",s),(!o||m[0]&32896)&&ee(e,"upside",d[7]),(!o||m[0]&32784)&&ee(e,"multiple",d[4]),(!o||m[0]&32800)&&ee(e,"disabled",d[5]),(!o||m[0]&32832)&&ee(e,"readonly",d[6])},i(d){if(!o){for(let m=0;m<r.length;m+=1)E(a[m]);E(c),o=!0}},o(d){a=a.filter(Boolean);for(let m=0;m<a.length;m+=1)D(a[m]);D(c),o=!1},d(d){d&&v(e),dt(a,d),f&&f.d(),n[38](null),c&&c.d(),n[44](null)}}}function p6(n,e){let t=(""+e).replace(/\s+/g,"").toLowerCase(),i=n;try{typeof n=="object"&&n!==null&&(i=JSON.stringify(n))}catch{}return(""+i).replace(/\s+/g,"").toLowerCase().includes(t)}function m6(n,e,t){let i,l,{$$slots:s={},$$scope:o}=e,{id:r=""}=e,{noOptionsText:a="No options found"}=e,{selectPlaceholder:u="- Select -"}=e,{searchPlaceholder:f="Search..."}=e,{items:c=[]}=e,{multiple:d=!1}=e,{disabled:m=!1}=e,{readonly:h=!1}=e,{upside:_=!1}=e,{zeroFunc:g=()=>d?[]:void 0}=e,{selected:k=g()}=e,{toggle:S=d}=e,{closable:$=!0}=e,{labelComponent:T=void 0}=e,{labelComponentProps:O={}}=e,{optionComponent:M=void 0}=e,{optionComponentProps:L={}}=e,{searchable:I=!1}=e,{searchFunc:A=void 0}=e;const P=kt();let{class:N=""}=e,R,z="",F,U;function J(ve){if(V.isEmpty(k))return;let Ce=V.toArray(k);V.inArray(Ce,ve)&&(V.removeByValue(Ce,ve),t(0,k=d?Ce:(Ce==null?void 0:Ce[0])||g())),P("change",{selected:k}),F==null||F.dispatchEvent(new CustomEvent("change",{detail:k,bubbles:!0}))}function K(ve){if(d){let Ce=V.toArray(k);V.inArray(Ce,ve)||t(0,k=[...Ce,ve])}else t(0,k=ve);P("change",{selected:k}),F==null||F.dispatchEvent(new CustomEvent("change",{detail:k,bubbles:!0}))}function Q(ve){return l(ve)?J(ve):K(ve)}function X(){t(0,k=g()),P("change",{selected:k}),F==null||F.dispatchEvent(new CustomEvent("change",{detail:k,bubbles:!0}))}function oe(){R!=null&&R.show&&(R==null||R.show())}function ke(){R!=null&&R.hide&&(R==null||R.hide())}function me(){if(V.isEmpty(k)||V.isEmpty(c))return;let ve=V.toArray(k),Ce=[];for(const ut of ve)V.inArray(c,ut)||Ce.push(ut);if(Ce.length){for(const ut of Ce)V.removeByValue(ve,ut);t(0,k=d?ve:ve[0])}}function $e(){t(17,z="")}function We(ve,Ce){ve=ve||[];const ut=A||p6;return ve.filter(qt=>ut(qt,Ce))||[]}function nt(ve,Ce){ve.preventDefault(),S&&d?Q(Ce):K(Ce)}function st(ve,Ce){(ve.code==="Enter"||ve.code==="Space")&&(nt(ve,Ce),$&&ke())}function Be(){$e(),setTimeout(()=>{const ve=F==null?void 0:F.querySelector(".dropdown-item.option.selected");ve&&(ve.focus(),ve.scrollIntoView({block:"nearest"}))},0)}function xe(ve){ve.stopPropagation(),!h&&!m&&(R==null||R.toggle())}Gt(()=>{const ve=document.querySelectorAll(`label[for="${r}"]`);for(const Ce of ve)Ce.addEventListener("click",xe);return()=>{for(const Ce of ve)Ce.removeEventListener("click",xe)}});const Ze=ve=>J(ve);function at(ve){ie[ve?"unshift":"push"](()=>{U=ve,t(20,U)})}function Ht(){z=this.value,t(17,z)}const Ve=(ve,Ce)=>nt(Ce,ve),Me=(ve,Ce)=>st(Ce,ve);function ot(ve){ie[ve?"unshift":"push"](()=>{R=ve,t(18,R)})}function De(ve){Ne.call(this,n,ve)}function Ye(ve){ie[ve?"unshift":"push"](()=>{F=ve,t(19,F)})}return n.$$set=ve=>{"id"in ve&&t(27,r=ve.id),"noOptionsText"in ve&&t(1,a=ve.noOptionsText),"selectPlaceholder"in ve&&t(2,u=ve.selectPlaceholder),"searchPlaceholder"in ve&&t(3,f=ve.searchPlaceholder),"items"in ve&&t(28,c=ve.items),"multiple"in ve&&t(4,d=ve.multiple),"disabled"in ve&&t(5,m=ve.disabled),"readonly"in ve&&t(6,h=ve.readonly),"upside"in ve&&t(7,_=ve.upside),"zeroFunc"in ve&&t(29,g=ve.zeroFunc),"selected"in ve&&t(0,k=ve.selected),"toggle"in ve&&t(8,S=ve.toggle),"closable"in ve&&t(9,$=ve.closable),"labelComponent"in ve&&t(10,T=ve.labelComponent),"labelComponentProps"in ve&&t(11,O=ve.labelComponentProps),"optionComponent"in ve&&t(12,M=ve.optionComponent),"optionComponentProps"in ve&&t(13,L=ve.optionComponentProps),"searchable"in ve&&t(14,I=ve.searchable),"searchFunc"in ve&&t(30,A=ve.searchFunc),"class"in ve&&t(15,N=ve.class),"$$scope"in ve&&t(45,o=ve.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&268435456&&c&&(me(),$e()),n.$$.dirty[0]&268566528&&t(22,i=We(c,z)),n.$$.dirty[0]&1&&t(21,l=function(ve){const Ce=V.toArray(k);return V.inArray(Ce,ve)})},[k,a,u,f,d,m,h,_,S,$,T,O,M,L,I,N,J,z,R,F,U,l,i,$e,nt,st,Be,r,c,g,A,K,Q,X,oe,ke,s,Ze,at,Ht,Ve,Me,ot,De,Ye,o]}class cs extends Se{constructor(e){super(),we(this,e,m6,d6,be,{id:27,noOptionsText:1,selectPlaceholder:2,searchPlaceholder:3,items:28,multiple:4,disabled:5,readonly:6,upside:7,zeroFunc:29,selected:0,toggle:8,closable:9,labelComponent:10,labelComponentProps:11,optionComponent:12,optionComponentProps:13,searchable:14,searchFunc:30,class:15,deselectItem:16,selectItem:31,toggleItem:32,reset:33,showDropdown:34,hideDropdown:35},null,[-1,-1])}get deselectItem(){return this.$$.ctx[16]}get selectItem(){return this.$$.ctx[31]}get toggleItem(){return this.$$.ctx[32]}get reset(){return this.$$.ctx[33]}get showDropdown(){return this.$$.ctx[34]}get hideDropdown(){return this.$$.ctx[35]}}function h6(n){let e,t,i,l=[{type:"password"},{autocomplete:"new-password"},n[4]],s={};for(let o=0;o<l.length;o+=1)s=ze(s,l[o]);return{c(){e=b("input"),xn(e,s)},m(o,r){y(o,e,r),e.autofocus&&e.focus(),n[5](e),pe(e,n[0]),t||(i=W(e,"input",n[6]),t=!0)},p(o,r){xn(e,s=wt(l,[{type:"password"},{autocomplete:"new-password"},r&16&&o[4]])),r&1&&e.value!==o[0]&&pe(e,o[0])},d(o){o&&v(e),n[5](null),t=!1,i()}}}function _6(n){let e,t,i,l,s,o,r=[{disabled:!0},{type:"text"},{placeholder:"******"},n[4]],a={};for(let u=0;u<r.length;u+=1)a=ze(a,r[u]);return{c(){e=b("div"),t=b("button"),t.innerHTML='<i class="ri-key-line"></i>',i=C(),l=b("input"),p(t,"type","button"),p(t,"class","btn btn-transparent btn-circle"),p(e,"class","form-field-addon"),xn(l,a)},m(u,f){y(u,e,f),w(e,t),y(u,i,f),y(u,l,f),l.autofocus&&l.focus(),s||(o=[Ee(He.call(null,t,{position:"left",text:"Set new value"})),W(t,"click",tt(n[3]))],s=!0)},p(u,f){xn(l,a=wt(r,[{disabled:!0},{type:"text"},{placeholder:"******"},f&16&&u[4]]))},d(u){u&&(v(e),v(i),v(l)),s=!1,Ie(o)}}}function g6(n){let e;function t(s,o){return s[1]?_6:h6}let i=t(n),l=i(n);return{c(){l.c(),e=ye()},m(s,o){l.m(s,o),y(s,e,o)},p(s,[o]){i===(i=t(s))&&l?l.p(s,o):(l.d(1),l=i(s),l&&(l.c(),l.m(e.parentNode,e)))},i:te,o:te,d(s){s&&v(e),l.d(s)}}}function b6(n,e,t){const i=["value","mask"];let l=lt(e,i),{value:s=void 0}=e,{mask:o=!1}=e,r;async function a(){t(0,s=""),t(1,o=!1),await cn(),r==null||r.focus()}function u(c){ie[c?"unshift":"push"](()=>{r=c,t(2,r)})}function f(){s=this.value,t(0,s)}return n.$$set=c=>{e=ze(ze({},e),Vt(c)),t(4,l=lt(e,i)),"value"in c&&t(0,s=c.value),"mask"in c&&t(1,o=c.mask)},[s,o,r,a,l,u,f]}class Qu extends Se{constructor(e){super(),we(this,e,b6,g6,be,{value:0,mask:1})}}function k6(n){let e,t,i,l,s,o,r,a;return{c(){e=b("label"),t=B("Client ID"),l=C(),s=b("input"),p(e,"for",i=n[23]),p(s,"type","text"),p(s,"id",o=n[23])},m(u,f){y(u,e,f),w(e,t),y(u,l,f),y(u,s,f),pe(s,n[1].clientId),r||(a=W(s,"input",n[14]),r=!0)},p(u,f){f&8388608&&i!==(i=u[23])&&p(e,"for",i),f&8388608&&o!==(o=u[23])&&p(s,"id",o),f&2&&s.value!==u[1].clientId&&pe(s,u[1].clientId)},d(u){u&&(v(e),v(l),v(s)),r=!1,a()}}}function v6(n){let e,t,i,l,s,o,r,a;function u(d){n[15](d)}function f(d){n[16](d)}let c={id:n[23]};return n[5]!==void 0&&(c.mask=n[5]),n[1].clientSecret!==void 0&&(c.value=n[1].clientSecret),s=new Qu({props:c}),ie.push(()=>ge(s,"mask",u)),ie.push(()=>ge(s,"value",f)),{c(){e=b("label"),t=B("Client secret"),l=C(),j(s.$$.fragment),p(e,"for",i=n[23])},m(d,m){y(d,e,m),w(e,t),y(d,l,m),q(s,d,m),a=!0},p(d,m){(!a||m&8388608&&i!==(i=d[23]))&&p(e,"for",i);const h={};m&8388608&&(h.id=d[23]),!o&&m&32&&(o=!0,h.mask=d[5],Te(()=>o=!1)),!r&&m&2&&(r=!0,h.value=d[1].clientSecret,Te(()=>r=!1)),s.$set(h)},i(d){a||(E(s.$$.fragment,d),a=!0)},o(d){D(s.$$.fragment,d),a=!1},d(d){d&&(v(e),v(l)),H(s,d)}}}function xp(n){let e,t,i,l;const s=[{key:n[6]},n[3].optionsComponentProps||{}];function o(u){n[17](u)}var r=n[3].optionsComponent;function a(u,f){let c={};for(let d=0;d<s.length;d+=1)c=ze(c,s[d]);return f!==void 0&&f&72&&(c=ze(c,wt(s,[f&64&&{key:u[6]},f&8&&Rt(u[3].optionsComponentProps||{})]))),u[1]!==void 0&&(c.config=u[1]),{props:c}}return r&&(t=jt(r,a(n)),ie.push(()=>ge(t,"config",o))),{c(){e=b("div"),t&&j(t.$$.fragment),p(e,"class","col-lg-12")},m(u,f){y(u,e,f),t&&q(t,e,null),l=!0},p(u,f){if(f&8&&r!==(r=u[3].optionsComponent)){if(t){ae();const c=t;D(c.$$.fragment,1,0,()=>{H(c,1)}),ue()}r?(t=jt(r,a(u,f)),ie.push(()=>ge(t,"config",o)),j(t.$$.fragment),E(t.$$.fragment,1),q(t,e,null)):t=null}else if(r){const c=f&72?wt(s,[f&64&&{key:u[6]},f&8&&Rt(u[3].optionsComponentProps||{})]):{};!i&&f&2&&(i=!0,c.config=u[1],Te(()=>i=!1)),t.$set(c)}},i(u){l||(t&&E(t.$$.fragment,u),l=!0)},o(u){t&&D(t.$$.fragment,u),l=!1},d(u){u&&v(e),t&&H(t)}}}function y6(n){let e,t,i,l,s,o,r,a;t=new fe({props:{class:"form-field required",name:n[6]+".clientId",$$slots:{default:[k6,({uniqueId:f})=>({23:f}),({uniqueId:f})=>f?8388608:0]},$$scope:{ctx:n}}}),l=new fe({props:{class:"form-field required",name:n[6]+".clientSecret",$$slots:{default:[v6,({uniqueId:f})=>({23:f}),({uniqueId:f})=>f?8388608:0]},$$scope:{ctx:n}}});let u=n[3].optionsComponent&&xp(n);return{c(){e=b("form"),j(t.$$.fragment),i=C(),j(l.$$.fragment),s=C(),u&&u.c(),p(e,"id",n[8]),p(e,"autocomplete","off")},m(f,c){y(f,e,c),q(t,e,null),w(e,i),q(l,e,null),w(e,s),u&&u.m(e,null),o=!0,r||(a=W(e,"submit",tt(n[18])),r=!0)},p(f,c){const d={};c&64&&(d.name=f[6]+".clientId"),c&25165826&&(d.$$scope={dirty:c,ctx:f}),t.$set(d);const m={};c&64&&(m.name=f[6]+".clientSecret"),c&25165858&&(m.$$scope={dirty:c,ctx:f}),l.$set(m),f[3].optionsComponent?u?(u.p(f,c),c&8&&E(u,1)):(u=xp(f),u.c(),E(u,1),u.m(e,null)):u&&(ae(),D(u,1,1,()=>{u=null}),ue())},i(f){o||(E(t.$$.fragment,f),E(l.$$.fragment,f),E(u),o=!0)},o(f){D(t.$$.fragment,f),D(l.$$.fragment,f),D(u),o=!1},d(f){f&&v(e),H(t),H(l),u&&u.d(),r=!1,a()}}}function w6(n){let e;return{c(){e=b("i"),p(e,"class","ri-puzzle-line txt-sm txt-hint")},m(t,i){y(t,e,i)},p:te,d(t){t&&v(e)}}}function S6(n){let e,t,i;return{c(){e=b("img"),bn(e.src,t="./images/oauth2/"+n[3].logo)||p(e,"src",t),p(e,"alt",i=n[3].title+" logo")},m(l,s){y(l,e,s)},p(l,s){s&8&&!bn(e.src,t="./images/oauth2/"+l[3].logo)&&p(e,"src",t),s&8&&i!==(i=l[3].title+" logo")&&p(e,"alt",i)},d(l){l&&v(e)}}}function T6(n){let e,t,i,l=n[3].title+"",s,o,r,a,u=n[3].key+"",f,c;function d(_,g){return _[3].logo?S6:w6}let m=d(n),h=m(n);return{c(){e=b("figure"),h.c(),t=C(),i=b("h4"),s=B(l),o=C(),r=b("small"),a=B("("),f=B(u),c=B(")"),p(e,"class","provider-logo"),p(r,"class","txt-hint"),p(i,"class","center txt-break")},m(_,g){y(_,e,g),h.m(e,null),y(_,t,g),y(_,i,g),w(i,s),w(i,o),w(i,r),w(r,a),w(r,f),w(r,c)},p(_,g){m===(m=d(_))&&h?h.p(_,g):(h.d(1),h=m(_),h&&(h.c(),h.m(e,null))),g&8&&l!==(l=_[3].title+"")&&re(s,l),g&8&&u!==(u=_[3].key+"")&&re(f,u)},d(_){_&&(v(e),v(t),v(i)),h.d()}}}function em(n){let e,t,i,l,s;return{c(){e=b("button"),e.innerHTML='<i class="ri-delete-bin-7-line" aria-hidden="true"></i>',t=C(),i=b("div"),p(e,"type","button"),p(e,"class","btn btn-transparent btn-circle btn-hint btn-sm"),p(e,"aria-label","Remove provider"),p(i,"class","flex-fill")},m(o,r){y(o,e,r),y(o,t,r),y(o,i,r),l||(s=[Ee(He.call(null,e,{text:"Remove provider",position:"right"})),W(e,"click",n[10])],l=!0)},p:te,d(o){o&&(v(e),v(t),v(i)),l=!1,Ie(s)}}}function $6(n){let e,t,i,l,s,o,r,a,u=!n[4]&&em(n);return{c(){u&&u.c(),e=C(),t=b("button"),t.textContent="Cancel",i=C(),l=b("button"),s=b("span"),s.textContent="Set provider config",p(t,"type","button"),p(t,"class","btn btn-transparent"),p(s,"class","txt"),p(l,"type","submit"),p(l,"form",n[8]),p(l,"class","btn btn-expanded"),l.disabled=o=!n[7]},m(f,c){u&&u.m(f,c),y(f,e,c),y(f,t,c),y(f,i,c),y(f,l,c),w(l,s),r||(a=W(t,"click",n[0]),r=!0)},p(f,c){f[4]?u&&(u.d(1),u=null):u?u.p(f,c):(u=em(f),u.c(),u.m(e.parentNode,e)),c&128&&o!==(o=!f[7])&&(l.disabled=o)},d(f){f&&(v(e),v(t),v(i),v(l)),u&&u.d(f),r=!1,a()}}}function C6(n){let e,t,i={btnClose:!1,$$slots:{footer:[$6],header:[T6],default:[y6]},$$scope:{ctx:n}};return e=new Xt({props:i}),n[19](e),e.$on("show",n[20]),e.$on("hide",n[21]),{c(){j(e.$$.fragment)},m(l,s){q(e,l,s),t=!0},p(l,[s]){const o={};s&16777466&&(o.$$scope={dirty:s,ctx:l}),e.$set(o)},i(l){t||(E(e.$$.fragment,l),t=!0)},o(l){D(e.$$.fragment,l),t=!1},d(l){n[19](null),H(e,l)}}}function O6(n,e,t){let i,l;const s=kt(),o="provider_popup_"+V.randomString(5);let r,a={},u={},f=!1,c="",d=!1,m=0;function h(P,N,R){t(13,m=R||0),t(4,f=V.isEmpty(N)),t(3,a=Object.assign({},P)),t(1,u=Object.assign({},N)),t(5,d=!!u.clientId),t(12,c=JSON.stringify(u)),r==null||r.show()}function _(){Wn(l),r==null||r.hide()}async function g(){s("submit",{uiOptions:a,config:u}),_()}async function k(){_n(`Do you really want to remove the "${a.title}" OAuth2 provider from the collection?`,()=>{s("remove",{uiOptions:a}),_()})}function S(){u.clientId=this.value,t(1,u)}function $(P){d=P,t(5,d)}function T(P){n.$$.not_equal(u.clientSecret,P)&&(u.clientSecret=P,t(1,u))}function O(P){u=P,t(1,u)}const M=()=>g();function L(P){ie[P?"unshift":"push"](()=>{r=P,t(2,r)})}function I(P){Ne.call(this,n,P)}function A(P){Ne.call(this,n,P)}return n.$$.update=()=>{n.$$.dirty&4098&&t(7,i=JSON.stringify(u)!=c),n.$$.dirty&8192&&t(6,l="oauth2.providers."+m)},[_,u,r,a,f,d,l,i,o,g,k,h,c,m,S,$,T,O,M,L,I,A]}class E6 extends Se{constructor(e){super(),we(this,e,O6,C6,be,{show:11,hide:0})}get show(){return this.$$.ctx[11]}get hide(){return this.$$.ctx[0]}}function M6(n){let e,t,i,l,s,o,r,a;return{c(){e=b("label"),t=B("Client ID"),l=C(),s=b("input"),p(e,"for",i=n[23]),p(s,"type","text"),p(s,"id",o=n[23]),s.required=!0},m(u,f){y(u,e,f),w(e,t),y(u,l,f),y(u,s,f),pe(s,n[2]),r||(a=W(s,"input",n[12]),r=!0)},p(u,f){f&8388608&&i!==(i=u[23])&&p(e,"for",i),f&8388608&&o!==(o=u[23])&&p(s,"id",o),f&4&&s.value!==u[2]&&pe(s,u[2])},d(u){u&&(v(e),v(l),v(s)),r=!1,a()}}}function D6(n){let e,t,i,l,s,o,r,a;return{c(){e=b("label"),t=B("Team ID"),l=C(),s=b("input"),p(e,"for",i=n[23]),p(s,"type","text"),p(s,"id",o=n[23]),s.required=!0},m(u,f){y(u,e,f),w(e,t),y(u,l,f),y(u,s,f),pe(s,n[3]),r||(a=W(s,"input",n[13]),r=!0)},p(u,f){f&8388608&&i!==(i=u[23])&&p(e,"for",i),f&8388608&&o!==(o=u[23])&&p(s,"id",o),f&8&&s.value!==u[3]&&pe(s,u[3])},d(u){u&&(v(e),v(l),v(s)),r=!1,a()}}}function I6(n){let e,t,i,l,s,o,r,a;return{c(){e=b("label"),t=B("Key ID"),l=C(),s=b("input"),p(e,"for",i=n[23]),p(s,"type","text"),p(s,"id",o=n[23]),s.required=!0},m(u,f){y(u,e,f),w(e,t),y(u,l,f),y(u,s,f),pe(s,n[4]),r||(a=W(s,"input",n[14]),r=!0)},p(u,f){f&8388608&&i!==(i=u[23])&&p(e,"for",i),f&8388608&&o!==(o=u[23])&&p(s,"id",o),f&16&&s.value!==u[4]&&pe(s,u[4])},d(u){u&&(v(e),v(l),v(s)),r=!1,a()}}}function L6(n){let e,t,i,l,s,o,r,a,u,f;return{c(){e=b("label"),t=b("span"),t.textContent="Duration (in seconds)",i=C(),l=b("i"),o=C(),r=b("input"),p(t,"class","txt"),p(l,"class","ri-information-line link-hint"),p(e,"for",s=n[23]),p(r,"type","number"),p(r,"id",a=n[23]),p(r,"max",ar),r.required=!0},m(c,d){y(c,e,d),w(e,t),w(e,i),w(e,l),y(c,o,d),y(c,r,d),pe(r,n[6]),u||(f=[Ee(He.call(null,l,{text:`Max ${ar} seconds (~${ar/(60*60*24*30)<<0} months).`,position:"top"})),W(r,"input",n[15])],u=!0)},p(c,d){d&8388608&&s!==(s=c[23])&&p(e,"for",s),d&8388608&&a!==(a=c[23])&&p(r,"id",a),d&64&&gt(r.value)!==c[6]&&pe(r,c[6])},d(c){c&&(v(e),v(o),v(r)),u=!1,Ie(f)}}}function A6(n){let e,t,i,l,s,o,r,a,u,f;return{c(){e=b("label"),t=B("Private key"),l=C(),s=b("textarea"),r=C(),a=b("div"),a.textContent="The key is not stored on the server and it is used only for generating the signed JWT.",p(e,"for",i=n[23]),p(s,"id",o=n[23]),s.required=!0,p(s,"rows","8"),p(s,"placeholder",`-----BEGIN PRIVATE KEY-----
 ...
 -----END PRIVATE KEY-----`),p(a,"class","help-block")},m(c,d){y(c,e,d),w(e,t),y(c,l,d),y(c,s,d),pe(s,n[5]),y(c,r,d),y(c,a,d),u||(f=W(s,"input",n[16]),u=!0)},p(c,d){d&8388608&&i!==(i=c[23])&&p(e,"for",i),d&8388608&&o!==(o=c[23])&&p(s,"id",o),d&32&&pe(s,c[5])},d(c){c&&(v(e),v(l),v(s),v(r),v(a)),u=!1,f()}}}function P6(n){let e,t,i,l,s,o,r,a,u,f,c,d,m,h,_,g,k,S;return l=new fe({props:{class:"form-field required",name:"clientId",$$slots:{default:[M6,({uniqueId:$})=>({23:$}),({uniqueId:$})=>$?8388608:0]},$$scope:{ctx:n}}}),r=new fe({props:{class:"form-field required",name:"teamId",$$slots:{default:[D6,({uniqueId:$})=>({23:$}),({uniqueId:$})=>$?8388608:0]},$$scope:{ctx:n}}}),f=new fe({props:{class:"form-field required",name:"keyId",$$slots:{default:[I6,({uniqueId:$})=>({23:$}),({uniqueId:$})=>$?8388608:0]},$$scope:{ctx:n}}}),m=new fe({props:{class:"form-field required",name:"duration",$$slots:{default:[L6,({uniqueId:$})=>({23:$}),({uniqueId:$})=>$?8388608:0]},$$scope:{ctx:n}}}),_=new fe({props:{class:"form-field required",name:"privateKey",$$slots:{default:[A6,({uniqueId:$})=>({23:$}),({uniqueId:$})=>$?8388608:0]},$$scope:{ctx:n}}}),{c(){e=b("form"),t=b("div"),i=b("div"),j(l.$$.fragment),s=C(),o=b("div"),j(r.$$.fragment),a=C(),u=b("div"),j(f.$$.fragment),c=C(),d=b("div"),j(m.$$.fragment),h=C(),j(_.$$.fragment),p(i,"class","col-lg-6"),p(o,"class","col-lg-6"),p(u,"class","col-lg-6"),p(d,"class","col-lg-6"),p(t,"class","grid"),p(e,"id",n[9]),p(e,"autocomplete","off")},m($,T){y($,e,T),w(e,t),w(t,i),q(l,i,null),w(t,s),w(t,o),q(r,o,null),w(t,a),w(t,u),q(f,u,null),w(t,c),w(t,d),q(m,d,null),w(t,h),q(_,t,null),g=!0,k||(S=W(e,"submit",tt(n[17])),k=!0)},p($,T){const O={};T&25165828&&(O.$$scope={dirty:T,ctx:$}),l.$set(O);const M={};T&25165832&&(M.$$scope={dirty:T,ctx:$}),r.$set(M);const L={};T&25165840&&(L.$$scope={dirty:T,ctx:$}),f.$set(L);const I={};T&25165888&&(I.$$scope={dirty:T,ctx:$}),m.$set(I);const A={};T&25165856&&(A.$$scope={dirty:T,ctx:$}),_.$set(A)},i($){g||(E(l.$$.fragment,$),E(r.$$.fragment,$),E(f.$$.fragment,$),E(m.$$.fragment,$),E(_.$$.fragment,$),g=!0)},o($){D(l.$$.fragment,$),D(r.$$.fragment,$),D(f.$$.fragment,$),D(m.$$.fragment,$),D(_.$$.fragment,$),g=!1},d($){$&&v(e),H(l),H(r),H(f),H(m),H(_),k=!1,S()}}}function N6(n){let e;return{c(){e=b("h4"),e.textContent="Generate Apple client secret",p(e,"class","center txt-break")},m(t,i){y(t,e,i)},p:te,d(t){t&&v(e)}}}function R6(n){let e,t,i,l,s,o,r,a,u,f;return{c(){e=b("button"),t=B("Close"),i=C(),l=b("button"),s=b("i"),o=C(),r=b("span"),r.textContent="Generate and set secret",p(e,"type","button"),p(e,"class","btn btn-transparent"),e.disabled=n[7],p(s,"class","ri-key-line"),p(r,"class","txt"),p(l,"type","submit"),p(l,"form",n[9]),p(l,"class","btn btn-expanded"),l.disabled=a=!n[8]||n[7],ee(l,"btn-loading",n[7])},m(c,d){y(c,e,d),w(e,t),y(c,i,d),y(c,l,d),w(l,s),w(l,o),w(l,r),u||(f=W(e,"click",n[0]),u=!0)},p(c,d){d&128&&(e.disabled=c[7]),d&384&&a!==(a=!c[8]||c[7])&&(l.disabled=a),d&128&&ee(l,"btn-loading",c[7])},d(c){c&&(v(e),v(i),v(l)),u=!1,f()}}}function F6(n){let e,t,i={overlayClose:!n[7],escClose:!n[7],beforeHide:n[18],popup:!0,$$slots:{footer:[R6],header:[N6],default:[P6]},$$scope:{ctx:n}};return e=new Xt({props:i}),n[19](e),e.$on("show",n[20]),e.$on("hide",n[21]),{c(){j(e.$$.fragment)},m(l,s){q(e,l,s),t=!0},p(l,[s]){const o={};s&128&&(o.overlayClose=!l[7]),s&128&&(o.escClose=!l[7]),s&128&&(o.beforeHide=l[18]),s&16777724&&(o.$$scope={dirty:s,ctx:l}),e.$set(o)},i(l){t||(E(e.$$.fragment,l),t=!0)},o(l){D(e.$$.fragment,l),t=!1},d(l){n[19](null),H(e,l)}}}const ar=15777e3;function q6(n,e,t){let i;const l=kt(),s="apple_secret_"+V.randomString(5);let o,r,a,u,f,c,d=!1;function m(P={}){t(2,r=P.clientId||""),t(3,a=P.teamId||""),t(4,u=P.keyId||""),t(5,f=P.privateKey||""),t(6,c=P.duration||ar),zt({}),o==null||o.show()}function h(){return o==null?void 0:o.hide()}async function _(){t(7,d=!0);try{const P=await he.settings.generateAppleClientSecret(r,a,u,f.trim(),c);t(7,d=!1),tn("Successfully generated client secret."),l("submit",P),o==null||o.hide()}catch(P){he.error(P)}t(7,d=!1)}function g(){r=this.value,t(2,r)}function k(){a=this.value,t(3,a)}function S(){u=this.value,t(4,u)}function $(){c=gt(this.value),t(6,c)}function T(){f=this.value,t(5,f)}const O=()=>_(),M=()=>!d;function L(P){ie[P?"unshift":"push"](()=>{o=P,t(1,o)})}function I(P){Ne.call(this,n,P)}function A(P){Ne.call(this,n,P)}return t(8,i=!0),[h,o,r,a,u,f,c,d,i,s,_,m,g,k,S,$,T,O,M,L,I,A]}class H6 extends Se{constructor(e){super(),we(this,e,q6,F6,be,{show:11,hide:0})}get show(){return this.$$.ctx[11]}get hide(){return this.$$.ctx[0]}}function j6(n){let e,t,i,l,s,o,r,a,u,f,c={};return r=new H6({props:c}),n[4](r),r.$on("submit",n[5]),{c(){e=b("button"),t=b("i"),i=C(),l=b("span"),l.textContent="Generate secret",o=C(),j(r.$$.fragment),p(t,"class","ri-key-line"),p(l,"class","txt"),p(e,"type","button"),p(e,"class",s="btn btn-sm btn-secondary btn-provider-"+n[1])},m(d,m){y(d,e,m),w(e,t),w(e,i),w(e,l),y(d,o,m),q(r,d,m),a=!0,u||(f=W(e,"click",n[3]),u=!0)},p(d,[m]){(!a||m&2&&s!==(s="btn btn-sm btn-secondary btn-provider-"+d[1]))&&p(e,"class",s);const h={};r.$set(h)},i(d){a||(E(r.$$.fragment,d),a=!0)},o(d){D(r.$$.fragment,d),a=!1},d(d){d&&(v(e),v(o)),n[4](null),H(r,d),u=!1,f()}}}function z6(n,e,t){let{key:i=""}=e,{config:l={}}=e,s;const o=()=>s==null?void 0:s.show({clientId:l.clientId});function r(u){ie[u?"unshift":"push"](()=>{s=u,t(2,s)})}const a=u=>{var f;t(0,l.clientSecret=((f=u.detail)==null?void 0:f.secret)||"",l)};return n.$$set=u=>{"key"in u&&t(1,i=u.key),"config"in u&&t(0,l=u.config)},[l,i,s,o,r,a]}class U6 extends Se{constructor(e){super(),we(this,e,z6,j6,be,{key:1,config:0})}}function V6(n){let e,t,i,l,s,o,r,a,u,f;return{c(){e=b("label"),t=B("Auth URL"),l=C(),s=b("input"),r=C(),a=b("div"),a.textContent="Ex. https://login.microsoftonline.com/YOUR_DIRECTORY_TENANT_ID/oauth2/v2.0/authorize",p(e,"for",i=n[4]),p(s,"type","url"),p(s,"id",o=n[4]),s.required=!0,p(a,"class","help-block")},m(c,d){y(c,e,d),w(e,t),y(c,l,d),y(c,s,d),pe(s,n[0].authURL),y(c,r,d),y(c,a,d),u||(f=W(s,"input",n[2]),u=!0)},p(c,d){d&16&&i!==(i=c[4])&&p(e,"for",i),d&16&&o!==(o=c[4])&&p(s,"id",o),d&1&&s.value!==c[0].authURL&&pe(s,c[0].authURL)},d(c){c&&(v(e),v(l),v(s),v(r),v(a)),u=!1,f()}}}function B6(n){let e,t,i,l,s,o,r,a,u,f;return{c(){e=b("label"),t=B("Token URL"),l=C(),s=b("input"),r=C(),a=b("div"),a.textContent="Ex. https://login.microsoftonline.com/YOUR_DIRECTORY_TENANT_ID/oauth2/v2.0/token",p(e,"for",i=n[4]),p(s,"type","url"),p(s,"id",o=n[4]),s.required=!0,p(a,"class","help-block")},m(c,d){y(c,e,d),w(e,t),y(c,l,d),y(c,s,d),pe(s,n[0].tokenURL),y(c,r,d),y(c,a,d),u||(f=W(s,"input",n[3]),u=!0)},p(c,d){d&16&&i!==(i=c[4])&&p(e,"for",i),d&16&&o!==(o=c[4])&&p(s,"id",o),d&1&&s.value!==c[0].tokenURL&&pe(s,c[0].tokenURL)},d(c){c&&(v(e),v(l),v(s),v(r),v(a)),u=!1,f()}}}function W6(n){let e,t,i,l,s,o;return i=new fe({props:{class:"form-field required",name:n[1]+".authURL",$$slots:{default:[V6,({uniqueId:r})=>({4:r}),({uniqueId:r})=>r?16:0]},$$scope:{ctx:n}}}),s=new fe({props:{class:"form-field required",name:n[1]+".tokenURL",$$slots:{default:[B6,({uniqueId:r})=>({4:r}),({uniqueId:r})=>r?16:0]},$$scope:{ctx:n}}}),{c(){e=b("div"),e.textContent="Azure AD endpoints",t=C(),j(i.$$.fragment),l=C(),j(s.$$.fragment),p(e,"class","section-title")},m(r,a){y(r,e,a),y(r,t,a),q(i,r,a),y(r,l,a),q(s,r,a),o=!0},p(r,[a]){const u={};a&2&&(u.name=r[1]+".authURL"),a&49&&(u.$$scope={dirty:a,ctx:r}),i.$set(u);const f={};a&2&&(f.name=r[1]+".tokenURL"),a&49&&(f.$$scope={dirty:a,ctx:r}),s.$set(f)},i(r){o||(E(i.$$.fragment,r),E(s.$$.fragment,r),o=!0)},o(r){D(i.$$.fragment,r),D(s.$$.fragment,r),o=!1},d(r){r&&(v(e),v(t),v(l)),H(i,r),H(s,r)}}}function Y6(n,e,t){let{key:i=""}=e,{config:l={}}=e;function s(){l.authURL=this.value,t(0,l)}function o(){l.tokenURL=this.value,t(0,l)}return n.$$set=r=>{"key"in r&&t(1,i=r.key),"config"in r&&t(0,l=r.config)},[l,i,s,o]}class K6 extends Se{constructor(e){super(),we(this,e,Y6,W6,be,{key:1,config:0})}}function tm(n){let e,t;return{c(){e=b("i"),p(e,"class",t="icon "+n[0].icon)},m(i,l){y(i,e,l)},p(i,l){l&1&&t!==(t="icon "+i[0].icon)&&p(e,"class",t)},d(i){i&&v(e)}}}function J6(n){let e,t,i=(n[0].label||n[0].name||n[0].title||n[0].id||n[0].value)+"",l,s=n[0].icon&&tm(n);return{c(){s&&s.c(),e=C(),t=b("span"),l=B(i),p(t,"class","txt")},m(o,r){s&&s.m(o,r),y(o,e,r),y(o,t,r),w(t,l)},p(o,[r]){o[0].icon?s?s.p(o,r):(s=tm(o),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null),r&1&&i!==(i=(o[0].label||o[0].name||o[0].title||o[0].id||o[0].value)+"")&&re(l,i)},i:te,o:te,d(o){o&&(v(e),v(t)),s&&s.d(o)}}}function Z6(n,e,t){let{item:i={}}=e;return n.$$set=l=>{"item"in l&&t(0,i=l.item)},[i]}class nm extends Se{constructor(e){super(),we(this,e,Z6,J6,be,{item:0})}}const G6=n=>({}),im=n=>({});function X6(n){let e;const t=n[8].afterOptions,i=Lt(t,n,n[13],im);return{c(){i&&i.c()},m(l,s){i&&i.m(l,s),e=!0},p(l,s){i&&i.p&&(!e||s&8192)&&Pt(i,t,l,l[13],e?At(t,l[13],s,G6):Nt(l[13]),im)},i(l){e||(E(i,l),e=!0)},o(l){D(i,l),e=!1},d(l){i&&i.d(l)}}}function Q6(n){let e,t,i;const l=[{items:n[1]},{multiple:n[2]},{labelComponent:n[3]},{optionComponent:n[4]},n[5]];function s(r){n[9](r)}let o={$$slots:{afterOptions:[X6]},$$scope:{ctx:n}};for(let r=0;r<l.length;r+=1)o=ze(o,l[r]);return n[0]!==void 0&&(o.selected=n[0]),e=new cs({props:o}),ie.push(()=>ge(e,"selected",s)),e.$on("show",n[10]),e.$on("hide",n[11]),e.$on("change",n[12]),{c(){j(e.$$.fragment)},m(r,a){q(e,r,a),i=!0},p(r,[a]){const u=a&62?wt(l,[a&2&&{items:r[1]},a&4&&{multiple:r[2]},a&8&&{labelComponent:r[3]},a&16&&{optionComponent:r[4]},a&32&&Rt(r[5])]):{};a&8192&&(u.$$scope={dirty:a,ctx:r}),!t&&a&1&&(t=!0,u.selected=r[0],Te(()=>t=!1)),e.$set(u)},i(r){i||(E(e.$$.fragment,r),i=!0)},o(r){D(e.$$.fragment,r),i=!1},d(r){H(e,r)}}}function x6(n,e,t){const i=["items","multiple","selected","labelComponent","optionComponent","selectionKey","keyOfSelected"];let l=lt(e,i),{$$slots:s={},$$scope:o}=e,{items:r=[]}=e,{multiple:a=!1}=e,{selected:u=a?[]:void 0}=e,{labelComponent:f=nm}=e,{optionComponent:c=nm}=e,{selectionKey:d="value"}=e,{keyOfSelected:m=a?[]:void 0}=e;function h(T){T=V.toArray(T,!0);let O=[];for(let M of T){const L=V.findByKey(r,d,M);L&&O.push(L)}T.length&&!O.length||t(0,u=a?O:O[0])}async function _(T){let O=V.toArray(T,!0).map(M=>M[d]);r.length&&t(6,m=a?O:O[0])}function g(T){u=T,t(0,u)}function k(T){Ne.call(this,n,T)}function S(T){Ne.call(this,n,T)}function $(T){Ne.call(this,n,T)}return n.$$set=T=>{e=ze(ze({},e),Vt(T)),t(5,l=lt(e,i)),"items"in T&&t(1,r=T.items),"multiple"in T&&t(2,a=T.multiple),"selected"in T&&t(0,u=T.selected),"labelComponent"in T&&t(3,f=T.labelComponent),"optionComponent"in T&&t(4,c=T.optionComponent),"selectionKey"in T&&t(7,d=T.selectionKey),"keyOfSelected"in T&&t(6,m=T.keyOfSelected),"$$scope"in T&&t(13,o=T.$$scope)},n.$$.update=()=>{n.$$.dirty&66&&r&&h(m),n.$$.dirty&1&&_(u)},[u,r,a,f,c,l,m,d,s,g,k,S,$,o]}class jn extends Se{constructor(e){super(),we(this,e,x6,Q6,be,{items:1,multiple:2,selected:0,labelComponent:3,optionComponent:4,selectionKey:7,keyOfSelected:6})}}function e8(n){let e,t,i,l,s=[{type:t=n[5].type||"text"},{value:n[4]},{disabled:n[3]},{readOnly:n[2]},n[5]],o={};for(let r=0;r<s.length;r+=1)o=ze(o,s[r]);return{c(){e=b("input"),xn(e,o)},m(r,a){y(r,e,a),"value"in o&&(e.value=o.value),e.autofocus&&e.focus(),i||(l=W(e,"input",n[6]),i=!0)},p(r,[a]){xn(e,o=wt(s,[a&32&&t!==(t=r[5].type||"text")&&{type:t},a&16&&e.value!==r[4]&&{value:r[4]},a&8&&{disabled:r[3]},a&4&&{readOnly:r[2]},a&32&&r[5]])),"value"in o&&(e.value=o.value)},i:te,o:te,d(r){r&&v(e),i=!1,l()}}}function t8(n,e,t){let i;const l=["value","separator","readonly","disabled"];let s=lt(e,l),{value:o=[]}=e,{separator:r=","}=e,{readonly:a=null}=e,{disabled:u=null}=e;const f=c=>{t(0,o=V.splitNonEmpty(c.target.value,r))};return n.$$set=c=>{e=ze(ze({},e),Vt(c)),t(5,s=lt(e,l)),"value"in c&&t(0,o=c.value),"separator"in c&&t(1,r=c.separator),"readonly"in c&&t(2,a=c.readonly),"disabled"in c&&t(3,u=c.disabled)},n.$$.update=()=>{n.$$.dirty&3&&t(4,i=V.joinNonEmpty(o,r+" "))},[o,r,a,u,i,s,f]}class ds extends Se{constructor(e){super(),we(this,e,t8,e8,be,{value:0,separator:1,readonly:2,disabled:3})}}function n8(n){let e,t,i,l,s,o,r,a;return{c(){e=b("label"),t=B("Display name"),l=C(),s=b("input"),p(e,"for",i=n[13]),p(s,"type","text"),p(s,"id",o=n[13]),s.required=!0},m(u,f){y(u,e,f),w(e,t),y(u,l,f),y(u,s,f),pe(s,n[0].displayName),r||(a=W(s,"input",n[4]),r=!0)},p(u,f){f&8192&&i!==(i=u[13])&&p(e,"for",i),f&8192&&o!==(o=u[13])&&p(s,"id",o),f&1&&s.value!==u[0].displayName&&pe(s,u[0].displayName)},d(u){u&&(v(e),v(l),v(s)),r=!1,a()}}}function i8(n){let e,t,i,l,s,o,r,a;return{c(){e=b("label"),t=B("Auth URL"),l=C(),s=b("input"),p(e,"for",i=n[13]),p(s,"type","url"),p(s,"id",o=n[13]),s.required=!0},m(u,f){y(u,e,f),w(e,t),y(u,l,f),y(u,s,f),pe(s,n[0].authURL),r||(a=W(s,"input",n[5]),r=!0)},p(u,f){f&8192&&i!==(i=u[13])&&p(e,"for",i),f&8192&&o!==(o=u[13])&&p(s,"id",o),f&1&&s.value!==u[0].authURL&&pe(s,u[0].authURL)},d(u){u&&(v(e),v(l),v(s)),r=!1,a()}}}function l8(n){let e,t,i,l,s,o,r,a;return{c(){e=b("label"),t=B("Token URL"),l=C(),s=b("input"),p(e,"for",i=n[13]),p(s,"type","url"),p(s,"id",o=n[13]),s.required=!0},m(u,f){y(u,e,f),w(e,t),y(u,l,f),y(u,s,f),pe(s,n[0].tokenURL),r||(a=W(s,"input",n[6]),r=!0)},p(u,f){f&8192&&i!==(i=u[13])&&p(e,"for",i),f&8192&&o!==(o=u[13])&&p(s,"id",o),f&1&&s.value!==u[0].tokenURL&&pe(s,u[0].tokenURL)},d(u){u&&(v(e),v(l),v(s)),r=!1,a()}}}function s8(n){let e,t,i,l,s,o,r;function a(f){n[7](f)}let u={id:n[13],items:n[3]};return n[2]!==void 0&&(u.keyOfSelected=n[2]),s=new jn({props:u}),ie.push(()=>ge(s,"keyOfSelected",a)),{c(){e=b("label"),t=B("Fetch user info from"),l=C(),j(s.$$.fragment),p(e,"for",i=n[13])},m(f,c){y(f,e,c),w(e,t),y(f,l,c),q(s,f,c),r=!0},p(f,c){(!r||c&8192&&i!==(i=f[13]))&&p(e,"for",i);const d={};c&8192&&(d.id=f[13]),!o&&c&4&&(o=!0,d.keyOfSelected=f[2],Te(()=>o=!1)),s.$set(d)},i(f){r||(E(s.$$.fragment,f),r=!0)},o(f){D(s.$$.fragment,f),r=!1},d(f){f&&(v(e),v(l)),H(s,f)}}}function o8(n){let e,t,i,l,s,o,r,a;return l=new fe({props:{class:"form-field m-b-xs",name:n[1]+".extra.jwksURL",$$slots:{default:[a8,({uniqueId:u})=>({13:u}),({uniqueId:u})=>u?8192:0]},$$scope:{ctx:n}}}),o=new fe({props:{class:"form-field",name:n[1]+".extra.issuers",$$slots:{default:[u8,({uniqueId:u})=>({13:u}),({uniqueId:u})=>u?8192:0]},$$scope:{ctx:n}}}),{c(){e=b("div"),t=b("p"),t.innerHTML=`<em>Both fields are considered optional because the parsed <code>id_token</code>
-                    is a direct result of the trusted server code-&gt;token exchange response.</em>`,i=C(),j(l.$$.fragment),s=C(),j(o.$$.fragment),p(t,"class","txt-hint txt-sm m-b-xs"),p(e,"class","content")},m(u,f){y(u,e,f),w(e,t),w(e,i),q(l,e,null),w(e,s),q(o,e,null),a=!0},p(u,f){const c={};f&2&&(c.name=u[1]+".extra.jwksURL"),f&24577&&(c.$$scope={dirty:f,ctx:u}),l.$set(c);const d={};f&2&&(d.name=u[1]+".extra.issuers"),f&24577&&(d.$$scope={dirty:f,ctx:u}),o.$set(d)},i(u){a||(E(l.$$.fragment,u),E(o.$$.fragment,u),u&&et(()=>{a&&(r||(r=je(e,mt,{delay:10,duration:150},!0)),r.run(1))}),a=!0)},o(u){D(l.$$.fragment,u),D(o.$$.fragment,u),u&&(r||(r=je(e,mt,{delay:10,duration:150},!1)),r.run(0)),a=!1},d(u){u&&v(e),H(l),H(o),u&&r&&r.end()}}}function r8(n){let e,t,i,l;return t=new fe({props:{class:"form-field required",name:n[1]+".userInfoURL",$$slots:{default:[f8,({uniqueId:s})=>({13:s}),({uniqueId:s})=>s?8192:0]},$$scope:{ctx:n}}}),{c(){e=b("div"),j(t.$$.fragment),p(e,"class","content")},m(s,o){y(s,e,o),q(t,e,null),l=!0},p(s,o){const r={};o&2&&(r.name=s[1]+".userInfoURL"),o&24577&&(r.$$scope={dirty:o,ctx:s}),t.$set(r)},i(s){l||(E(t.$$.fragment,s),s&&et(()=>{l&&(i||(i=je(e,mt,{delay:10,duration:150},!0)),i.run(1))}),l=!0)},o(s){D(t.$$.fragment,s),s&&(i||(i=je(e,mt,{delay:10,duration:150},!1)),i.run(0)),l=!1},d(s){s&&v(e),H(t),s&&i&&i.end()}}}function a8(n){let e,t,i,l,s,o,r,a,u,f;return{c(){e=b("label"),t=b("span"),t.textContent="JWKS verification URL",i=C(),l=b("i"),o=C(),r=b("input"),p(t,"class","txt"),p(l,"class","ri-information-line link-hint"),p(e,"for",s=n[13]),p(r,"type","url"),p(r,"id",a=n[13])},m(c,d){y(c,e,d),w(e,t),w(e,i),w(e,l),y(c,o,d),y(c,r,d),pe(r,n[0].extra.jwksURL),u||(f=[Ee(He.call(null,l,{text:"URL to the public token verification keys.",position:"top"})),W(r,"input",n[9])],u=!0)},p(c,d){d&8192&&s!==(s=c[13])&&p(e,"for",s),d&8192&&a!==(a=c[13])&&p(r,"id",a),d&1&&r.value!==c[0].extra.jwksURL&&pe(r,c[0].extra.jwksURL)},d(c){c&&(v(e),v(o),v(r)),u=!1,Ie(f)}}}function u8(n){let e,t,i,l,s,o,r,a,u,f,c;function d(h){n[10](h)}let m={id:n[13]};return n[0].extra.issuers!==void 0&&(m.value=n[0].extra.issuers),r=new ds({props:m}),ie.push(()=>ge(r,"value",d)),{c(){e=b("label"),t=b("span"),t.textContent="Issuers",i=C(),l=b("i"),o=C(),j(r.$$.fragment),p(t,"class","txt"),p(l,"class","ri-information-line link-hint"),p(e,"for",s=n[13])},m(h,_){y(h,e,_),w(e,t),w(e,i),w(e,l),y(h,o,_),q(r,h,_),u=!0,f||(c=Ee(He.call(null,l,{text:"Comma separated list of accepted values for the iss token claim validation.",position:"top"})),f=!0)},p(h,_){(!u||_&8192&&s!==(s=h[13]))&&p(e,"for",s);const g={};_&8192&&(g.id=h[13]),!a&&_&1&&(a=!0,g.value=h[0].extra.issuers,Te(()=>a=!1)),r.$set(g)},i(h){u||(E(r.$$.fragment,h),u=!0)},o(h){D(r.$$.fragment,h),u=!1},d(h){h&&(v(e),v(o)),H(r,h),f=!1,c()}}}function f8(n){let e,t,i,l,s,o,r,a;return{c(){e=b("label"),t=B("User info URL"),l=C(),s=b("input"),p(e,"for",i=n[13]),p(s,"type","url"),p(s,"id",o=n[13]),s.required=!0},m(u,f){y(u,e,f),w(e,t),y(u,l,f),y(u,s,f),pe(s,n[0].userInfoURL),r||(a=W(s,"input",n[8]),r=!0)},p(u,f){f&8192&&i!==(i=u[13])&&p(e,"for",i),f&8192&&o!==(o=u[13])&&p(s,"id",o),f&1&&s.value!==u[0].userInfoURL&&pe(s,u[0].userInfoURL)},d(u){u&&(v(e),v(l),v(s)),r=!1,a()}}}function c8(n){let e,t,i,l,s,o,r,a,u,f;return{c(){e=b("input"),i=C(),l=b("label"),s=b("span"),s.textContent="Support PKCE",o=C(),r=b("i"),p(e,"type","checkbox"),p(e,"id",t=n[13]),p(s,"class","txt"),p(r,"class","ri-information-line link-hint"),p(l,"for",a=n[13])},m(c,d){y(c,e,d),e.checked=n[0].pkce,y(c,i,d),y(c,l,d),w(l,s),w(l,o),w(l,r),u||(f=[W(e,"change",n[11]),Ee(He.call(null,r,{text:"Usually it should be safe to be always enabled as most providers will just ignore the extra query parameters if they don't support PKCE.",position:"right"}))],u=!0)},p(c,d){d&8192&&t!==(t=c[13])&&p(e,"id",t),d&1&&(e.checked=c[0].pkce),d&8192&&a!==(a=c[13])&&p(l,"for",a)},d(c){c&&(v(e),v(i),v(l)),u=!1,Ie(f)}}}function d8(n){let e,t,i,l,s,o,r,a,u,f,c,d,m,h,_,g;e=new fe({props:{class:"form-field required",name:n[1]+".displayName",$$slots:{default:[n8,({uniqueId:T})=>({13:T}),({uniqueId:T})=>T?8192:0]},$$scope:{ctx:n}}}),s=new fe({props:{class:"form-field required",name:n[1]+".authURL",$$slots:{default:[i8,({uniqueId:T})=>({13:T}),({uniqueId:T})=>T?8192:0]},$$scope:{ctx:n}}}),r=new fe({props:{class:"form-field required",name:n[1]+".tokenURL",$$slots:{default:[l8,({uniqueId:T})=>({13:T}),({uniqueId:T})=>T?8192:0]},$$scope:{ctx:n}}}),u=new fe({props:{class:"form-field m-b-xs",$$slots:{default:[s8,({uniqueId:T})=>({13:T}),({uniqueId:T})=>T?8192:0]},$$scope:{ctx:n}}});const k=[r8,o8],S=[];function $(T,O){return T[2]?0:1}return d=$(n),m=S[d]=k[d](n),_=new fe({props:{class:"form-field",name:n[1]+".pkce",$$slots:{default:[c8,({uniqueId:T})=>({13:T}),({uniqueId:T})=>T?8192:0]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment),t=C(),i=b("div"),i.textContent="Endpoints",l=C(),j(s.$$.fragment),o=C(),j(r.$$.fragment),a=C(),j(u.$$.fragment),f=C(),c=b("div"),m.c(),h=C(),j(_.$$.fragment),p(i,"class","section-title"),p(c,"class","sub-panel m-b-base")},m(T,O){q(e,T,O),y(T,t,O),y(T,i,O),y(T,l,O),q(s,T,O),y(T,o,O),q(r,T,O),y(T,a,O),q(u,T,O),y(T,f,O),y(T,c,O),S[d].m(c,null),y(T,h,O),q(_,T,O),g=!0},p(T,[O]){const M={};O&2&&(M.name=T[1]+".displayName"),O&24577&&(M.$$scope={dirty:O,ctx:T}),e.$set(M);const L={};O&2&&(L.name=T[1]+".authURL"),O&24577&&(L.$$scope={dirty:O,ctx:T}),s.$set(L);const I={};O&2&&(I.name=T[1]+".tokenURL"),O&24577&&(I.$$scope={dirty:O,ctx:T}),r.$set(I);const A={};O&24580&&(A.$$scope={dirty:O,ctx:T}),u.$set(A);let P=d;d=$(T),d===P?S[d].p(T,O):(ae(),D(S[P],1,1,()=>{S[P]=null}),ue(),m=S[d],m?m.p(T,O):(m=S[d]=k[d](T),m.c()),E(m,1),m.m(c,null));const N={};O&2&&(N.name=T[1]+".pkce"),O&24577&&(N.$$scope={dirty:O,ctx:T}),_.$set(N)},i(T){g||(E(e.$$.fragment,T),E(s.$$.fragment,T),E(r.$$.fragment,T),E(u.$$.fragment,T),E(m),E(_.$$.fragment,T),g=!0)},o(T){D(e.$$.fragment,T),D(s.$$.fragment,T),D(r.$$.fragment,T),D(u.$$.fragment,T),D(m),D(_.$$.fragment,T),g=!1},d(T){T&&(v(t),v(i),v(l),v(o),v(a),v(f),v(c),v(h)),H(e,T),H(s,T),H(r,T),H(u,T),S[d].d(),H(_,T)}}}function p8(n,e,t){let{key:i=""}=e,{config:l={}}=e;const s=[{label:"User info URL",value:!0},{label:"ID Token",value:!1}];let o=!!l.userInfoURL;V.isEmpty(l.pkce)&&(l.pkce=!0),l.displayName||(l.displayName="OIDC"),l.extra||(l.extra={},o=!0);function r(){o?t(0,l.extra={},l):(t(0,l.userInfoURL="",l),t(0,l.extra=l.extra||{},l))}function a(){l.displayName=this.value,t(0,l)}function u(){l.authURL=this.value,t(0,l)}function f(){l.tokenURL=this.value,t(0,l)}function c(g){o=g,t(2,o)}function d(){l.userInfoURL=this.value,t(0,l)}function m(){l.extra.jwksURL=this.value,t(0,l)}function h(g){n.$$.not_equal(l.extra.issuers,g)&&(l.extra.issuers=g,t(0,l))}function _(){l.pkce=this.checked,t(0,l)}return n.$$set=g=>{"key"in g&&t(1,i=g.key),"config"in g&&t(0,l=g.config)},n.$$.update=()=>{n.$$.dirty&4&&typeof o!==void 0&&r()},[l,i,o,s,a,u,f,c,d,m,h,_]}class va extends Se{constructor(e){super(),we(this,e,p8,d8,be,{key:1,config:0})}}function m8(n){let e,t,i,l,s,o,r,a;return{c(){e=b("label"),t=B("Auth URL"),l=C(),s=b("input"),p(e,"for",i=n[8]),p(s,"type","url"),p(s,"id",o=n[8]),s.required=n[3]},m(u,f){y(u,e,f),w(e,t),y(u,l,f),y(u,s,f),pe(s,n[0].authURL),r||(a=W(s,"input",n[5]),r=!0)},p(u,f){f&256&&i!==(i=u[8])&&p(e,"for",i),f&256&&o!==(o=u[8])&&p(s,"id",o),f&8&&(s.required=u[3]),f&1&&s.value!==u[0].authURL&&pe(s,u[0].authURL)},d(u){u&&(v(e),v(l),v(s)),r=!1,a()}}}function h8(n){let e,t,i,l,s,o,r,a;return{c(){e=b("label"),t=B("Token URL"),l=C(),s=b("input"),p(e,"for",i=n[8]),p(s,"type","url"),p(s,"id",o=n[8]),s.required=n[3]},m(u,f){y(u,e,f),w(e,t),y(u,l,f),y(u,s,f),pe(s,n[0].tokenURL),r||(a=W(s,"input",n[6]),r=!0)},p(u,f){f&256&&i!==(i=u[8])&&p(e,"for",i),f&256&&o!==(o=u[8])&&p(s,"id",o),f&8&&(s.required=u[3]),f&1&&s.value!==u[0].tokenURL&&pe(s,u[0].tokenURL)},d(u){u&&(v(e),v(l),v(s)),r=!1,a()}}}function _8(n){let e,t,i,l,s,o,r,a;return{c(){e=b("label"),t=B("User info URL"),l=C(),s=b("input"),p(e,"for",i=n[8]),p(s,"type","url"),p(s,"id",o=n[8]),s.required=n[3]},m(u,f){y(u,e,f),w(e,t),y(u,l,f),y(u,s,f),pe(s,n[0].userInfoURL),r||(a=W(s,"input",n[7]),r=!0)},p(u,f){f&256&&i!==(i=u[8])&&p(e,"for",i),f&256&&o!==(o=u[8])&&p(s,"id",o),f&8&&(s.required=u[3]),f&1&&s.value!==u[0].userInfoURL&&pe(s,u[0].userInfoURL)},d(u){u&&(v(e),v(l),v(s)),r=!1,a()}}}function g8(n){let e,t,i,l,s,o,r,a,u;return l=new fe({props:{class:"form-field "+(n[3]?"required":""),name:n[1]+".authURL",$$slots:{default:[m8,({uniqueId:f})=>({8:f}),({uniqueId:f})=>f?256:0]},$$scope:{ctx:n}}}),o=new fe({props:{class:"form-field "+(n[3]?"required":""),name:n[1]+".tokenURL",$$slots:{default:[h8,({uniqueId:f})=>({8:f}),({uniqueId:f})=>f?256:0]},$$scope:{ctx:n}}}),a=new fe({props:{class:"form-field "+(n[3]?"required":""),name:n[1]+".userInfoURL",$$slots:{default:[_8,({uniqueId:f})=>({8:f}),({uniqueId:f})=>f?256:0]},$$scope:{ctx:n}}}),{c(){e=b("div"),t=B(n[2]),i=C(),j(l.$$.fragment),s=C(),j(o.$$.fragment),r=C(),j(a.$$.fragment),p(e,"class","section-title")},m(f,c){y(f,e,c),w(e,t),y(f,i,c),q(l,f,c),y(f,s,c),q(o,f,c),y(f,r,c),q(a,f,c),u=!0},p(f,[c]){(!u||c&4)&&re(t,f[2]);const d={};c&8&&(d.class="form-field "+(f[3]?"required":"")),c&2&&(d.name=f[1]+".authURL"),c&777&&(d.$$scope={dirty:c,ctx:f}),l.$set(d);const m={};c&8&&(m.class="form-field "+(f[3]?"required":"")),c&2&&(m.name=f[1]+".tokenURL"),c&777&&(m.$$scope={dirty:c,ctx:f}),o.$set(m);const h={};c&8&&(h.class="form-field "+(f[3]?"required":"")),c&2&&(h.name=f[1]+".userInfoURL"),c&777&&(h.$$scope={dirty:c,ctx:f}),a.$set(h)},i(f){u||(E(l.$$.fragment,f),E(o.$$.fragment,f),E(a.$$.fragment,f),u=!0)},o(f){D(l.$$.fragment,f),D(o.$$.fragment,f),D(a.$$.fragment,f),u=!1},d(f){f&&(v(e),v(i),v(s),v(r)),H(l,f),H(o,f),H(a,f)}}}function b8(n,e,t){let i,{key:l=""}=e,{config:s={}}=e,{required:o=!1}=e,{title:r="Provider endpoints"}=e;function a(){s.authURL=this.value,t(0,s)}function u(){s.tokenURL=this.value,t(0,s)}function f(){s.userInfoURL=this.value,t(0,s)}return n.$$set=c=>{"key"in c&&t(1,l=c.key),"config"in c&&t(0,s=c.config),"required"in c&&t(4,o=c.required),"title"in c&&t(2,r=c.title)},n.$$.update=()=>{n.$$.dirty&17&&t(3,i=o&&(s==null?void 0:s.enabled))},[s,l,r,i,o,a,u,f]}class ya extends Se{constructor(e){super(),we(this,e,b8,g8,be,{key:1,config:0,required:4,title:2})}}const xu=[{key:"apple",title:"Apple",logo:"apple.svg",optionsComponent:U6},{key:"google",title:"Google",logo:"google.svg"},{key:"microsoft",title:"Microsoft",logo:"microsoft.svg",optionsComponent:K6},{key:"yandex",title:"Yandex",logo:"yandex.svg"},{key:"facebook",title:"Facebook",logo:"facebook.svg"},{key:"instagram2",title:"Instagram",logo:"instagram.svg"},{key:"github",title:"GitHub",logo:"github.svg"},{key:"gitlab",title:"GitLab",logo:"gitlab.svg",optionsComponent:ya,optionsComponentProps:{title:"Self-hosted endpoints (optional)"}},{key:"bitbucket",title:"Bitbucket",logo:"bitbucket.svg"},{key:"gitee",title:"Gitee",logo:"gitee.svg"},{key:"gitea",title:"Gitea",logo:"gitea.svg",optionsComponent:ya,optionsComponentProps:{title:"Self-hosted endpoints (optional)"}},{key:"discord",title:"Discord",logo:"discord.svg"},{key:"twitter",title:"Twitter",logo:"twitter.svg"},{key:"kakao",title:"Kakao",logo:"kakao.svg"},{key:"vk",title:"VK",logo:"vk.svg"},{key:"notion",title:"Notion",logo:"notion.svg"},{key:"monday",title:"monday.com",logo:"monday.svg"},{key:"spotify",title:"Spotify",logo:"spotify.svg"},{key:"twitch",title:"Twitch",logo:"twitch.svg"},{key:"patreon",title:"Patreon (v2)",logo:"patreon.svg"},{key:"strava",title:"Strava",logo:"strava.svg"},{key:"livechat",title:"LiveChat",logo:"livechat.svg"},{key:"mailcow",title:"mailcow",logo:"mailcow.svg",optionsComponent:ya,optionsComponentProps:{required:!0}},{key:"planningcenter",title:"Planning Center",logo:"planningcenter.svg"},{key:"oidc",title:"OpenID Connect",logo:"oidc.svg",optionsComponent:va},{key:"oidc2",title:"(2) OpenID Connect",logo:"oidc.svg",optionsComponent:va},{key:"oidc3",title:"(3) OpenID Connect",logo:"oidc.svg",optionsComponent:va}];function lm(n,e,t){const i=n.slice();return i[16]=e[t],i}function sm(n){let e,t,i,l,s;return{c(){e=b("button"),e.innerHTML='<span class="txt">Clear</span>',p(e,"type","button"),p(e,"class","btn btn-transparent btn-sm btn-hint p-l-xs p-r-xs m-l-10")},m(o,r){y(o,e,r),i=!0,l||(s=W(e,"click",n[9]),l=!0)},p:te,i(o){i||(o&&et(()=>{i&&(t||(t=je(e,Fn,{duration:150,x:5},!0)),t.run(1))}),i=!0)},o(o){o&&(t||(t=je(e,Fn,{duration:150,x:5},!1)),t.run(0)),i=!1},d(o){o&&v(e),o&&t&&t.end(),l=!1,s()}}}function k8(n){let e,t,i,l,s,o,r,a,u,f,c=n[1]!=""&&sm(n);return{c(){e=b("label"),t=b("i"),l=C(),s=b("input"),r=C(),c&&c.c(),a=ye(),p(t,"class","ri-search-line"),p(e,"for",i=n[19]),p(e,"class","m-l-10 txt-xl"),p(s,"id",o=n[19]),p(s,"type","text"),p(s,"placeholder","Search provider")},m(d,m){y(d,e,m),w(e,t),y(d,l,m),y(d,s,m),pe(s,n[1]),y(d,r,m),c&&c.m(d,m),y(d,a,m),u||(f=W(s,"input",n[8]),u=!0)},p(d,m){m&524288&&i!==(i=d[19])&&p(e,"for",i),m&524288&&o!==(o=d[19])&&p(s,"id",o),m&2&&s.value!==d[1]&&pe(s,d[1]),d[1]!=""?c?(c.p(d,m),m&2&&E(c,1)):(c=sm(d),c.c(),E(c,1),c.m(a.parentNode,a)):c&&(ae(),D(c,1,1,()=>{c=null}),ue())},d(d){d&&(v(e),v(l),v(s),v(r),v(a)),c&&c.d(d),u=!1,f()}}}function om(n){let e,t,i,l,s=n[1]!=""&&rm(n);return{c(){e=b("div"),t=b("span"),t.textContent="No providers to select.",i=C(),s&&s.c(),l=C(),p(t,"class","txt-hint"),p(e,"class","flex inline-flex")},m(o,r){y(o,e,r),w(e,t),w(e,i),s&&s.m(e,null),w(e,l)},p(o,r){o[1]!=""?s?s.p(o,r):(s=rm(o),s.c(),s.m(e,l)):s&&(s.d(1),s=null)},d(o){o&&v(e),s&&s.d()}}}function rm(n){let e,t,i;return{c(){e=b("button"),e.textContent="Clear filter",p(e,"type","button"),p(e,"class","btn btn-sm btn-secondary")},m(l,s){y(l,e,s),t||(i=W(e,"click",n[5]),t=!0)},p:te,d(l){l&&v(e),t=!1,i()}}}function am(n){let e,t,i;return{c(){e=b("img"),bn(e.src,t="./images/oauth2/"+n[16].logo)||p(e,"src",t),p(e,"alt",i=n[16].title+" logo")},m(l,s){y(l,e,s)},p(l,s){s&8&&!bn(e.src,t="./images/oauth2/"+l[16].logo)&&p(e,"src",t),s&8&&i!==(i=l[16].title+" logo")&&p(e,"alt",i)},d(l){l&&v(e)}}}function um(n,e){let t,i,l,s,o,r,a=e[16].title+"",u,f,c,d=e[16].key+"",m,h,_,g,k=e[16].logo&&am(e);function S(){return e[10](e[16])}return{key:n,first:null,c(){t=b("div"),i=b("button"),l=b("figure"),k&&k.c(),s=C(),o=b("div"),r=b("div"),u=B(a),f=C(),c=b("em"),m=B(d),h=C(),p(l,"class","provider-logo"),p(r,"class","title"),p(c,"class","txt-hint txt-sm m-r-auto"),p(o,"class","content"),p(i,"type","button"),p(i,"class","provider-card handle"),p(t,"class","col-lg-6"),this.first=t},m($,T){y($,t,T),w(t,i),w(i,l),k&&k.m(l,null),w(i,s),w(i,o),w(o,r),w(r,u),w(o,f),w(o,c),w(c,m),w(t,h),_||(g=W(i,"click",S),_=!0)},p($,T){e=$,e[16].logo?k?k.p(e,T):(k=am(e),k.c(),k.m(l,null)):k&&(k.d(1),k=null),T&8&&a!==(a=e[16].title+"")&&re(u,a),T&8&&d!==(d=e[16].key+"")&&re(m,d)},d($){$&&v(t),k&&k.d(),_=!1,g()}}}function v8(n){let e,t,i,l=[],s=new Map,o;e=new fe({props:{class:"searchbar m-b-sm",$$slots:{default:[k8,({uniqueId:f})=>({19:f}),({uniqueId:f})=>f?524288:0]},$$scope:{ctx:n}}});let r=ce(n[3]);const a=f=>f[16].key;for(let f=0;f<r.length;f+=1){let c=lm(n,r,f),d=a(c);s.set(d,l[f]=um(d,c))}let u=null;return r.length||(u=om(n)),{c(){j(e.$$.fragment),t=C(),i=b("div");for(let f=0;f<l.length;f+=1)l[f].c();u&&u.c(),p(i,"class","grid grid-sm")},m(f,c){q(e,f,c),y(f,t,c),y(f,i,c);for(let d=0;d<l.length;d+=1)l[d]&&l[d].m(i,null);u&&u.m(i,null),o=!0},p(f,c){const d={};c&1572866&&(d.$$scope={dirty:c,ctx:f}),e.$set(d),c&58&&(r=ce(f[3]),l=yt(l,c,a,1,f,r,s,i,di,um,null,lm),!r.length&&u?u.p(f,c):r.length?u&&(u.d(1),u=null):(u=om(f),u.c(),u.m(i,null)))},i(f){o||(E(e.$$.fragment,f),o=!0)},o(f){D(e.$$.fragment,f),o=!1},d(f){f&&(v(t),v(i)),H(e,f);for(let c=0;c<l.length;c+=1)l[c].d();u&&u.d()}}}function y8(n){let e;return{c(){e=b("h4"),e.textContent="Add OAuth2 provider",p(e,"class","center txt-break")},m(t,i){y(t,e,i)},p:te,d(t){t&&v(e)}}}function w8(n){let e,t,i;return{c(){e=b("button"),e.textContent="Cancel",p(e,"type","button"),p(e,"class","btn btn-transparent")},m(l,s){y(l,e,s),t||(i=W(e,"click",n[0]),t=!0)},p:te,d(l){l&&v(e),t=!1,i()}}}function S8(n){let e,t,i={btnClose:!1,$$slots:{footer:[w8],header:[y8],default:[v8]},$$scope:{ctx:n}};return e=new Xt({props:i}),n[11](e),e.$on("show",n[12]),e.$on("hide",n[13]),{c(){j(e.$$.fragment)},m(l,s){q(e,l,s),t=!0},p(l,[s]){const o={};s&1048586&&(o.$$scope={dirty:s,ctx:l}),e.$set(o)},i(l){t||(E(e.$$.fragment,l),t=!0)},o(l){D(e.$$.fragment,l),t=!1},d(l){n[11](null),H(e,l)}}}function T8(n,e,t){const i=kt();let{disabled:l=[]}=e,s,o="",r=[];function a(){d(),s==null||s.show()}function u(){return s==null?void 0:s.hide()}function f($){i("select",$),u()}function c(){const $=(o||"").toLowerCase();return xu.filter(T=>!l.includes(T.key)&&($==""||T.key.toLowerCase().includes($)||T.title.toLowerCase().includes($)))}function d(){t(1,o="")}function m(){o=this.value,t(1,o)}const h=()=>t(1,o=""),_=$=>f($);function g($){ie[$?"unshift":"push"](()=>{s=$,t(2,s)})}function k($){Ne.call(this,n,$)}function S($){Ne.call(this,n,$)}return n.$$set=$=>{"disabled"in $&&t(6,l=$.disabled)},n.$$.update=()=>{n.$$.dirty&66&&(o!==-1||l!==-1)&&t(3,r=c())},[u,o,s,r,f,d,l,a,m,h,_,g,k,S]}class $8 extends Se{constructor(e){super(),we(this,e,T8,S8,be,{disabled:6,show:7,hide:0})}get show(){return this.$$.ctx[7]}get hide(){return this.$$.ctx[0]}}function fm(n,e,t){const i=n.slice();i[28]=e[t],i[31]=t;const l=i[9](i[28].name);return i[29]=l,i}function C8(n){let e,t,i,l,s,o,r,a;return{c(){e=b("input"),i=C(),l=b("label"),s=B("Enable"),p(e,"type","checkbox"),p(e,"id",t=n[27]),p(l,"for",o=n[27])},m(u,f){y(u,e,f),e.checked=n[0].oauth2.enabled,y(u,i,f),y(u,l,f),w(l,s),r||(a=W(e,"change",n[10]),r=!0)},p(u,f){f[0]&134217728&&t!==(t=u[27])&&p(e,"id",t),f[0]&1&&(e.checked=u[0].oauth2.enabled),f[0]&134217728&&o!==(o=u[27])&&p(l,"for",o)},d(u){u&&(v(e),v(i),v(l)),r=!1,a()}}}function O8(n){let e;return{c(){e=b("i"),p(e,"class","ri-puzzle-line txt-sm txt-hint")},m(t,i){y(t,e,i)},p:te,d(t){t&&v(e)}}}function E8(n){let e,t,i;return{c(){e=b("img"),bn(e.src,t="./images/oauth2/"+n[29].logo)||p(e,"src",t),p(e,"alt",i=n[29].title+" logo")},m(l,s){y(l,e,s)},p(l,s){s[0]&1&&!bn(e.src,t="./images/oauth2/"+l[29].logo)&&p(e,"src",t),s[0]&1&&i!==(i=l[29].title+" logo")&&p(e,"alt",i)},d(l){l&&v(e)}}}function cm(n){let e,t,i;function l(){return n[11](n[29],n[28],n[31])}return{c(){e=b("button"),e.innerHTML='<i class="ri-settings-4-line"></i>',p(e,"type","button"),p(e,"class","btn btn-circle btn-hint btn-transparent"),p(e,"aria-label","Provider settings")},m(s,o){y(s,e,o),t||(i=[Ee(He.call(null,e,{text:"Edit config",position:"left"})),W(e,"click",l)],t=!0)},p(s,o){n=s},d(s){s&&v(e),t=!1,Ie(i)}}}function dm(n,e){var $;let t,i,l,s,o,r,a=(e[28].displayName||(($=e[29])==null?void 0:$.title)||"Custom")+"",u,f,c,d=e[28].name+"",m,h;function _(T,O){var M;return(M=T[29])!=null&&M.logo?E8:O8}let g=_(e),k=g(e),S=e[29]&&cm(e);return{key:n,first:null,c(){var T,O,M;t=b("div"),i=b("div"),l=b("figure"),k.c(),s=C(),o=b("div"),r=b("div"),u=B(a),f=C(),c=b("em"),m=B(d),h=C(),S&&S.c(),p(l,"class","provider-logo"),p(r,"class","title"),p(c,"class","txt-hint txt-sm m-r-auto"),p(o,"class","content"),p(i,"class","provider-card"),ee(i,"error",!V.isEmpty((M=(O=(T=e[1])==null?void 0:T.oauth2)==null?void 0:O.providers)==null?void 0:M[e[31]])),p(t,"class","col-lg-6"),this.first=t},m(T,O){y(T,t,O),w(t,i),w(i,l),k.m(l,null),w(i,s),w(i,o),w(o,r),w(r,u),w(o,f),w(o,c),w(c,m),w(i,h),S&&S.m(i,null)},p(T,O){var M,L,I,A;e=T,g===(g=_(e))&&k?k.p(e,O):(k.d(1),k=g(e),k&&(k.c(),k.m(l,null))),O[0]&1&&a!==(a=(e[28].displayName||((M=e[29])==null?void 0:M.title)||"Custom")+"")&&re(u,a),O[0]&1&&d!==(d=e[28].name+"")&&re(m,d),e[29]?S?S.p(e,O):(S=cm(e),S.c(),S.m(i,null)):S&&(S.d(1),S=null),O[0]&3&&ee(i,"error",!V.isEmpty((A=(I=(L=e[1])==null?void 0:L.oauth2)==null?void 0:I.providers)==null?void 0:A[e[31]]))},d(T){T&&v(t),k.d(),S&&S.d()}}}function M8(n){let e;return{c(){e=b("i"),p(e,"class","ri-arrow-down-s-line txt-sm")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function D8(n){let e;return{c(){e=b("i"),p(e,"class","ri-arrow-up-s-line txt-sm")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function pm(n){let e,t,i,l,s,o,r,a,u,f,c,d,m,h,_;return l=new fe({props:{class:"form-field form-field-toggle",name:"oauth2.mappedFields.name",$$slots:{default:[I8,({uniqueId:g})=>({27:g}),({uniqueId:g})=>[g?134217728:0]]},$$scope:{ctx:n}}}),r=new fe({props:{class:"form-field form-field-toggle",name:"oauth2.mappedFields.avatarURL",$$slots:{default:[L8,({uniqueId:g})=>({27:g}),({uniqueId:g})=>[g?134217728:0]]},$$scope:{ctx:n}}}),f=new fe({props:{class:"form-field form-field-toggle",name:"oauth2.mappedFields.id",$$slots:{default:[A8,({uniqueId:g})=>({27:g}),({uniqueId:g})=>[g?134217728:0]]},$$scope:{ctx:n}}}),m=new fe({props:{class:"form-field form-field-toggle",name:"oauth2.mappedFields.username",$$slots:{default:[P8,({uniqueId:g})=>({27:g}),({uniqueId:g})=>[g?134217728:0]]},$$scope:{ctx:n}}}),{c(){e=b("div"),t=b("div"),i=b("div"),j(l.$$.fragment),s=C(),o=b("div"),j(r.$$.fragment),a=C(),u=b("div"),j(f.$$.fragment),c=C(),d=b("div"),j(m.$$.fragment),p(i,"class","col-sm-6"),p(o,"class","col-sm-6"),p(u,"class","col-sm-6"),p(d,"class","col-sm-6"),p(t,"class","grid grid-sm p-t-xs"),p(e,"class","block")},m(g,k){y(g,e,k),w(e,t),w(t,i),q(l,i,null),w(t,s),w(t,o),q(r,o,null),w(t,a),w(t,u),q(f,u,null),w(t,c),w(t,d),q(m,d,null),_=!0},p(g,k){const S={};k[0]&134217761|k[1]&2&&(S.$$scope={dirty:k,ctx:g}),l.$set(S);const $={};k[0]&134217793|k[1]&2&&($.$$scope={dirty:k,ctx:g}),r.$set($);const T={};k[0]&134217761|k[1]&2&&(T.$$scope={dirty:k,ctx:g}),f.$set(T);const O={};k[0]&134217761|k[1]&2&&(O.$$scope={dirty:k,ctx:g}),m.$set(O)},i(g){_||(E(l.$$.fragment,g),E(r.$$.fragment,g),E(f.$$.fragment,g),E(m.$$.fragment,g),g&&et(()=>{_&&(h||(h=je(e,mt,{duration:150},!0)),h.run(1))}),_=!0)},o(g){D(l.$$.fragment,g),D(r.$$.fragment,g),D(f.$$.fragment,g),D(m.$$.fragment,g),g&&(h||(h=je(e,mt,{duration:150},!1)),h.run(0)),_=!1},d(g){g&&v(e),H(l),H(r),H(f),H(m),g&&h&&h.end()}}}function I8(n){let e,t,i,l,s,o,r;function a(f){n[14](f)}let u={id:n[27],items:n[5],toggle:!0,zeroFunc:j8,selectPlaceholder:"Select field"};return n[0].oauth2.mappedFields.name!==void 0&&(u.selected=n[0].oauth2.mappedFields.name),s=new cs({props:u}),ie.push(()=>ge(s,"selected",a)),{c(){e=b("label"),t=B("OAuth2 full name"),l=C(),j(s.$$.fragment),p(e,"for",i=n[27])},m(f,c){y(f,e,c),w(e,t),y(f,l,c),q(s,f,c),r=!0},p(f,c){(!r||c[0]&134217728&&i!==(i=f[27]))&&p(e,"for",i);const d={};c[0]&134217728&&(d.id=f[27]),c[0]&32&&(d.items=f[5]),!o&&c[0]&1&&(o=!0,d.selected=f[0].oauth2.mappedFields.name,Te(()=>o=!1)),s.$set(d)},i(f){r||(E(s.$$.fragment,f),r=!0)},o(f){D(s.$$.fragment,f),r=!1},d(f){f&&(v(e),v(l)),H(s,f)}}}function L8(n){let e,t,i,l,s,o,r;function a(f){n[15](f)}let u={id:n[27],items:n[6],toggle:!0,zeroFunc:z8,selectPlaceholder:"Select field"};return n[0].oauth2.mappedFields.avatarURL!==void 0&&(u.selected=n[0].oauth2.mappedFields.avatarURL),s=new cs({props:u}),ie.push(()=>ge(s,"selected",a)),{c(){e=b("label"),t=B("OAuth2 avatar"),l=C(),j(s.$$.fragment),p(e,"for",i=n[27])},m(f,c){y(f,e,c),w(e,t),y(f,l,c),q(s,f,c),r=!0},p(f,c){(!r||c[0]&134217728&&i!==(i=f[27]))&&p(e,"for",i);const d={};c[0]&134217728&&(d.id=f[27]),c[0]&64&&(d.items=f[6]),!o&&c[0]&1&&(o=!0,d.selected=f[0].oauth2.mappedFields.avatarURL,Te(()=>o=!1)),s.$set(d)},i(f){r||(E(s.$$.fragment,f),r=!0)},o(f){D(s.$$.fragment,f),r=!1},d(f){f&&(v(e),v(l)),H(s,f)}}}function A8(n){let e,t,i,l,s,o,r;function a(f){n[16](f)}let u={id:n[27],items:n[5],toggle:!0,zeroFunc:U8,selectPlaceholder:"Select field"};return n[0].oauth2.mappedFields.id!==void 0&&(u.selected=n[0].oauth2.mappedFields.id),s=new cs({props:u}),ie.push(()=>ge(s,"selected",a)),{c(){e=b("label"),t=B("OAuth2 id"),l=C(),j(s.$$.fragment),p(e,"for",i=n[27])},m(f,c){y(f,e,c),w(e,t),y(f,l,c),q(s,f,c),r=!0},p(f,c){(!r||c[0]&134217728&&i!==(i=f[27]))&&p(e,"for",i);const d={};c[0]&134217728&&(d.id=f[27]),c[0]&32&&(d.items=f[5]),!o&&c[0]&1&&(o=!0,d.selected=f[0].oauth2.mappedFields.id,Te(()=>o=!1)),s.$set(d)},i(f){r||(E(s.$$.fragment,f),r=!0)},o(f){D(s.$$.fragment,f),r=!1},d(f){f&&(v(e),v(l)),H(s,f)}}}function P8(n){let e,t,i,l,s,o,r;function a(f){n[17](f)}let u={id:n[27],items:n[5],toggle:!0,zeroFunc:V8,selectPlaceholder:"Select field"};return n[0].oauth2.mappedFields.username!==void 0&&(u.selected=n[0].oauth2.mappedFields.username),s=new cs({props:u}),ie.push(()=>ge(s,"selected",a)),{c(){e=b("label"),t=B("OAuth2 username"),l=C(),j(s.$$.fragment),p(e,"for",i=n[27])},m(f,c){y(f,e,c),w(e,t),y(f,l,c),q(s,f,c),r=!0},p(f,c){(!r||c[0]&134217728&&i!==(i=f[27]))&&p(e,"for",i);const d={};c[0]&134217728&&(d.id=f[27]),c[0]&32&&(d.items=f[5]),!o&&c[0]&1&&(o=!0,d.selected=f[0].oauth2.mappedFields.username,Te(()=>o=!1)),s.$set(d)},i(f){r||(E(s.$$.fragment,f),r=!0)},o(f){D(s.$$.fragment,f),r=!1},d(f){f&&(v(e),v(l)),H(s,f)}}}function N8(n){let e,t,i,l=[],s=new Map,o,r,a,u,f,c,d,m=n[0].name+"",h,_,g,k,S,$,T,O,M;e=new fe({props:{class:"form-field form-field-toggle",name:"oauth2.enabled",$$slots:{default:[C8,({uniqueId:z})=>({27:z}),({uniqueId:z})=>[z?134217728:0]]},$$scope:{ctx:n}}});let L=ce(n[0].oauth2.providers);const I=z=>z[28].name;for(let z=0;z<L.length;z+=1){let F=fm(n,L,z),U=I(F);s.set(U,l[z]=dm(U,F))}function A(z,F){return z[4]?D8:M8}let P=A(n),N=P(n),R=n[4]&&pm(n);return{c(){j(e.$$.fragment),t=C(),i=b("div");for(let z=0;z<l.length;z+=1)l[z].c();o=C(),r=b("div"),a=b("button"),a.innerHTML='<i class="ri-add-line"></i> <span class="txt">Add provider</span>',u=C(),f=b("button"),c=b("strong"),d=B("Optional "),h=B(m),_=B(" create fields map"),g=C(),N.c(),S=C(),R&&R.c(),$=ye(),p(a,"class","btn btn-block btn-lg btn-secondary txt-base"),p(r,"class","col-lg-6"),p(i,"class","grid grid-sm"),p(c,"class","txt"),p(f,"type","button"),p(f,"class",k="m-t-25 btn btn-sm "+(n[4]?"btn-secondary":"btn-hint btn-transparent"))},m(z,F){q(e,z,F),y(z,t,F),y(z,i,F);for(let U=0;U<l.length;U+=1)l[U]&&l[U].m(i,null);w(i,o),w(i,r),w(r,a),y(z,u,F),y(z,f,F),w(f,c),w(c,d),w(c,h),w(c,_),w(f,g),N.m(f,null),y(z,S,F),R&&R.m(z,F),y(z,$,F),T=!0,O||(M=[W(a,"click",n[12]),W(f,"click",n[13])],O=!0)},p(z,F){const U={};F[0]&134217729|F[1]&2&&(U.$$scope={dirty:F,ctx:z}),e.$set(U),F[0]&523&&(L=ce(z[0].oauth2.providers),l=yt(l,F,I,1,z,L,s,i,di,dm,o,fm)),(!T||F[0]&1)&&m!==(m=z[0].name+"")&&re(h,m),P!==(P=A(z))&&(N.d(1),N=P(z),N&&(N.c(),N.m(f,null))),(!T||F[0]&16&&k!==(k="m-t-25 btn btn-sm "+(z[4]?"btn-secondary":"btn-hint btn-transparent")))&&p(f,"class",k),z[4]?R?(R.p(z,F),F[0]&16&&E(R,1)):(R=pm(z),R.c(),E(R,1),R.m($.parentNode,$)):R&&(ae(),D(R,1,1,()=>{R=null}),ue())},i(z){T||(E(e.$$.fragment,z),E(R),T=!0)},o(z){D(e.$$.fragment,z),D(R),T=!1},d(z){z&&(v(t),v(i),v(u),v(f),v(S),v($)),H(e,z);for(let F=0;F<l.length;F+=1)l[F].d();N.d(),R&&R.d(z),O=!1,Ie(M)}}}function R8(n){let e;return{c(){e=b("span"),e.textContent="Disabled",p(e,"class","label")},m(t,i){y(t,e,i)},p:te,d(t){t&&v(e)}}}function F8(n){let e,t,i,l=n[7]==1?"provider":"providers",s,o,r;return{c(){e=b("span"),t=B(n[7]),i=C(),s=B(l),o=C(),r=b("span"),r.textContent="Enabled",p(e,"class","label"),ee(e,"label-warning",!n[7]),ee(e,"label-info",n[7]>0),p(r,"class","label label-success")},m(a,u){y(a,e,u),w(e,t),w(e,i),w(e,s),y(a,o,u),y(a,r,u)},p(a,u){u[0]&128&&re(t,a[7]),u[0]&128&&l!==(l=a[7]==1?"provider":"providers")&&re(s,l),u[0]&128&&ee(e,"label-warning",!a[7]),u[0]&128&&ee(e,"label-info",a[7]>0)},d(a){a&&(v(e),v(o),v(r))}}}function mm(n){let e,t,i,l,s;return{c(){e=b("i"),p(e,"class","ri-error-warning-fill txt-danger")},m(o,r){y(o,e,r),i=!0,l||(s=Ee(He.call(null,e,{text:"Has errors",position:"left"})),l=!0)},i(o){i||(o&&et(()=>{i&&(t||(t=je(e,$t,{duration:150,start:.7},!0)),t.run(1))}),i=!0)},o(o){o&&(t||(t=je(e,$t,{duration:150,start:.7},!1)),t.run(0)),i=!1},d(o){o&&v(e),o&&t&&t.end(),l=!1,s()}}}function q8(n){let e,t,i,l,s,o;function r(c,d){return c[0].oauth2.enabled?F8:R8}let a=r(n),u=a(n),f=n[8]&&mm();return{c(){e=b("div"),e.innerHTML='<i class="ri-pass-expired-line"></i> <span class="txt">OAuth2</span>',t=C(),i=b("div"),l=C(),u.c(),s=C(),f&&f.c(),o=ye(),p(e,"class","inline-flex"),p(i,"class","flex-fill")},m(c,d){y(c,e,d),y(c,t,d),y(c,i,d),y(c,l,d),u.m(c,d),y(c,s,d),f&&f.m(c,d),y(c,o,d)},p(c,d){a===(a=r(c))&&u?u.p(c,d):(u.d(1),u=a(c),u&&(u.c(),u.m(s.parentNode,s))),c[8]?f?d[0]&256&&E(f,1):(f=mm(),f.c(),E(f,1),f.m(o.parentNode,o)):f&&(ae(),D(f,1,1,()=>{f=null}),ue())},d(c){c&&(v(e),v(t),v(i),v(l),v(s),v(o)),u.d(c),f&&f.d(c)}}}function H8(n){var u,f;let e,t,i,l,s,o;e=new Hi({props:{single:!0,$$slots:{header:[q8],default:[N8]},$$scope:{ctx:n}}});let r={disabled:((f=(u=n[0].oauth2)==null?void 0:u.providers)==null?void 0:f.map(hm))||[]};i=new $8({props:r}),n[18](i),i.$on("select",n[19]);let a={};return s=new E6({props:a}),n[20](s),s.$on("remove",n[21]),s.$on("submit",n[22]),{c(){j(e.$$.fragment),t=C(),j(i.$$.fragment),l=C(),j(s.$$.fragment)},m(c,d){q(e,c,d),y(c,t,d),q(i,c,d),y(c,l,d),q(s,c,d),o=!0},p(c,d){var g,k;const m={};d[0]&511|d[1]&2&&(m.$$scope={dirty:d,ctx:c}),e.$set(m);const h={};d[0]&1&&(h.disabled=((k=(g=c[0].oauth2)==null?void 0:g.providers)==null?void 0:k.map(hm))||[]),i.$set(h);const _={};s.$set(_)},i(c){o||(E(e.$$.fragment,c),E(i.$$.fragment,c),E(s.$$.fragment,c),o=!0)},o(c){D(e.$$.fragment,c),D(i.$$.fragment,c),D(s.$$.fragment,c),o=!1},d(c){c&&(v(t),v(l)),H(e,c),n[18](null),H(i,c),n[20](null),H(s,c)}}}const j8=()=>"",z8=()=>"",U8=()=>"",V8=()=>"",hm=n=>n.name;function B8(n,e,t){let i,l,s;Qe(n,vn,F=>t(1,s=F));let{collection:o}=e;const r=["id","email","emailVisibility","verified","tokenKey","password"],a=["text","editor","url","email","json"],u=a.concat("file");let f,c,d=!1,m=[],h=[];function _(F=[]){var U,J;t(5,m=((U=F==null?void 0:F.filter(K=>a.includes(K.type)&&!r.includes(K.name)))==null?void 0:U.map(K=>K.name))||[]),t(6,h=((J=F==null?void 0:F.filter(K=>u.includes(K.type)&&!r.includes(K.name)))==null?void 0:J.map(K=>K.name))||[])}function g(F){for(let U of xu)if(U.key==F)return U;return null}function k(){o.oauth2.enabled=this.checked,t(0,o)}const S=(F,U,J)=>{c==null||c.show(F,U,J)},$=()=>f==null?void 0:f.show(),T=()=>t(4,d=!d);function O(F){n.$$.not_equal(o.oauth2.mappedFields.name,F)&&(o.oauth2.mappedFields.name=F,t(0,o))}function M(F){n.$$.not_equal(o.oauth2.mappedFields.avatarURL,F)&&(o.oauth2.mappedFields.avatarURL=F,t(0,o))}function L(F){n.$$.not_equal(o.oauth2.mappedFields.id,F)&&(o.oauth2.mappedFields.id=F,t(0,o))}function I(F){n.$$.not_equal(o.oauth2.mappedFields.username,F)&&(o.oauth2.mappedFields.username=F,t(0,o))}function A(F){ie[F?"unshift":"push"](()=>{f=F,t(2,f)})}const P=F=>{var U,J;c.show(F.detail,{},((J=(U=o.oauth2)==null?void 0:U.providers)==null?void 0:J.length)||0)};function N(F){ie[F?"unshift":"push"](()=>{c=F,t(3,c)})}const R=F=>{const U=F.detail.uiOptions;V.removeByKey(o.oauth2.providers,"name",U.key),t(0,o)},z=F=>{const U=F.detail.uiOptions,J=F.detail.config;t(0,o.oauth2.providers=o.oauth2.providers||[],o),V.pushOrReplaceByKey(o.oauth2.providers,Object.assign({name:U.key},J),"name"),t(0,o)};return n.$$set=F=>{"collection"in F&&t(0,o=F.collection)},n.$$.update=()=>{var F,U;n.$$.dirty[0]&1&&V.isEmpty(o.oauth2)&&t(0,o.oauth2={enabled:!1,mappedFields:{},providers:[]},o),n.$$.dirty[0]&1&&_(o.fields),n.$$.dirty[0]&2&&t(8,i=!V.isEmpty(s==null?void 0:s.oauth2)),n.$$.dirty[0]&1&&t(7,l=((U=(F=o.oauth2)==null?void 0:F.providers)==null?void 0:U.length)||0)},[o,s,f,c,d,m,h,l,i,g,k,S,$,T,O,M,L,I,A,P,N,R,z]}class W8 extends Se{constructor(e){super(),we(this,e,B8,H8,be,{collection:0},null,[-1,-1])}}function _m(n){let e,t,i;return{c(){e=b("i"),p(e,"class","ri-information-line link-hint")},m(l,s){y(l,e,s),t||(i=Ee(He.call(null,e,{text:"Superusers can have OTP only as part of Two-factor authentication.",position:"right"})),t=!0)},d(l){l&&v(e),t=!1,i()}}}function Y8(n){let e,t,i,l,s,o,r,a,u,f,c=n[2]&&_m();return{c(){e=b("input"),i=C(),l=b("label"),s=B("Enable"),r=C(),c&&c.c(),a=ye(),p(e,"type","checkbox"),p(e,"id",t=n[8]),p(l,"for",o=n[8])},m(d,m){y(d,e,m),e.checked=n[0].otp.enabled,y(d,i,m),y(d,l,m),w(l,s),y(d,r,m),c&&c.m(d,m),y(d,a,m),u||(f=[W(e,"change",n[4]),W(e,"change",n[5])],u=!0)},p(d,m){m&256&&t!==(t=d[8])&&p(e,"id",t),m&1&&(e.checked=d[0].otp.enabled),m&256&&o!==(o=d[8])&&p(l,"for",o),d[2]?c||(c=_m(),c.c(),c.m(a.parentNode,a)):c&&(c.d(1),c=null)},d(d){d&&(v(e),v(i),v(l),v(r),v(a)),c&&c.d(d),u=!1,Ie(f)}}}function K8(n){let e,t,i,l,s,o,r,a;return{c(){e=b("label"),t=B("Duration (in seconds)"),l=C(),s=b("input"),p(e,"for",i=n[8]),p(s,"type","number"),p(s,"min","0"),p(s,"step","1"),p(s,"id",o=n[8]),s.required=!0},m(u,f){y(u,e,f),w(e,t),y(u,l,f),y(u,s,f),pe(s,n[0].otp.duration),r||(a=W(s,"input",n[6]),r=!0)},p(u,f){f&256&&i!==(i=u[8])&&p(e,"for",i),f&256&&o!==(o=u[8])&&p(s,"id",o),f&1&&gt(s.value)!==u[0].otp.duration&&pe(s,u[0].otp.duration)},d(u){u&&(v(e),v(l),v(s)),r=!1,a()}}}function J8(n){let e,t,i,l,s,o,r,a;return{c(){e=b("label"),t=B("Generated password length"),l=C(),s=b("input"),p(e,"for",i=n[8]),p(s,"type","number"),p(s,"min","0"),p(s,"step","1"),p(s,"id",o=n[8]),s.required=!0},m(u,f){y(u,e,f),w(e,t),y(u,l,f),y(u,s,f),pe(s,n[0].otp.length),r||(a=W(s,"input",n[7]),r=!0)},p(u,f){f&256&&i!==(i=u[8])&&p(e,"for",i),f&256&&o!==(o=u[8])&&p(s,"id",o),f&1&&gt(s.value)!==u[0].otp.length&&pe(s,u[0].otp.length)},d(u){u&&(v(e),v(l),v(s)),r=!1,a()}}}function Z8(n){let e,t,i,l,s,o,r,a,u;return e=new fe({props:{class:"form-field form-field-toggle",name:"otp.enabled",$$slots:{default:[Y8,({uniqueId:f})=>({8:f}),({uniqueId:f})=>f?256:0]},$$scope:{ctx:n}}}),s=new fe({props:{class:"form-field form-field-toggle required",name:"otp.duration",$$slots:{default:[K8,({uniqueId:f})=>({8:f}),({uniqueId:f})=>f?256:0]},$$scope:{ctx:n}}}),a=new fe({props:{class:"form-field form-field-toggle required",name:"otp.length",$$slots:{default:[J8,({uniqueId:f})=>({8:f}),({uniqueId:f})=>f?256:0]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment),t=C(),i=b("div"),l=b("div"),j(s.$$.fragment),o=C(),r=b("div"),j(a.$$.fragment),p(l,"class","col-sm-6"),p(r,"class","col-sm-6"),p(i,"class","grid grid-sm")},m(f,c){q(e,f,c),y(f,t,c),y(f,i,c),w(i,l),q(s,l,null),w(i,o),w(i,r),q(a,r,null),u=!0},p(f,c){const d={};c&773&&(d.$$scope={dirty:c,ctx:f}),e.$set(d);const m={};c&769&&(m.$$scope={dirty:c,ctx:f}),s.$set(m);const h={};c&769&&(h.$$scope={dirty:c,ctx:f}),a.$set(h)},i(f){u||(E(e.$$.fragment,f),E(s.$$.fragment,f),E(a.$$.fragment,f),u=!0)},o(f){D(e.$$.fragment,f),D(s.$$.fragment,f),D(a.$$.fragment,f),u=!1},d(f){f&&(v(t),v(i)),H(e,f),H(s),H(a)}}}function G8(n){let e;return{c(){e=b("span"),e.textContent="Disabled",p(e,"class","label")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function X8(n){let e;return{c(){e=b("span"),e.textContent="Enabled",p(e,"class","label label-success")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function gm(n){let e,t,i,l,s;return{c(){e=b("i"),p(e,"class","ri-error-warning-fill txt-danger")},m(o,r){y(o,e,r),i=!0,l||(s=Ee(He.call(null,e,{text:"Has errors",position:"left"})),l=!0)},i(o){i||(o&&et(()=>{i&&(t||(t=je(e,$t,{duration:150,start:.7},!0)),t.run(1))}),i=!0)},o(o){o&&(t||(t=je(e,$t,{duration:150,start:.7},!1)),t.run(0)),i=!1},d(o){o&&v(e),o&&t&&t.end(),l=!1,s()}}}function Q8(n){let e,t,i,l,s,o;function r(c,d){return c[0].otp.enabled?X8:G8}let a=r(n),u=a(n),f=n[1]&&gm();return{c(){e=b("div"),e.innerHTML='<i class="ri-time-line"></i> <span class="txt">One-time password (OTP)</span>',t=C(),i=b("div"),l=C(),u.c(),s=C(),f&&f.c(),o=ye(),p(e,"class","inline-flex"),p(i,"class","flex-fill")},m(c,d){y(c,e,d),y(c,t,d),y(c,i,d),y(c,l,d),u.m(c,d),y(c,s,d),f&&f.m(c,d),y(c,o,d)},p(c,d){a!==(a=r(c))&&(u.d(1),u=a(c),u&&(u.c(),u.m(s.parentNode,s))),c[1]?f?d&2&&E(f,1):(f=gm(),f.c(),E(f,1),f.m(o.parentNode,o)):f&&(ae(),D(f,1,1,()=>{f=null}),ue())},d(c){c&&(v(e),v(t),v(i),v(l),v(s),v(o)),u.d(c),f&&f.d(c)}}}function x8(n){let e,t;return e=new Hi({props:{single:!0,$$slots:{header:[Q8],default:[Z8]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,[l]){const s={};l&519&&(s.$$scope={dirty:l,ctx:i}),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function eO(n,e,t){let i,l,s;Qe(n,vn,c=>t(3,s=c));let{collection:o}=e;function r(){o.otp.enabled=this.checked,t(0,o)}const a=c=>{i&&t(0,o.mfa.enabled=c.target.checked,o)};function u(){o.otp.duration=gt(this.value),t(0,o)}function f(){o.otp.length=gt(this.value),t(0,o)}return n.$$set=c=>{"collection"in c&&t(0,o=c.collection)},n.$$.update=()=>{n.$$.dirty&1&&V.isEmpty(o.otp)&&t(0,o.otp={enabled:!0,duration:300,length:8},o),n.$$.dirty&1&&t(2,i=(o==null?void 0:o.system)&&(o==null?void 0:o.name)==="_superusers"),n.$$.dirty&8&&t(1,l=!V.isEmpty(s==null?void 0:s.otp))},[o,l,i,s,r,a,u,f]}class tO extends Se{constructor(e){super(),we(this,e,eO,x8,be,{collection:0})}}function bm(n){let e,t,i;return{c(){e=b("i"),p(e,"class","ri-information-line link-hint")},m(l,s){y(l,e,s),t||(i=Ee(He.call(null,e,{text:"Superusers are required to have password auth enabled.",position:"right"})),t=!0)},d(l){l&&v(e),t=!1,i()}}}function nO(n){let e,t,i,l,s,o,r,a,u,f,c=n[3]&&bm();return{c(){e=b("input"),i=C(),l=b("label"),s=B("Enable"),r=C(),c&&c.c(),a=ye(),p(e,"type","checkbox"),p(e,"id",t=n[9]),e.disabled=n[3],p(l,"for",o=n[9])},m(d,m){y(d,e,m),e.checked=n[0].passwordAuth.enabled,y(d,i,m),y(d,l,m),w(l,s),y(d,r,m),c&&c.m(d,m),y(d,a,m),u||(f=W(e,"change",n[6]),u=!0)},p(d,m){m&512&&t!==(t=d[9])&&p(e,"id",t),m&8&&(e.disabled=d[3]),m&1&&(e.checked=d[0].passwordAuth.enabled),m&512&&o!==(o=d[9])&&p(l,"for",o),d[3]?c||(c=bm(),c.c(),c.m(a.parentNode,a)):c&&(c.d(1),c=null)},d(d){d&&(v(e),v(i),v(l),v(r),v(a)),c&&c.d(d),u=!1,f()}}}function iO(n){let e,t,i,l,s,o,r;function a(f){n[7](f)}let u={items:n[1],multiple:!0};return n[0].passwordAuth.identityFields!==void 0&&(u.keyOfSelected=n[0].passwordAuth.identityFields),s=new jn({props:u}),ie.push(()=>ge(s,"keyOfSelected",a)),{c(){e=b("label"),t=b("span"),t.textContent="Unique identity fields",l=C(),j(s.$$.fragment),p(t,"class","txt"),p(e,"for",i=n[9])},m(f,c){y(f,e,c),w(e,t),y(f,l,c),q(s,f,c),r=!0},p(f,c){(!r||c&512&&i!==(i=f[9]))&&p(e,"for",i);const d={};c&2&&(d.items=f[1]),!o&&c&1&&(o=!0,d.keyOfSelected=f[0].passwordAuth.identityFields,Te(()=>o=!1)),s.$set(d)},i(f){r||(E(s.$$.fragment,f),r=!0)},o(f){D(s.$$.fragment,f),r=!1},d(f){f&&(v(e),v(l)),H(s,f)}}}function lO(n){let e,t,i,l;return e=new fe({props:{class:"form-field form-field-toggle",name:"passwordAuth.enabled",$$slots:{default:[nO,({uniqueId:s})=>({9:s}),({uniqueId:s})=>s?512:0]},$$scope:{ctx:n}}}),i=new fe({props:{class:"form-field required m-0",name:"passwordAuth.identityFields",$$slots:{default:[iO,({uniqueId:s})=>({9:s}),({uniqueId:s})=>s?512:0]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment),t=C(),j(i.$$.fragment)},m(s,o){q(e,s,o),y(s,t,o),q(i,s,o),l=!0},p(s,o){const r={};o&1545&&(r.$$scope={dirty:o,ctx:s}),e.$set(r);const a={};o&1539&&(a.$$scope={dirty:o,ctx:s}),i.$set(a)},i(s){l||(E(e.$$.fragment,s),E(i.$$.fragment,s),l=!0)},o(s){D(e.$$.fragment,s),D(i.$$.fragment,s),l=!1},d(s){s&&v(t),H(e,s),H(i,s)}}}function sO(n){let e;return{c(){e=b("span"),e.textContent="Disabled",p(e,"class","label")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function oO(n){let e;return{c(){e=b("span"),e.textContent="Enabled",p(e,"class","label label-success")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function km(n){let e,t,i,l,s;return{c(){e=b("i"),p(e,"class","ri-error-warning-fill txt-danger")},m(o,r){y(o,e,r),i=!0,l||(s=Ee(He.call(null,e,{text:"Has errors",position:"left"})),l=!0)},i(o){i||(o&&et(()=>{i&&(t||(t=je(e,$t,{duration:150,start:.7},!0)),t.run(1))}),i=!0)},o(o){o&&(t||(t=je(e,$t,{duration:150,start:.7},!1)),t.run(0)),i=!1},d(o){o&&v(e),o&&t&&t.end(),l=!1,s()}}}function rO(n){let e,t,i,l,s,o;function r(c,d){return c[0].passwordAuth.enabled?oO:sO}let a=r(n),u=a(n),f=n[2]&&km();return{c(){e=b("div"),e.innerHTML='<i class="ri-lock-password-line"></i> <span class="txt">Identity/Password</span>',t=C(),i=b("div"),l=C(),u.c(),s=C(),f&&f.c(),o=ye(),p(e,"class","inline-flex"),p(i,"class","flex-fill")},m(c,d){y(c,e,d),y(c,t,d),y(c,i,d),y(c,l,d),u.m(c,d),y(c,s,d),f&&f.m(c,d),y(c,o,d)},p(c,d){a!==(a=r(c))&&(u.d(1),u=a(c),u&&(u.c(),u.m(s.parentNode,s))),c[2]?f?d&4&&E(f,1):(f=km(),f.c(),E(f,1),f.m(o.parentNode,o)):f&&(ae(),D(f,1,1,()=>{f=null}),ue())},d(c){c&&(v(e),v(t),v(i),v(l),v(s),v(o)),u.d(c),f&&f.d(c)}}}function aO(n){let e,t;return e=new Hi({props:{single:!0,$$slots:{header:[rO],default:[lO]},$$scope:{ctx:n}}}),e.$on("expand",n[8]),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,[l]){const s={};l&1039&&(s.$$scope={dirty:l,ctx:i}),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function uO(n,e,t){let i,l,s;Qe(n,vn,d=>t(5,s=d));let{collection:o}=e,r=[];function a(d){const m=[{value:"email"}],h=(d==null?void 0:d.fields)||[],_=(d==null?void 0:d.indexes)||[];for(let g of _){const k=V.parseIndex(g);if(!k.unique||k.columns.length!=1||k.columns[0].name=="email")continue;const S=h.find($=>!$.hidden&&$.name.toLowerCase()==k.columns[0].name.toLowerCase());S&&m.push({value:S.name})}return m}function u(){o.passwordAuth.enabled=this.checked,t(0,o)}function f(d){n.$$.not_equal(o.passwordAuth.identityFields,d)&&(o.passwordAuth.identityFields=d,t(0,o))}const c=()=>{t(1,r=a(o))};return n.$$set=d=>{"collection"in d&&t(0,o=d.collection)},n.$$.update=()=>{n.$$.dirty&1&&V.isEmpty(o==null?void 0:o.passwordAuth)&&t(0,o.passwordAuth={enabled:!0,identityFields:["email"]},o),n.$$.dirty&1&&t(3,i=(o==null?void 0:o.system)&&(o==null?void 0:o.name)==="_superusers"),n.$$.dirty&32&&t(2,l=!V.isEmpty(s==null?void 0:s.passwordAuth))},[o,r,l,i,a,s,u,f,c]}class fO extends Se{constructor(e){super(),we(this,e,uO,aO,be,{collection:0})}}function vm(n,e,t){const i=n.slice();return i[22]=e[t],i}function ym(n,e){let t,i,l,s,o,r=e[22].label+"",a,u,f,c,d,m;return c=$v(e[11][0]),{key:n,first:null,c(){t=b("div"),i=b("input"),s=C(),o=b("label"),a=B(r),f=C(),p(i,"type","radio"),p(i,"name","template"),p(i,"id",l=e[21]+e[22].value),i.__value=e[22].value,pe(i,i.__value),p(o,"for",u=e[21]+e[22].value),p(t,"class","form-field-block"),c.p(i),this.first=t},m(h,_){y(h,t,_),w(t,i),i.checked=i.__value===e[2],w(t,s),w(t,o),w(o,a),w(t,f),d||(m=W(i,"change",e[10]),d=!0)},p(h,_){e=h,_&2097152&&l!==(l=e[21]+e[22].value)&&p(i,"id",l),_&4&&(i.checked=i.__value===e[2]),_&2097152&&u!==(u=e[21]+e[22].value)&&p(o,"for",u)},d(h){h&&v(t),c.r(),d=!1,m()}}}function cO(n){let e=[],t=new Map,i,l=ce(n[7]);const s=o=>o[22].value;for(let o=0;o<l.length;o+=1){let r=vm(n,l,o),a=s(r);t.set(a,e[o]=ym(a,r))}return{c(){for(let o=0;o<e.length;o+=1)e[o].c();i=ye()},m(o,r){for(let a=0;a<e.length;a+=1)e[a]&&e[a].m(o,r);y(o,i,r)},p(o,r){r&2097284&&(l=ce(o[7]),e=yt(e,r,s,1,o,l,t,i.parentNode,di,ym,i,vm))},d(o){o&&v(i);for(let r=0;r<e.length;r+=1)e[r].d(o)}}}function dO(n){let e,t,i,l,s,o,r,a;return{c(){e=b("label"),t=B("To email address"),l=C(),s=b("input"),p(e,"for",i=n[21]),p(s,"type","email"),p(s,"id",o=n[21]),s.autofocus=!0,s.required=!0},m(u,f){y(u,e,f),w(e,t),y(u,l,f),y(u,s,f),pe(s,n[1]),s.focus(),r||(a=W(s,"input",n[12]),r=!0)},p(u,f){f&2097152&&i!==(i=u[21])&&p(e,"for",i),f&2097152&&o!==(o=u[21])&&p(s,"id",o),f&2&&s.value!==u[1]&&pe(s,u[1])},d(u){u&&(v(e),v(l),v(s)),r=!1,a()}}}function pO(n){let e,t,i,l,s,o,r;return t=new fe({props:{class:"form-field required",name:"template",$$slots:{default:[cO,({uniqueId:a})=>({21:a}),({uniqueId:a})=>a?2097152:0]},$$scope:{ctx:n}}}),l=new fe({props:{class:"form-field required m-0",name:"email",$$slots:{default:[dO,({uniqueId:a})=>({21:a}),({uniqueId:a})=>a?2097152:0]},$$scope:{ctx:n}}}),{c(){e=b("form"),j(t.$$.fragment),i=C(),j(l.$$.fragment),p(e,"id",n[6]),p(e,"autocomplete","off")},m(a,u){y(a,e,u),q(t,e,null),w(e,i),q(l,e,null),s=!0,o||(r=W(e,"submit",tt(n[13])),o=!0)},p(a,u){const f={};u&35651588&&(f.$$scope={dirty:u,ctx:a}),t.$set(f);const c={};u&35651586&&(c.$$scope={dirty:u,ctx:a}),l.$set(c)},i(a){s||(E(t.$$.fragment,a),E(l.$$.fragment,a),s=!0)},o(a){D(t.$$.fragment,a),D(l.$$.fragment,a),s=!1},d(a){a&&v(e),H(t),H(l),o=!1,r()}}}function mO(n){let e;return{c(){e=b("h4"),e.textContent="Send test email",p(e,"class","center txt-break")},m(t,i){y(t,e,i)},p:te,d(t){t&&v(e)}}}function hO(n){let e,t,i,l,s,o,r,a,u,f;return{c(){e=b("button"),t=B("Close"),i=C(),l=b("button"),s=b("i"),o=C(),r=b("span"),r.textContent="Send",p(e,"type","button"),p(e,"class","btn btn-transparent"),e.disabled=n[4],p(s,"class","ri-mail-send-line"),p(r,"class","txt"),p(l,"type","submit"),p(l,"form",n[6]),p(l,"class","btn btn-expanded"),l.disabled=a=!n[5]||n[4],ee(l,"btn-loading",n[4])},m(c,d){y(c,e,d),w(e,t),y(c,i,d),y(c,l,d),w(l,s),w(l,o),w(l,r),u||(f=W(e,"click",n[0]),u=!0)},p(c,d){d&16&&(e.disabled=c[4]),d&48&&a!==(a=!c[5]||c[4])&&(l.disabled=a),d&16&&ee(l,"btn-loading",c[4])},d(c){c&&(v(e),v(i),v(l)),u=!1,f()}}}function _O(n){let e,t,i={class:"overlay-panel-sm email-test-popup",overlayClose:!n[4],escClose:!n[4],beforeHide:n[14],popup:!0,$$slots:{footer:[hO],header:[mO],default:[pO]},$$scope:{ctx:n}};return e=new Xt({props:i}),n[15](e),e.$on("show",n[16]),e.$on("hide",n[17]),{c(){j(e.$$.fragment)},m(l,s){q(e,l,s),t=!0},p(l,[s]){const o={};s&16&&(o.overlayClose=!l[4]),s&16&&(o.escClose=!l[4]),s&16&&(o.beforeHide=l[14]),s&33554486&&(o.$$scope={dirty:s,ctx:l}),e.$set(o)},i(l){t||(E(e.$$.fragment,l),t=!0)},o(l){D(e.$$.fragment,l),t=!1},d(l){n[15](null),H(e,l)}}}const wa="last_email_test",wm="email_test_request";function gO(n,e,t){let i;const l=kt(),s="email_test_"+V.randomString(5),o=[{label:"Verification",value:"verification"},{label:"Password reset",value:"password-reset"},{label:"Confirm email change",value:"email-change"},{label:"OTP",value:"otp"},{label:"Login alert",value:"login-alert"}];let r,a="",u=localStorage.getItem(wa),f=o[0].value,c=!1,d=null;function m(I="",A="",P=""){a=I||"_superusers",t(1,u=A||localStorage.getItem(wa)),t(2,f=P||o[0].value),zt({}),r==null||r.show()}function h(){return clearTimeout(d),r==null?void 0:r.hide()}async function _(){if(!(!i||c)){t(4,c=!0),localStorage==null||localStorage.setItem(wa,u),clearTimeout(d),d=setTimeout(()=>{he.cancelRequest(wm),$i("Test email send timeout.")},3e4);try{await he.settings.testEmail(a,u,f,{$cancelKey:wm}),tn("Successfully sent test email."),l("submit"),t(4,c=!1),await cn(),h()}catch(I){t(4,c=!1),he.error(I)}clearTimeout(d)}}const g=[[]];function k(){f=this.__value,t(2,f)}function S(){u=this.value,t(1,u)}const $=()=>_(),T=()=>!c;function O(I){ie[I?"unshift":"push"](()=>{r=I,t(3,r)})}function M(I){Ne.call(this,n,I)}function L(I){Ne.call(this,n,I)}return n.$$.update=()=>{n.$$.dirty&6&&t(5,i=!!u&&!!f)},[h,u,f,r,c,i,s,o,_,m,k,g,S,$,T,O,M,L]}class sv extends Se{constructor(e){super(),we(this,e,gO,_O,be,{show:9,hide:0})}get show(){return this.$$.ctx[9]}get hide(){return this.$$.ctx[0]}}function Sm(n,e,t){const i=n.slice();return i[18]=e[t],i[19]=e,i[20]=t,i}function bO(n){let e,t,i,l,s,o,r,a;return{c(){e=b("input"),i=C(),l=b("label"),s=B("Send email alert for new logins"),p(e,"type","checkbox"),p(e,"id",t=n[21]),p(l,"for",o=n[21])},m(u,f){y(u,e,f),e.checked=n[0].authAlert.enabled,y(u,i,f),y(u,l,f),w(l,s),r||(a=W(e,"change",n[9]),r=!0)},p(u,f){f&2097152&&t!==(t=u[21])&&p(e,"id",t),f&1&&(e.checked=u[0].authAlert.enabled),f&2097152&&o!==(o=u[21])&&p(l,"for",o)},d(u){u&&(v(e),v(i),v(l)),r=!1,a()}}}function Tm(n){let e,t,i;function l(o){n[12](o)}let s={};return n[0]!==void 0&&(s.collection=n[0]),e=new W8({props:s}),ie.push(()=>ge(e,"collection",l)),{c(){j(e.$$.fragment)},m(o,r){q(e,o,r),i=!0},p(o,r){const a={};!t&&r&1&&(t=!0,a.collection=o[0],Te(()=>t=!1)),e.$set(a)},i(o){i||(E(e.$$.fragment,o),i=!0)},o(o){D(e.$$.fragment,o),i=!1},d(o){H(e,o)}}}function $m(n,e){var a;let t,i,l,s;function o(u){e[15](u,e[18])}let r={single:!0,key:e[18].key,title:e[18].label,placeholders:(a=e[18])==null?void 0:a.placeholders};return e[18].config!==void 0&&(r.config=e[18].config),i=new L5({props:r}),ie.push(()=>ge(i,"config",o)),{key:n,first:null,c(){t=ye(),j(i.$$.fragment),this.first=t},m(u,f){y(u,t,f),q(i,u,f),s=!0},p(u,f){var d;e=u;const c={};f&4&&(c.key=e[18].key),f&4&&(c.title=e[18].label),f&4&&(c.placeholders=(d=e[18])==null?void 0:d.placeholders),!l&&f&4&&(l=!0,c.config=e[18].config,Te(()=>l=!1)),i.$set(c)},i(u){s||(E(i.$$.fragment,u),s=!0)},o(u){D(i.$$.fragment,u),s=!1},d(u){u&&v(t),H(i,u)}}}function kO(n){let e,t,i,l,s,o,r,a,u,f,c,d,m,h,_,g,k,S,$,T,O,M,L,I,A,P=[],N=new Map,R,z,F,U,J,K,Q,X,oe,ke,me;o=new fe({props:{class:"form-field form-field-sm form-field-toggle m-0",name:"authAlert.enabled",inlineError:!0,$$slots:{default:[bO,({uniqueId:De})=>({21:De}),({uniqueId:De})=>De?2097152:0]},$$scope:{ctx:n}}});function $e(De){n[10](De)}let We={};n[0]!==void 0&&(We.collection=n[0]),u=new tO({props:We}),ie.push(()=>ge(u,"collection",$e));function nt(De){n[11](De)}let st={};n[0]!==void 0&&(st.collection=n[0]),d=new fO({props:st}),ie.push(()=>ge(d,"collection",nt));let Be=!n[1]&&Tm(n);function xe(De){n[13](De)}let Ze={};n[0]!==void 0&&(Ze.collection=n[0]),g=new l6({props:Ze}),ie.push(()=>ge(g,"collection",xe));let at=ce(n[2]);const Ht=De=>De[18].key;for(let De=0;De<at.length;De+=1){let Ye=Sm(n,at,De),ve=Ht(Ye);N.set(ve,P[De]=$m(ve,Ye))}function Ve(De){n[16](De)}let Me={};n[0]!==void 0&&(Me.collection=n[0]),J=new z5({props:Me}),ie.push(()=>ge(J,"collection",Ve));let ot={};return X=new sv({props:ot}),n[17](X),{c(){e=b("h4"),t=b("div"),i=b("span"),i.textContent="Auth methods",l=C(),s=b("div"),j(o.$$.fragment),r=C(),a=b("div"),j(u.$$.fragment),c=C(),j(d.$$.fragment),h=C(),Be&&Be.c(),_=C(),j(g.$$.fragment),S=C(),$=b("h4"),T=b("span"),T.textContent="Mail templates",O=C(),M=b("button"),M.textContent="Send test email",L=C(),I=b("div"),A=b("div");for(let De=0;De<P.length;De+=1)P[De].c();R=C(),z=b("h4"),z.textContent="Other",F=C(),U=b("div"),j(J.$$.fragment),Q=C(),j(X.$$.fragment),p(i,"class","txt"),p(s,"class","m-l-auto handle"),p(t,"class","flex"),p(e,"class","section-title"),p(a,"class","accordions m-b-35"),p(T,"class","txt"),p(M,"type","button"),p(M,"class","btn btn-xs m-l-auto btn-secondary"),p($,"class","section-title"),p(A,"class","accordions"),p(I,"class","accordions m-b-35"),p(z,"class","section-title"),p(U,"class","accordions m-b-base")},m(De,Ye){y(De,e,Ye),w(e,t),w(t,i),w(t,l),w(t,s),q(o,s,null),y(De,r,Ye),y(De,a,Ye),q(u,a,null),w(a,c),q(d,a,null),w(a,h),Be&&Be.m(a,null),w(a,_),q(g,a,null),y(De,S,Ye),y(De,$,Ye),w($,T),w($,O),w($,M),y(De,L,Ye),y(De,I,Ye),w(I,A);for(let ve=0;ve<P.length;ve+=1)P[ve]&&P[ve].m(A,null);y(De,R,Ye),y(De,z,Ye),y(De,F,Ye),y(De,U,Ye),q(J,U,null),y(De,Q,Ye),q(X,De,Ye),oe=!0,ke||(me=W(M,"click",n[14]),ke=!0)},p(De,[Ye]){const ve={};Ye&6291457&&(ve.$$scope={dirty:Ye,ctx:De}),o.$set(ve);const Ce={};!f&&Ye&1&&(f=!0,Ce.collection=De[0],Te(()=>f=!1)),u.$set(Ce);const ut={};!m&&Ye&1&&(m=!0,ut.collection=De[0],Te(()=>m=!1)),d.$set(ut),De[1]?Be&&(ae(),D(Be,1,1,()=>{Be=null}),ue()):Be?(Be.p(De,Ye),Ye&2&&E(Be,1)):(Be=Tm(De),Be.c(),E(Be,1),Be.m(a,_));const qt={};!k&&Ye&1&&(k=!0,qt.collection=De[0],Te(()=>k=!1)),g.$set(qt),Ye&4&&(at=ce(De[2]),ae(),P=yt(P,Ye,Ht,1,De,at,N,A,Ut,$m,null,Sm),ue());const Le={};!K&&Ye&1&&(K=!0,Le.collection=De[0],Te(()=>K=!1)),J.$set(Le);const rt={};X.$set(rt)},i(De){if(!oe){E(o.$$.fragment,De),E(u.$$.fragment,De),E(d.$$.fragment,De),E(Be),E(g.$$.fragment,De);for(let Ye=0;Ye<at.length;Ye+=1)E(P[Ye]);E(J.$$.fragment,De),E(X.$$.fragment,De),oe=!0}},o(De){D(o.$$.fragment,De),D(u.$$.fragment,De),D(d.$$.fragment,De),D(Be),D(g.$$.fragment,De);for(let Ye=0;Ye<P.length;Ye+=1)D(P[Ye]);D(J.$$.fragment,De),D(X.$$.fragment,De),oe=!1},d(De){De&&(v(e),v(r),v(a),v(S),v($),v(L),v(I),v(R),v(z),v(F),v(U),v(Q)),H(o),H(u),H(d),Be&&Be.d(),H(g);for(let Ye=0;Ye<P.length;Ye+=1)P[Ye].d();H(J),n[17](null),H(X,De),ke=!1,me()}}}function vO(n,e,t){let i,l,s,o,r,a,{collection:u}=e,f=[],c;function d(){u.authAlert.enabled=this.checked,t(0,u)}function m(O){u=O,t(0,u)}function h(O){u=O,t(0,u)}function _(O){u=O,t(0,u)}function g(O){u=O,t(0,u)}const k=()=>c==null?void 0:c.show(u.id);function S(O,M){n.$$.not_equal(M.config,O)&&(M.config=O,t(2,f),t(1,i),t(7,l),t(5,r),t(4,a),t(8,s),t(6,o),t(0,u))}function $(O){u=O,t(0,u)}function T(O){ie[O?"unshift":"push"](()=>{c=O,t(3,c)})}return n.$$set=O=>{"collection"in O&&t(0,u=O.collection)},n.$$.update=()=>{var O,M;n.$$.dirty&1&&typeof((O=u.otp)==null?void 0:O.emailTemplate)>"u"&&(t(0,u.otp=u.otp||{},u),t(0,u.otp.emailTemplate={},u)),n.$$.dirty&1&&typeof((M=u.authAlert)==null?void 0:M.emailTemplate)>"u"&&(t(0,u.authAlert=u.authAlert||{},u),t(0,u.authAlert.emailTemplate={},u)),n.$$.dirty&1&&t(1,i=u.system&&u.name==="_superusers"),n.$$.dirty&1&&t(7,l={key:"resetPasswordTemplate",label:"Default Password reset email template",placeholders:["APP_NAME","APP_URL","RECORD:*","TOKEN"],config:u.resetPasswordTemplate}),n.$$.dirty&1&&t(8,s={key:"verificationTemplate",label:"Default Verification email template",placeholders:["APP_NAME","APP_URL","RECORD:*","TOKEN"],config:u.verificationTemplate}),n.$$.dirty&1&&t(6,o={key:"confirmEmailChangeTemplate",label:"Default Confirm email change email template",placeholders:["APP_NAME","APP_URL","RECORD:*","TOKEN"],config:u.confirmEmailChangeTemplate}),n.$$.dirty&1&&t(5,r={key:"otp.emailTemplate",label:"Default OTP email template",placeholders:["APP_NAME","APP_URL","RECORD:*","OTP","OTP_ID"],config:u.otp.emailTemplate}),n.$$.dirty&1&&t(4,a={key:"authAlert.emailTemplate",label:"Default Login alert email template",placeholders:["APP_NAME","APP_URL","RECORD:*"],config:u.authAlert.emailTemplate}),n.$$.dirty&498&&t(2,f=i?[l,r,a]:[s,l,o,r,a])},[u,i,f,c,a,r,o,l,s,d,m,h,_,g,k,S,$,T]}class yO extends Se{constructor(e){super(),we(this,e,vO,kO,be,{collection:0})}}const wO=n=>({dragging:n&4,dragover:n&8}),Cm=n=>({dragging:n[2],dragover:n[3]});function SO(n){let e,t,i,l,s;const o=n[10].default,r=Lt(o,n,n[9],Cm);return{c(){e=b("div"),r&&r.c(),p(e,"draggable",t=!n[1]),p(e,"class","draggable svelte-19c69j7"),ee(e,"dragging",n[2]),ee(e,"dragover",n[3])},m(a,u){y(a,e,u),r&&r.m(e,null),i=!0,l||(s=[W(e,"dragover",tt(n[11])),W(e,"dragleave",tt(n[12])),W(e,"dragend",n[13]),W(e,"dragstart",n[14]),W(e,"drop",n[15])],l=!0)},p(a,[u]){r&&r.p&&(!i||u&524)&&Pt(r,o,a,a[9],i?At(o,a[9],u,wO):Nt(a[9]),Cm),(!i||u&2&&t!==(t=!a[1]))&&p(e,"draggable",t),(!i||u&4)&&ee(e,"dragging",a[2]),(!i||u&8)&&ee(e,"dragover",a[3])},i(a){i||(E(r,a),i=!0)},o(a){D(r,a),i=!1},d(a){a&&v(e),r&&r.d(a),l=!1,Ie(s)}}}function TO(n,e,t){let{$$slots:i={},$$scope:l}=e;const s=kt();let{index:o}=e,{list:r=[]}=e,{group:a="default"}=e,{disabled:u=!1}=e,{dragHandleClass:f=""}=e,c=!1,d=!1;function m(T,O){if(!(!T||u)){if(f&&!T.target.classList.contains(f)){t(3,d=!1),t(2,c=!1),T.preventDefault();return}t(2,c=!0),T.dataTransfer.effectAllowed="move",T.dataTransfer.dropEffect="move",T.dataTransfer.setData("text/plain",JSON.stringify({index:O,group:a})),s("drag",T)}}function h(T,O){if(t(3,d=!1),t(2,c=!1),!T||u)return;T.dataTransfer.dropEffect="move";let M={};try{M=JSON.parse(T.dataTransfer.getData("text/plain"))}catch{}if(M.group!=a)return;const L=M.index<<0;L<O?(r.splice(O+1,0,r[L]),r.splice(L,1)):(r.splice(O,0,r[L]),r.splice(L+1,1)),t(6,r),s("sort",{oldIndex:L,newIndex:O,list:r})}const _=()=>{t(3,d=!0)},g=()=>{t(3,d=!1)},k=()=>{t(3,d=!1),t(2,c=!1)},S=T=>m(T,o),$=T=>h(T,o);return n.$$set=T=>{"index"in T&&t(0,o=T.index),"list"in T&&t(6,r=T.list),"group"in T&&t(7,a=T.group),"disabled"in T&&t(1,u=T.disabled),"dragHandleClass"in T&&t(8,f=T.dragHandleClass),"$$scope"in T&&t(9,l=T.$$scope)},[o,u,c,d,m,h,r,a,f,l,i,_,g,k,S,$]}class ho extends Se{constructor(e){super(),we(this,e,TO,SO,be,{index:0,list:6,group:7,disabled:1,dragHandleClass:8})}}function Om(n,e,t){const i=n.slice();return i[27]=e[t],i}function $O(n){let e,t,i,l,s,o,r,a,u;return{c(){e=b("input"),l=C(),s=b("label"),o=B("Unique"),p(e,"type","checkbox"),p(e,"id",t=n[30]),e.checked=i=n[3].unique,p(s,"for",r=n[30])},m(f,c){y(f,e,c),y(f,l,c),y(f,s,c),w(s,o),a||(u=W(e,"change",n[19]),a=!0)},p(f,c){c[0]&1073741824&&t!==(t=f[30])&&p(e,"id",t),c[0]&8&&i!==(i=f[3].unique)&&(e.checked=i),c[0]&1073741824&&r!==(r=f[30])&&p(s,"for",r)},d(f){f&&(v(e),v(l),v(s)),a=!1,u()}}}function CO(n){let e,t,i,l;function s(a){n[20](a)}var o=n[7];function r(a,u){var c;let f={id:a[30],placeholder:`eg. CREATE INDEX idx_test on ${(c=a[0])==null?void 0:c.name} (created)`,language:"sql-create-index",minHeight:"85"};return a[2]!==void 0&&(f.value=a[2]),{props:f}}return o&&(e=jt(o,r(n)),ie.push(()=>ge(e,"value",s))),{c(){e&&j(e.$$.fragment),i=ye()},m(a,u){e&&q(e,a,u),y(a,i,u),l=!0},p(a,u){var f;if(u[0]&128&&o!==(o=a[7])){if(e){ae();const c=e;D(c.$$.fragment,1,0,()=>{H(c,1)}),ue()}o?(e=jt(o,r(a)),ie.push(()=>ge(e,"value",s)),j(e.$$.fragment),E(e.$$.fragment,1),q(e,i.parentNode,i)):e=null}else if(o){const c={};u[0]&1073741824&&(c.id=a[30]),u[0]&1&&(c.placeholder=`eg. CREATE INDEX idx_test on ${(f=a[0])==null?void 0:f.name} (created)`),!t&&u[0]&4&&(t=!0,c.value=a[2],Te(()=>t=!1)),e.$set(c)}},i(a){l||(e&&E(e.$$.fragment,a),l=!0)},o(a){e&&D(e.$$.fragment,a),l=!1},d(a){a&&v(i),e&&H(e,a)}}}function OO(n){let e;return{c(){e=b("textarea"),e.disabled=!0,p(e,"rows","7"),p(e,"placeholder","Loading...")},m(t,i){y(t,e,i)},p:te,i:te,o:te,d(t){t&&v(e)}}}function EO(n){let e,t,i,l;const s=[OO,CO],o=[];function r(a,u){return a[8]?0:1}return e=r(n),t=o[e]=s[e](n),{c(){t.c(),i=ye()},m(a,u){o[e].m(a,u),y(a,i,u),l=!0},p(a,u){let f=e;e=r(a),e===f?o[e].p(a,u):(ae(),D(o[f],1,1,()=>{o[f]=null}),ue(),t=o[e],t?t.p(a,u):(t=o[e]=s[e](a),t.c()),E(t,1),t.m(i.parentNode,i))},i(a){l||(E(t),l=!0)},o(a){D(t),l=!1},d(a){a&&v(i),o[e].d(a)}}}function Em(n){let e,t,i,l=ce(n[10]),s=[];for(let o=0;o<l.length;o+=1)s[o]=Mm(Om(n,l,o));return{c(){e=b("div"),t=b("span"),t.textContent="Presets",i=C();for(let o=0;o<s.length;o+=1)s[o].c();p(t,"class","txt txt-hint"),p(e,"class","inline-flex gap-10")},m(o,r){y(o,e,r),w(e,t),w(e,i);for(let a=0;a<s.length;a+=1)s[a]&&s[a].m(e,null)},p(o,r){if(r[0]&9728){l=ce(o[10]);let a;for(a=0;a<l.length;a+=1){const u=Om(o,l,a);s[a]?s[a].p(u,r):(s[a]=Mm(u),s[a].c(),s[a].m(e,null))}for(;a<s.length;a+=1)s[a].d(1);s.length=l.length}},d(o){o&&v(e),dt(s,o)}}}function Mm(n){let e,t=n[27]+"",i,l,s,o;function r(){return n[21](n[27])}return{c(){e=b("button"),i=B(t),l=C(),p(e,"type","button"),p(e,"class","label link-primary"),ee(e,"label-info",n[9].includes(n[27]))},m(a,u){y(a,e,u),w(e,i),w(e,l),s||(o=W(e,"click",r),s=!0)},p(a,u){n=a,u[0]&1024&&t!==(t=n[27]+"")&&re(i,t),u[0]&1536&&ee(e,"label-info",n[9].includes(n[27]))},d(a){a&&v(e),s=!1,o()}}}function MO(n){let e,t,i,l,s,o;e=new fe({props:{class:"form-field form-field-toggle m-b-sm",$$slots:{default:[$O,({uniqueId:a})=>({30:a}),({uniqueId:a})=>[a?1073741824:0]]},$$scope:{ctx:n}}}),i=new fe({props:{class:"form-field required m-b-sm",name:`indexes.${n[6]||""}`,$$slots:{default:[EO,({uniqueId:a})=>({30:a}),({uniqueId:a})=>[a?1073741824:0]]},$$scope:{ctx:n}}});let r=n[10].length>0&&Em(n);return{c(){j(e.$$.fragment),t=C(),j(i.$$.fragment),l=C(),r&&r.c(),s=ye()},m(a,u){q(e,a,u),y(a,t,u),q(i,a,u),y(a,l,u),r&&r.m(a,u),y(a,s,u),o=!0},p(a,u){const f={};u[0]&1073741837|u[1]&1&&(f.$$scope={dirty:u,ctx:a}),e.$set(f);const c={};u[0]&64&&(c.name=`indexes.${a[6]||""}`),u[0]&1073742213|u[1]&1&&(c.$$scope={dirty:u,ctx:a}),i.$set(c),a[10].length>0?r?r.p(a,u):(r=Em(a),r.c(),r.m(s.parentNode,s)):r&&(r.d(1),r=null)},i(a){o||(E(e.$$.fragment,a),E(i.$$.fragment,a),o=!0)},o(a){D(e.$$.fragment,a),D(i.$$.fragment,a),o=!1},d(a){a&&(v(t),v(l),v(s)),H(e,a),H(i,a),r&&r.d(a)}}}function DO(n){let e,t=n[5]?"Update":"Create",i,l;return{c(){e=b("h4"),i=B(t),l=B(" index")},m(s,o){y(s,e,o),w(e,i),w(e,l)},p(s,o){o[0]&32&&t!==(t=s[5]?"Update":"Create")&&re(i,t)},d(s){s&&v(e)}}}function Dm(n){let e,t,i;return{c(){e=b("button"),e.innerHTML='<i class="ri-delete-bin-7-line"></i>',p(e,"type","button"),p(e,"class","btn btn-sm btn-circle btn-hint btn-transparent m-r-auto")},m(l,s){y(l,e,s),t||(i=[Ee(He.call(null,e,{text:"Delete",position:"top"})),W(e,"click",n[16])],t=!0)},p:te,d(l){l&&v(e),t=!1,Ie(i)}}}function IO(n){let e,t,i,l,s,o,r=n[5]!=""&&Dm(n);return{c(){r&&r.c(),e=C(),t=b("button"),t.innerHTML='<span class="txt">Cancel</span>',i=C(),l=b("button"),l.innerHTML='<span class="txt">Set index</span>',p(t,"type","button"),p(t,"class","btn btn-transparent"),p(l,"type","button"),p(l,"class","btn"),ee(l,"btn-disabled",n[9].length<=0)},m(a,u){r&&r.m(a,u),y(a,e,u),y(a,t,u),y(a,i,u),y(a,l,u),s||(o=[W(t,"click",n[17]),W(l,"click",n[18])],s=!0)},p(a,u){a[5]!=""?r?r.p(a,u):(r=Dm(a),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),u[0]&512&&ee(l,"btn-disabled",a[9].length<=0)},d(a){a&&(v(e),v(t),v(i),v(l)),r&&r.d(a),s=!1,Ie(o)}}}function LO(n){let e,t;const i=[{popup:!0},n[14]];let l={$$slots:{footer:[IO],header:[DO],default:[MO]},$$scope:{ctx:n}};for(let s=0;s<i.length;s+=1)l=ze(l,i[s]);return e=new Xt({props:l}),n[22](e),e.$on("hide",n[23]),e.$on("show",n[24]),{c(){j(e.$$.fragment)},m(s,o){q(e,s,o),t=!0},p(s,o){const r=o[0]&16384?wt(i,[i[0],Rt(s[14])]):{};o[0]&2029|o[1]&1&&(r.$$scope={dirty:o,ctx:s}),e.$set(r)},i(s){t||(E(e.$$.fragment,s),t=!0)},o(s){D(e.$$.fragment,s),t=!1},d(s){n[22](null),H(e,s)}}}function AO(n,e,t){let i,l,s;const o=["collection","show","hide"];let r=lt(e,o);const a=kt();let{collection:u}=e,f,c="",d="",m="",h,_=!1;function g(U,J){return t(6,m=V.isEmpty(J)?"":J),t(5,c=U||S()),t(2,d=c),f==null?void 0:f.show()}function k(){return f==null?void 0:f.hide()}function S(){const U=V.parseIndex("");return U.tableName=(u==null?void 0:u.name)||"",V.buildIndex(U)}function $(){a("remove",c),k()}function T(){s.length&&(a("submit",{old:c,new:d}),k())}function O(U){const J=V.clone(l),K=J.columns.find(Q=>Q.name==U);K?V.removeByValue(J.columns,K):V.pushUnique(J.columns,{name:U}),t(2,d=V.buildIndex(J))}Gt(async()=>{t(8,_=!0);try{t(7,h=(await Tt(async()=>{const{default:U}=await import("./CodeEditor-DtaTPOng.js");return{default:U}},__vite__mapDeps([12,1]),import.meta.url)).default)}catch(U){console.warn(U)}t(8,_=!1)});const M=()=>$(),L=()=>k(),I=()=>T(),A=U=>{t(3,l.unique=U.target.checked,l),t(3,l.tableName=l.tableName||(u==null?void 0:u.name),l),t(2,d=V.buildIndex(l))};function P(U){d=U,t(2,d)}const N=U=>O(U);function R(U){ie[U?"unshift":"push"](()=>{f=U,t(4,f)})}function z(U){Ne.call(this,n,U)}function F(U){Ne.call(this,n,U)}return n.$$set=U=>{e=ze(ze({},e),Vt(U)),t(14,r=lt(e,o)),"collection"in U&&t(0,u=U.collection)},n.$$.update=()=>{var U,J,K;n.$$.dirty[0]&1&&t(10,i=((J=(U=u==null?void 0:u.fields)==null?void 0:U.filter(Q=>!Q.toDelete&&Q.name!="id"))==null?void 0:J.map(Q=>Q.name))||[]),n.$$.dirty[0]&4&&t(3,l=V.parseIndex(d)),n.$$.dirty[0]&8&&t(9,s=((K=l.columns)==null?void 0:K.map(Q=>Q.name))||[])},[u,k,d,l,f,c,m,h,_,s,i,$,T,O,r,g,M,L,I,A,P,N,R,z,F]}class PO extends Se{constructor(e){super(),we(this,e,AO,LO,be,{collection:0,show:15,hide:1},null,[-1,-1])}get show(){return this.$$.ctx[15]}get hide(){return this.$$.ctx[1]}}function Im(n,e,t){const i=n.slice();i[10]=e[t],i[13]=t;const l=V.parseIndex(i[10]);return i[11]=l,i}function Lm(n){let e,t,i,l,s,o;return{c(){e=b("i"),p(e,"class","ri-error-warning-fill txt-danger")},m(r,a){var u;y(r,e,a),l=!0,s||(o=Ee(t=He.call(null,e,(u=n[2])==null?void 0:u.indexes.message)),s=!0)},p(r,a){var u;t&&It(t.update)&&a&4&&t.update.call(null,(u=r[2])==null?void 0:u.indexes.message)},i(r){l||(r&&et(()=>{l&&(i||(i=je(e,$t,{duration:150},!0)),i.run(1))}),l=!0)},o(r){r&&(i||(i=je(e,$t,{duration:150},!1)),i.run(0)),l=!1},d(r){r&&v(e),r&&i&&i.end(),s=!1,o()}}}function Am(n){let e;return{c(){e=b("strong"),e.textContent="Unique:"},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function Pm(n){var d;let e,t,i,l=((d=n[11].columns)==null?void 0:d.map(Nm).join(", "))+"",s,o,r,a,u,f=n[11].unique&&Am();function c(){return n[4](n[10],n[13])}return{c(){var m,h;e=b("button"),f&&f.c(),t=C(),i=b("span"),s=B(l),p(i,"class","txt"),p(e,"type","button"),p(e,"class",o="label link-primary "+((h=(m=n[2].indexes)==null?void 0:m[n[13]])!=null&&h.message?"label-danger":"")+" svelte-167lbwu")},m(m,h){var _,g;y(m,e,h),f&&f.m(e,null),w(e,t),w(e,i),w(i,s),a||(u=[Ee(r=He.call(null,e,((g=(_=n[2].indexes)==null?void 0:_[n[13]])==null?void 0:g.message)||"")),W(e,"click",c)],a=!0)},p(m,h){var _,g,k,S,$;n=m,n[11].unique?f||(f=Am(),f.c(),f.m(e,t)):f&&(f.d(1),f=null),h&1&&l!==(l=((_=n[11].columns)==null?void 0:_.map(Nm).join(", "))+"")&&re(s,l),h&4&&o!==(o="label link-primary "+((k=(g=n[2].indexes)==null?void 0:g[n[13]])!=null&&k.message?"label-danger":"")+" svelte-167lbwu")&&p(e,"class",o),r&&It(r.update)&&h&4&&r.update.call(null,(($=(S=n[2].indexes)==null?void 0:S[n[13]])==null?void 0:$.message)||"")},d(m){m&&v(e),f&&f.d(),a=!1,Ie(u)}}}function NO(n){var O,M,L,I,A;let e,t,i=(((M=(O=n[0])==null?void 0:O.indexes)==null?void 0:M.length)||0)+"",l,s,o,r,a,u,f,c,d,m,h,_,g=((I=(L=n[2])==null?void 0:L.indexes)==null?void 0:I.message)&&Lm(n),k=ce(((A=n[0])==null?void 0:A.indexes)||[]),S=[];for(let P=0;P<k.length;P+=1)S[P]=Pm(Im(n,k,P));function $(P){n[7](P)}let T={};return n[0]!==void 0&&(T.collection=n[0]),c=new PO({props:T}),n[6](c),ie.push(()=>ge(c,"collection",$)),c.$on("remove",n[8]),c.$on("submit",n[9]),{c(){e=b("div"),t=B("Unique constraints and indexes ("),l=B(i),s=B(`)
+                    is a direct result of the trusted server code-&gt;token exchange response.</em>`,i=C(),j(l.$$.fragment),s=C(),j(o.$$.fragment),p(t,"class","txt-hint txt-sm m-b-xs"),p(e,"class","content")},m(u,f){y(u,e,f),w(e,t),w(e,i),q(l,e,null),w(e,s),q(o,e,null),a=!0},p(u,f){const c={};f&2&&(c.name=u[1]+".extra.jwksURL"),f&24577&&(c.$$scope={dirty:f,ctx:u}),l.$set(c);const d={};f&2&&(d.name=u[1]+".extra.issuers"),f&24577&&(d.$$scope={dirty:f,ctx:u}),o.$set(d)},i(u){a||(E(l.$$.fragment,u),E(o.$$.fragment,u),u&&et(()=>{a&&(r||(r=je(e,mt,{delay:10,duration:150},!0)),r.run(1))}),a=!0)},o(u){D(l.$$.fragment,u),D(o.$$.fragment,u),u&&(r||(r=je(e,mt,{delay:10,duration:150},!1)),r.run(0)),a=!1},d(u){u&&v(e),H(l),H(o),u&&r&&r.end()}}}function r8(n){let e,t,i,l;return t=new fe({props:{class:"form-field required",name:n[1]+".userInfoURL",$$slots:{default:[f8,({uniqueId:s})=>({13:s}),({uniqueId:s})=>s?8192:0]},$$scope:{ctx:n}}}),{c(){e=b("div"),j(t.$$.fragment),p(e,"class","content")},m(s,o){y(s,e,o),q(t,e,null),l=!0},p(s,o){const r={};o&2&&(r.name=s[1]+".userInfoURL"),o&24577&&(r.$$scope={dirty:o,ctx:s}),t.$set(r)},i(s){l||(E(t.$$.fragment,s),s&&et(()=>{l&&(i||(i=je(e,mt,{delay:10,duration:150},!0)),i.run(1))}),l=!0)},o(s){D(t.$$.fragment,s),s&&(i||(i=je(e,mt,{delay:10,duration:150},!1)),i.run(0)),l=!1},d(s){s&&v(e),H(t),s&&i&&i.end()}}}function a8(n){let e,t,i,l,s,o,r,a,u,f;return{c(){e=b("label"),t=b("span"),t.textContent="JWKS verification URL",i=C(),l=b("i"),o=C(),r=b("input"),p(t,"class","txt"),p(l,"class","ri-information-line link-hint"),p(e,"for",s=n[13]),p(r,"type","url"),p(r,"id",a=n[13])},m(c,d){y(c,e,d),w(e,t),w(e,i),w(e,l),y(c,o,d),y(c,r,d),pe(r,n[0].extra.jwksURL),u||(f=[Ee(He.call(null,l,{text:"URL to the public token verification keys.",position:"top"})),W(r,"input",n[9])],u=!0)},p(c,d){d&8192&&s!==(s=c[13])&&p(e,"for",s),d&8192&&a!==(a=c[13])&&p(r,"id",a),d&1&&r.value!==c[0].extra.jwksURL&&pe(r,c[0].extra.jwksURL)},d(c){c&&(v(e),v(o),v(r)),u=!1,Ie(f)}}}function u8(n){let e,t,i,l,s,o,r,a,u,f,c;function d(h){n[10](h)}let m={id:n[13]};return n[0].extra.issuers!==void 0&&(m.value=n[0].extra.issuers),r=new ds({props:m}),ie.push(()=>ge(r,"value",d)),{c(){e=b("label"),t=b("span"),t.textContent="Issuers",i=C(),l=b("i"),o=C(),j(r.$$.fragment),p(t,"class","txt"),p(l,"class","ri-information-line link-hint"),p(e,"for",s=n[13])},m(h,_){y(h,e,_),w(e,t),w(e,i),w(e,l),y(h,o,_),q(r,h,_),u=!0,f||(c=Ee(He.call(null,l,{text:"Comma separated list of accepted values for the iss token claim validation.",position:"top"})),f=!0)},p(h,_){(!u||_&8192&&s!==(s=h[13]))&&p(e,"for",s);const g={};_&8192&&(g.id=h[13]),!a&&_&1&&(a=!0,g.value=h[0].extra.issuers,Te(()=>a=!1)),r.$set(g)},i(h){u||(E(r.$$.fragment,h),u=!0)},o(h){D(r.$$.fragment,h),u=!1},d(h){h&&(v(e),v(o)),H(r,h),f=!1,c()}}}function f8(n){let e,t,i,l,s,o,r,a;return{c(){e=b("label"),t=B("User info URL"),l=C(),s=b("input"),p(e,"for",i=n[13]),p(s,"type","url"),p(s,"id",o=n[13]),s.required=!0},m(u,f){y(u,e,f),w(e,t),y(u,l,f),y(u,s,f),pe(s,n[0].userInfoURL),r||(a=W(s,"input",n[8]),r=!0)},p(u,f){f&8192&&i!==(i=u[13])&&p(e,"for",i),f&8192&&o!==(o=u[13])&&p(s,"id",o),f&1&&s.value!==u[0].userInfoURL&&pe(s,u[0].userInfoURL)},d(u){u&&(v(e),v(l),v(s)),r=!1,a()}}}function c8(n){let e,t,i,l,s,o,r,a,u,f;return{c(){e=b("input"),i=C(),l=b("label"),s=b("span"),s.textContent="Support PKCE",o=C(),r=b("i"),p(e,"type","checkbox"),p(e,"id",t=n[13]),p(s,"class","txt"),p(r,"class","ri-information-line link-hint"),p(l,"for",a=n[13])},m(c,d){y(c,e,d),e.checked=n[0].pkce,y(c,i,d),y(c,l,d),w(l,s),w(l,o),w(l,r),u||(f=[W(e,"change",n[11]),Ee(He.call(null,r,{text:"Usually it should be safe to be always enabled as most providers will just ignore the extra query parameters if they don't support PKCE.",position:"right"}))],u=!0)},p(c,d){d&8192&&t!==(t=c[13])&&p(e,"id",t),d&1&&(e.checked=c[0].pkce),d&8192&&a!==(a=c[13])&&p(l,"for",a)},d(c){c&&(v(e),v(i),v(l)),u=!1,Ie(f)}}}function d8(n){let e,t,i,l,s,o,r,a,u,f,c,d,m,h,_,g;e=new fe({props:{class:"form-field required",name:n[1]+".displayName",$$slots:{default:[n8,({uniqueId:T})=>({13:T}),({uniqueId:T})=>T?8192:0]},$$scope:{ctx:n}}}),s=new fe({props:{class:"form-field required",name:n[1]+".authURL",$$slots:{default:[i8,({uniqueId:T})=>({13:T}),({uniqueId:T})=>T?8192:0]},$$scope:{ctx:n}}}),r=new fe({props:{class:"form-field required",name:n[1]+".tokenURL",$$slots:{default:[l8,({uniqueId:T})=>({13:T}),({uniqueId:T})=>T?8192:0]},$$scope:{ctx:n}}}),u=new fe({props:{class:"form-field m-b-xs",$$slots:{default:[s8,({uniqueId:T})=>({13:T}),({uniqueId:T})=>T?8192:0]},$$scope:{ctx:n}}});const k=[r8,o8],S=[];function $(T,O){return T[2]?0:1}return d=$(n),m=S[d]=k[d](n),_=new fe({props:{class:"form-field",name:n[1]+".pkce",$$slots:{default:[c8,({uniqueId:T})=>({13:T}),({uniqueId:T})=>T?8192:0]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment),t=C(),i=b("div"),i.textContent="Endpoints",l=C(),j(s.$$.fragment),o=C(),j(r.$$.fragment),a=C(),j(u.$$.fragment),f=C(),c=b("div"),m.c(),h=C(),j(_.$$.fragment),p(i,"class","section-title"),p(c,"class","sub-panel m-b-base")},m(T,O){q(e,T,O),y(T,t,O),y(T,i,O),y(T,l,O),q(s,T,O),y(T,o,O),q(r,T,O),y(T,a,O),q(u,T,O),y(T,f,O),y(T,c,O),S[d].m(c,null),y(T,h,O),q(_,T,O),g=!0},p(T,[O]){const M={};O&2&&(M.name=T[1]+".displayName"),O&24577&&(M.$$scope={dirty:O,ctx:T}),e.$set(M);const L={};O&2&&(L.name=T[1]+".authURL"),O&24577&&(L.$$scope={dirty:O,ctx:T}),s.$set(L);const I={};O&2&&(I.name=T[1]+".tokenURL"),O&24577&&(I.$$scope={dirty:O,ctx:T}),r.$set(I);const A={};O&24580&&(A.$$scope={dirty:O,ctx:T}),u.$set(A);let P=d;d=$(T),d===P?S[d].p(T,O):(ae(),D(S[P],1,1,()=>{S[P]=null}),ue(),m=S[d],m?m.p(T,O):(m=S[d]=k[d](T),m.c()),E(m,1),m.m(c,null));const N={};O&2&&(N.name=T[1]+".pkce"),O&24577&&(N.$$scope={dirty:O,ctx:T}),_.$set(N)},i(T){g||(E(e.$$.fragment,T),E(s.$$.fragment,T),E(r.$$.fragment,T),E(u.$$.fragment,T),E(m),E(_.$$.fragment,T),g=!0)},o(T){D(e.$$.fragment,T),D(s.$$.fragment,T),D(r.$$.fragment,T),D(u.$$.fragment,T),D(m),D(_.$$.fragment,T),g=!1},d(T){T&&(v(t),v(i),v(l),v(o),v(a),v(f),v(c),v(h)),H(e,T),H(s,T),H(r,T),H(u,T),S[d].d(),H(_,T)}}}function p8(n,e,t){let{key:i=""}=e,{config:l={}}=e;const s=[{label:"User info URL",value:!0},{label:"ID Token",value:!1}];let o=!!l.userInfoURL;V.isEmpty(l.pkce)&&(l.pkce=!0),l.displayName||(l.displayName="OIDC"),l.extra||(l.extra={},o=!0);function r(){o?t(0,l.extra={},l):(t(0,l.userInfoURL="",l),t(0,l.extra=l.extra||{},l))}function a(){l.displayName=this.value,t(0,l)}function u(){l.authURL=this.value,t(0,l)}function f(){l.tokenURL=this.value,t(0,l)}function c(g){o=g,t(2,o)}function d(){l.userInfoURL=this.value,t(0,l)}function m(){l.extra.jwksURL=this.value,t(0,l)}function h(g){n.$$.not_equal(l.extra.issuers,g)&&(l.extra.issuers=g,t(0,l))}function _(){l.pkce=this.checked,t(0,l)}return n.$$set=g=>{"key"in g&&t(1,i=g.key),"config"in g&&t(0,l=g.config)},n.$$.update=()=>{n.$$.dirty&4&&typeof o!==void 0&&r()},[l,i,o,s,a,u,f,c,d,m,h,_]}class va extends Se{constructor(e){super(),we(this,e,p8,d8,be,{key:1,config:0})}}function m8(n){let e,t,i,l,s,o,r,a;return{c(){e=b("label"),t=B("Auth URL"),l=C(),s=b("input"),p(e,"for",i=n[8]),p(s,"type","url"),p(s,"id",o=n[8]),s.required=n[3]},m(u,f){y(u,e,f),w(e,t),y(u,l,f),y(u,s,f),pe(s,n[0].authURL),r||(a=W(s,"input",n[5]),r=!0)},p(u,f){f&256&&i!==(i=u[8])&&p(e,"for",i),f&256&&o!==(o=u[8])&&p(s,"id",o),f&8&&(s.required=u[3]),f&1&&s.value!==u[0].authURL&&pe(s,u[0].authURL)},d(u){u&&(v(e),v(l),v(s)),r=!1,a()}}}function h8(n){let e,t,i,l,s,o,r,a;return{c(){e=b("label"),t=B("Token URL"),l=C(),s=b("input"),p(e,"for",i=n[8]),p(s,"type","url"),p(s,"id",o=n[8]),s.required=n[3]},m(u,f){y(u,e,f),w(e,t),y(u,l,f),y(u,s,f),pe(s,n[0].tokenURL),r||(a=W(s,"input",n[6]),r=!0)},p(u,f){f&256&&i!==(i=u[8])&&p(e,"for",i),f&256&&o!==(o=u[8])&&p(s,"id",o),f&8&&(s.required=u[3]),f&1&&s.value!==u[0].tokenURL&&pe(s,u[0].tokenURL)},d(u){u&&(v(e),v(l),v(s)),r=!1,a()}}}function _8(n){let e,t,i,l,s,o,r,a;return{c(){e=b("label"),t=B("User info URL"),l=C(),s=b("input"),p(e,"for",i=n[8]),p(s,"type","url"),p(s,"id",o=n[8]),s.required=n[3]},m(u,f){y(u,e,f),w(e,t),y(u,l,f),y(u,s,f),pe(s,n[0].userInfoURL),r||(a=W(s,"input",n[7]),r=!0)},p(u,f){f&256&&i!==(i=u[8])&&p(e,"for",i),f&256&&o!==(o=u[8])&&p(s,"id",o),f&8&&(s.required=u[3]),f&1&&s.value!==u[0].userInfoURL&&pe(s,u[0].userInfoURL)},d(u){u&&(v(e),v(l),v(s)),r=!1,a()}}}function g8(n){let e,t,i,l,s,o,r,a,u;return l=new fe({props:{class:"form-field "+(n[3]?"required":""),name:n[1]+".authURL",$$slots:{default:[m8,({uniqueId:f})=>({8:f}),({uniqueId:f})=>f?256:0]},$$scope:{ctx:n}}}),o=new fe({props:{class:"form-field "+(n[3]?"required":""),name:n[1]+".tokenURL",$$slots:{default:[h8,({uniqueId:f})=>({8:f}),({uniqueId:f})=>f?256:0]},$$scope:{ctx:n}}}),a=new fe({props:{class:"form-field "+(n[3]?"required":""),name:n[1]+".userInfoURL",$$slots:{default:[_8,({uniqueId:f})=>({8:f}),({uniqueId:f})=>f?256:0]},$$scope:{ctx:n}}}),{c(){e=b("div"),t=B(n[2]),i=C(),j(l.$$.fragment),s=C(),j(o.$$.fragment),r=C(),j(a.$$.fragment),p(e,"class","section-title")},m(f,c){y(f,e,c),w(e,t),y(f,i,c),q(l,f,c),y(f,s,c),q(o,f,c),y(f,r,c),q(a,f,c),u=!0},p(f,[c]){(!u||c&4)&&re(t,f[2]);const d={};c&8&&(d.class="form-field "+(f[3]?"required":"")),c&2&&(d.name=f[1]+".authURL"),c&777&&(d.$$scope={dirty:c,ctx:f}),l.$set(d);const m={};c&8&&(m.class="form-field "+(f[3]?"required":"")),c&2&&(m.name=f[1]+".tokenURL"),c&777&&(m.$$scope={dirty:c,ctx:f}),o.$set(m);const h={};c&8&&(h.class="form-field "+(f[3]?"required":"")),c&2&&(h.name=f[1]+".userInfoURL"),c&777&&(h.$$scope={dirty:c,ctx:f}),a.$set(h)},i(f){u||(E(l.$$.fragment,f),E(o.$$.fragment,f),E(a.$$.fragment,f),u=!0)},o(f){D(l.$$.fragment,f),D(o.$$.fragment,f),D(a.$$.fragment,f),u=!1},d(f){f&&(v(e),v(i),v(s),v(r)),H(l,f),H(o,f),H(a,f)}}}function b8(n,e,t){let i,{key:l=""}=e,{config:s={}}=e,{required:o=!1}=e,{title:r="Provider endpoints"}=e;function a(){s.authURL=this.value,t(0,s)}function u(){s.tokenURL=this.value,t(0,s)}function f(){s.userInfoURL=this.value,t(0,s)}return n.$$set=c=>{"key"in c&&t(1,l=c.key),"config"in c&&t(0,s=c.config),"required"in c&&t(4,o=c.required),"title"in c&&t(2,r=c.title)},n.$$.update=()=>{n.$$.dirty&17&&t(3,i=o&&(s==null?void 0:s.enabled))},[s,l,r,i,o,a,u,f]}class ya extends Se{constructor(e){super(),we(this,e,b8,g8,be,{key:1,config:0,required:4,title:2})}}const xu=[{key:"apple",title:"Apple",logo:"apple.svg",optionsComponent:U6},{key:"google",title:"Google",logo:"google.svg"},{key:"microsoft",title:"Microsoft",logo:"microsoft.svg",optionsComponent:K6},{key:"yandex",title:"Yandex",logo:"yandex.svg"},{key:"facebook",title:"Facebook",logo:"facebook.svg"},{key:"instagram2",title:"Instagram",logo:"instagram.svg"},{key:"github",title:"GitHub",logo:"github.svg"},{key:"gitlab",title:"GitLab",logo:"gitlab.svg",optionsComponent:ya,optionsComponentProps:{title:"Self-hosted endpoints (optional)"}},{key:"bitbucket",title:"Bitbucket",logo:"bitbucket.svg"},{key:"gitee",title:"Gitee",logo:"gitee.svg"},{key:"gitea",title:"Gitea",logo:"gitea.svg",optionsComponent:ya,optionsComponentProps:{title:"Self-hosted endpoints (optional)"}},{key:"discord",title:"Discord",logo:"discord.svg"},{key:"twitter",title:"Twitter",logo:"twitter.svg"},{key:"kakao",title:"Kakao",logo:"kakao.svg"},{key:"vk",title:"VK",logo:"vk.svg"},{key:"notion",title:"Notion",logo:"notion.svg"},{key:"monday",title:"monday.com",logo:"monday.svg"},{key:"spotify",title:"Spotify",logo:"spotify.svg"},{key:"twitch",title:"Twitch",logo:"twitch.svg"},{key:"patreon",title:"Patreon (v2)",logo:"patreon.svg"},{key:"strava",title:"Strava",logo:"strava.svg"},{key:"wakatime",title:"WakaTime",logo:"wakatime.svg"},{key:"livechat",title:"LiveChat",logo:"livechat.svg"},{key:"mailcow",title:"mailcow",logo:"mailcow.svg",optionsComponent:ya,optionsComponentProps:{required:!0}},{key:"planningcenter",title:"Planning Center",logo:"planningcenter.svg"},{key:"oidc",title:"OpenID Connect",logo:"oidc.svg",optionsComponent:va},{key:"oidc2",title:"(2) OpenID Connect",logo:"oidc.svg",optionsComponent:va},{key:"oidc3",title:"(3) OpenID Connect",logo:"oidc.svg",optionsComponent:va}];function lm(n,e,t){const i=n.slice();return i[16]=e[t],i}function sm(n){let e,t,i,l,s;return{c(){e=b("button"),e.innerHTML='<span class="txt">Clear</span>',p(e,"type","button"),p(e,"class","btn btn-transparent btn-sm btn-hint p-l-xs p-r-xs m-l-10")},m(o,r){y(o,e,r),i=!0,l||(s=W(e,"click",n[9]),l=!0)},p:te,i(o){i||(o&&et(()=>{i&&(t||(t=je(e,Fn,{duration:150,x:5},!0)),t.run(1))}),i=!0)},o(o){o&&(t||(t=je(e,Fn,{duration:150,x:5},!1)),t.run(0)),i=!1},d(o){o&&v(e),o&&t&&t.end(),l=!1,s()}}}function k8(n){let e,t,i,l,s,o,r,a,u,f,c=n[1]!=""&&sm(n);return{c(){e=b("label"),t=b("i"),l=C(),s=b("input"),r=C(),c&&c.c(),a=ye(),p(t,"class","ri-search-line"),p(e,"for",i=n[19]),p(e,"class","m-l-10 txt-xl"),p(s,"id",o=n[19]),p(s,"type","text"),p(s,"placeholder","Search provider")},m(d,m){y(d,e,m),w(e,t),y(d,l,m),y(d,s,m),pe(s,n[1]),y(d,r,m),c&&c.m(d,m),y(d,a,m),u||(f=W(s,"input",n[8]),u=!0)},p(d,m){m&524288&&i!==(i=d[19])&&p(e,"for",i),m&524288&&o!==(o=d[19])&&p(s,"id",o),m&2&&s.value!==d[1]&&pe(s,d[1]),d[1]!=""?c?(c.p(d,m),m&2&&E(c,1)):(c=sm(d),c.c(),E(c,1),c.m(a.parentNode,a)):c&&(ae(),D(c,1,1,()=>{c=null}),ue())},d(d){d&&(v(e),v(l),v(s),v(r),v(a)),c&&c.d(d),u=!1,f()}}}function om(n){let e,t,i,l,s=n[1]!=""&&rm(n);return{c(){e=b("div"),t=b("span"),t.textContent="No providers to select.",i=C(),s&&s.c(),l=C(),p(t,"class","txt-hint"),p(e,"class","flex inline-flex")},m(o,r){y(o,e,r),w(e,t),w(e,i),s&&s.m(e,null),w(e,l)},p(o,r){o[1]!=""?s?s.p(o,r):(s=rm(o),s.c(),s.m(e,l)):s&&(s.d(1),s=null)},d(o){o&&v(e),s&&s.d()}}}function rm(n){let e,t,i;return{c(){e=b("button"),e.textContent="Clear filter",p(e,"type","button"),p(e,"class","btn btn-sm btn-secondary")},m(l,s){y(l,e,s),t||(i=W(e,"click",n[5]),t=!0)},p:te,d(l){l&&v(e),t=!1,i()}}}function am(n){let e,t,i;return{c(){e=b("img"),bn(e.src,t="./images/oauth2/"+n[16].logo)||p(e,"src",t),p(e,"alt",i=n[16].title+" logo")},m(l,s){y(l,e,s)},p(l,s){s&8&&!bn(e.src,t="./images/oauth2/"+l[16].logo)&&p(e,"src",t),s&8&&i!==(i=l[16].title+" logo")&&p(e,"alt",i)},d(l){l&&v(e)}}}function um(n,e){let t,i,l,s,o,r,a=e[16].title+"",u,f,c,d=e[16].key+"",m,h,_,g,k=e[16].logo&&am(e);function S(){return e[10](e[16])}return{key:n,first:null,c(){t=b("div"),i=b("button"),l=b("figure"),k&&k.c(),s=C(),o=b("div"),r=b("div"),u=B(a),f=C(),c=b("em"),m=B(d),h=C(),p(l,"class","provider-logo"),p(r,"class","title"),p(c,"class","txt-hint txt-sm m-r-auto"),p(o,"class","content"),p(i,"type","button"),p(i,"class","provider-card handle"),p(t,"class","col-lg-6"),this.first=t},m($,T){y($,t,T),w(t,i),w(i,l),k&&k.m(l,null),w(i,s),w(i,o),w(o,r),w(r,u),w(o,f),w(o,c),w(c,m),w(t,h),_||(g=W(i,"click",S),_=!0)},p($,T){e=$,e[16].logo?k?k.p(e,T):(k=am(e),k.c(),k.m(l,null)):k&&(k.d(1),k=null),T&8&&a!==(a=e[16].title+"")&&re(u,a),T&8&&d!==(d=e[16].key+"")&&re(m,d)},d($){$&&v(t),k&&k.d(),_=!1,g()}}}function v8(n){let e,t,i,l=[],s=new Map,o;e=new fe({props:{class:"searchbar m-b-sm",$$slots:{default:[k8,({uniqueId:f})=>({19:f}),({uniqueId:f})=>f?524288:0]},$$scope:{ctx:n}}});let r=ce(n[3]);const a=f=>f[16].key;for(let f=0;f<r.length;f+=1){let c=lm(n,r,f),d=a(c);s.set(d,l[f]=um(d,c))}let u=null;return r.length||(u=om(n)),{c(){j(e.$$.fragment),t=C(),i=b("div");for(let f=0;f<l.length;f+=1)l[f].c();u&&u.c(),p(i,"class","grid grid-sm")},m(f,c){q(e,f,c),y(f,t,c),y(f,i,c);for(let d=0;d<l.length;d+=1)l[d]&&l[d].m(i,null);u&&u.m(i,null),o=!0},p(f,c){const d={};c&1572866&&(d.$$scope={dirty:c,ctx:f}),e.$set(d),c&58&&(r=ce(f[3]),l=yt(l,c,a,1,f,r,s,i,di,um,null,lm),!r.length&&u?u.p(f,c):r.length?u&&(u.d(1),u=null):(u=om(f),u.c(),u.m(i,null)))},i(f){o||(E(e.$$.fragment,f),o=!0)},o(f){D(e.$$.fragment,f),o=!1},d(f){f&&(v(t),v(i)),H(e,f);for(let c=0;c<l.length;c+=1)l[c].d();u&&u.d()}}}function y8(n){let e;return{c(){e=b("h4"),e.textContent="Add OAuth2 provider",p(e,"class","center txt-break")},m(t,i){y(t,e,i)},p:te,d(t){t&&v(e)}}}function w8(n){let e,t,i;return{c(){e=b("button"),e.textContent="Cancel",p(e,"type","button"),p(e,"class","btn btn-transparent")},m(l,s){y(l,e,s),t||(i=W(e,"click",n[0]),t=!0)},p:te,d(l){l&&v(e),t=!1,i()}}}function S8(n){let e,t,i={btnClose:!1,$$slots:{footer:[w8],header:[y8],default:[v8]},$$scope:{ctx:n}};return e=new Xt({props:i}),n[11](e),e.$on("show",n[12]),e.$on("hide",n[13]),{c(){j(e.$$.fragment)},m(l,s){q(e,l,s),t=!0},p(l,[s]){const o={};s&1048586&&(o.$$scope={dirty:s,ctx:l}),e.$set(o)},i(l){t||(E(e.$$.fragment,l),t=!0)},o(l){D(e.$$.fragment,l),t=!1},d(l){n[11](null),H(e,l)}}}function T8(n,e,t){const i=kt();let{disabled:l=[]}=e,s,o="",r=[];function a(){d(),s==null||s.show()}function u(){return s==null?void 0:s.hide()}function f($){i("select",$),u()}function c(){const $=(o||"").toLowerCase();return xu.filter(T=>!l.includes(T.key)&&($==""||T.key.toLowerCase().includes($)||T.title.toLowerCase().includes($)))}function d(){t(1,o="")}function m(){o=this.value,t(1,o)}const h=()=>t(1,o=""),_=$=>f($);function g($){ie[$?"unshift":"push"](()=>{s=$,t(2,s)})}function k($){Ne.call(this,n,$)}function S($){Ne.call(this,n,$)}return n.$$set=$=>{"disabled"in $&&t(6,l=$.disabled)},n.$$.update=()=>{n.$$.dirty&66&&(o!==-1||l!==-1)&&t(3,r=c())},[u,o,s,r,f,d,l,a,m,h,_,g,k,S]}class $8 extends Se{constructor(e){super(),we(this,e,T8,S8,be,{disabled:6,show:7,hide:0})}get show(){return this.$$.ctx[7]}get hide(){return this.$$.ctx[0]}}function fm(n,e,t){const i=n.slice();i[28]=e[t],i[31]=t;const l=i[9](i[28].name);return i[29]=l,i}function C8(n){let e,t,i,l,s,o,r,a;return{c(){e=b("input"),i=C(),l=b("label"),s=B("Enable"),p(e,"type","checkbox"),p(e,"id",t=n[27]),p(l,"for",o=n[27])},m(u,f){y(u,e,f),e.checked=n[0].oauth2.enabled,y(u,i,f),y(u,l,f),w(l,s),r||(a=W(e,"change",n[10]),r=!0)},p(u,f){f[0]&134217728&&t!==(t=u[27])&&p(e,"id",t),f[0]&1&&(e.checked=u[0].oauth2.enabled),f[0]&134217728&&o!==(o=u[27])&&p(l,"for",o)},d(u){u&&(v(e),v(i),v(l)),r=!1,a()}}}function O8(n){let e;return{c(){e=b("i"),p(e,"class","ri-puzzle-line txt-sm txt-hint")},m(t,i){y(t,e,i)},p:te,d(t){t&&v(e)}}}function E8(n){let e,t,i;return{c(){e=b("img"),bn(e.src,t="./images/oauth2/"+n[29].logo)||p(e,"src",t),p(e,"alt",i=n[29].title+" logo")},m(l,s){y(l,e,s)},p(l,s){s[0]&1&&!bn(e.src,t="./images/oauth2/"+l[29].logo)&&p(e,"src",t),s[0]&1&&i!==(i=l[29].title+" logo")&&p(e,"alt",i)},d(l){l&&v(e)}}}function cm(n){let e,t,i;function l(){return n[11](n[29],n[28],n[31])}return{c(){e=b("button"),e.innerHTML='<i class="ri-settings-4-line"></i>',p(e,"type","button"),p(e,"class","btn btn-circle btn-hint btn-transparent"),p(e,"aria-label","Provider settings")},m(s,o){y(s,e,o),t||(i=[Ee(He.call(null,e,{text:"Edit config",position:"left"})),W(e,"click",l)],t=!0)},p(s,o){n=s},d(s){s&&v(e),t=!1,Ie(i)}}}function dm(n,e){var $;let t,i,l,s,o,r,a=(e[28].displayName||(($=e[29])==null?void 0:$.title)||"Custom")+"",u,f,c,d=e[28].name+"",m,h;function _(T,O){var M;return(M=T[29])!=null&&M.logo?E8:O8}let g=_(e),k=g(e),S=e[29]&&cm(e);return{key:n,first:null,c(){var T,O,M;t=b("div"),i=b("div"),l=b("figure"),k.c(),s=C(),o=b("div"),r=b("div"),u=B(a),f=C(),c=b("em"),m=B(d),h=C(),S&&S.c(),p(l,"class","provider-logo"),p(r,"class","title"),p(c,"class","txt-hint txt-sm m-r-auto"),p(o,"class","content"),p(i,"class","provider-card"),ee(i,"error",!V.isEmpty((M=(O=(T=e[1])==null?void 0:T.oauth2)==null?void 0:O.providers)==null?void 0:M[e[31]])),p(t,"class","col-lg-6"),this.first=t},m(T,O){y(T,t,O),w(t,i),w(i,l),k.m(l,null),w(i,s),w(i,o),w(o,r),w(r,u),w(o,f),w(o,c),w(c,m),w(i,h),S&&S.m(i,null)},p(T,O){var M,L,I,A;e=T,g===(g=_(e))&&k?k.p(e,O):(k.d(1),k=g(e),k&&(k.c(),k.m(l,null))),O[0]&1&&a!==(a=(e[28].displayName||((M=e[29])==null?void 0:M.title)||"Custom")+"")&&re(u,a),O[0]&1&&d!==(d=e[28].name+"")&&re(m,d),e[29]?S?S.p(e,O):(S=cm(e),S.c(),S.m(i,null)):S&&(S.d(1),S=null),O[0]&3&&ee(i,"error",!V.isEmpty((A=(I=(L=e[1])==null?void 0:L.oauth2)==null?void 0:I.providers)==null?void 0:A[e[31]]))},d(T){T&&v(t),k.d(),S&&S.d()}}}function M8(n){let e;return{c(){e=b("i"),p(e,"class","ri-arrow-down-s-line txt-sm")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function D8(n){let e;return{c(){e=b("i"),p(e,"class","ri-arrow-up-s-line txt-sm")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function pm(n){let e,t,i,l,s,o,r,a,u,f,c,d,m,h,_;return l=new fe({props:{class:"form-field form-field-toggle",name:"oauth2.mappedFields.name",$$slots:{default:[I8,({uniqueId:g})=>({27:g}),({uniqueId:g})=>[g?134217728:0]]},$$scope:{ctx:n}}}),r=new fe({props:{class:"form-field form-field-toggle",name:"oauth2.mappedFields.avatarURL",$$slots:{default:[L8,({uniqueId:g})=>({27:g}),({uniqueId:g})=>[g?134217728:0]]},$$scope:{ctx:n}}}),f=new fe({props:{class:"form-field form-field-toggle",name:"oauth2.mappedFields.id",$$slots:{default:[A8,({uniqueId:g})=>({27:g}),({uniqueId:g})=>[g?134217728:0]]},$$scope:{ctx:n}}}),m=new fe({props:{class:"form-field form-field-toggle",name:"oauth2.mappedFields.username",$$slots:{default:[P8,({uniqueId:g})=>({27:g}),({uniqueId:g})=>[g?134217728:0]]},$$scope:{ctx:n}}}),{c(){e=b("div"),t=b("div"),i=b("div"),j(l.$$.fragment),s=C(),o=b("div"),j(r.$$.fragment),a=C(),u=b("div"),j(f.$$.fragment),c=C(),d=b("div"),j(m.$$.fragment),p(i,"class","col-sm-6"),p(o,"class","col-sm-6"),p(u,"class","col-sm-6"),p(d,"class","col-sm-6"),p(t,"class","grid grid-sm p-t-xs"),p(e,"class","block")},m(g,k){y(g,e,k),w(e,t),w(t,i),q(l,i,null),w(t,s),w(t,o),q(r,o,null),w(t,a),w(t,u),q(f,u,null),w(t,c),w(t,d),q(m,d,null),_=!0},p(g,k){const S={};k[0]&134217761|k[1]&2&&(S.$$scope={dirty:k,ctx:g}),l.$set(S);const $={};k[0]&134217793|k[1]&2&&($.$$scope={dirty:k,ctx:g}),r.$set($);const T={};k[0]&134217761|k[1]&2&&(T.$$scope={dirty:k,ctx:g}),f.$set(T);const O={};k[0]&134217761|k[1]&2&&(O.$$scope={dirty:k,ctx:g}),m.$set(O)},i(g){_||(E(l.$$.fragment,g),E(r.$$.fragment,g),E(f.$$.fragment,g),E(m.$$.fragment,g),g&&et(()=>{_&&(h||(h=je(e,mt,{duration:150},!0)),h.run(1))}),_=!0)},o(g){D(l.$$.fragment,g),D(r.$$.fragment,g),D(f.$$.fragment,g),D(m.$$.fragment,g),g&&(h||(h=je(e,mt,{duration:150},!1)),h.run(0)),_=!1},d(g){g&&v(e),H(l),H(r),H(f),H(m),g&&h&&h.end()}}}function I8(n){let e,t,i,l,s,o,r;function a(f){n[14](f)}let u={id:n[27],items:n[5],toggle:!0,zeroFunc:j8,selectPlaceholder:"Select field"};return n[0].oauth2.mappedFields.name!==void 0&&(u.selected=n[0].oauth2.mappedFields.name),s=new cs({props:u}),ie.push(()=>ge(s,"selected",a)),{c(){e=b("label"),t=B("OAuth2 full name"),l=C(),j(s.$$.fragment),p(e,"for",i=n[27])},m(f,c){y(f,e,c),w(e,t),y(f,l,c),q(s,f,c),r=!0},p(f,c){(!r||c[0]&134217728&&i!==(i=f[27]))&&p(e,"for",i);const d={};c[0]&134217728&&(d.id=f[27]),c[0]&32&&(d.items=f[5]),!o&&c[0]&1&&(o=!0,d.selected=f[0].oauth2.mappedFields.name,Te(()=>o=!1)),s.$set(d)},i(f){r||(E(s.$$.fragment,f),r=!0)},o(f){D(s.$$.fragment,f),r=!1},d(f){f&&(v(e),v(l)),H(s,f)}}}function L8(n){let e,t,i,l,s,o,r;function a(f){n[15](f)}let u={id:n[27],items:n[6],toggle:!0,zeroFunc:z8,selectPlaceholder:"Select field"};return n[0].oauth2.mappedFields.avatarURL!==void 0&&(u.selected=n[0].oauth2.mappedFields.avatarURL),s=new cs({props:u}),ie.push(()=>ge(s,"selected",a)),{c(){e=b("label"),t=B("OAuth2 avatar"),l=C(),j(s.$$.fragment),p(e,"for",i=n[27])},m(f,c){y(f,e,c),w(e,t),y(f,l,c),q(s,f,c),r=!0},p(f,c){(!r||c[0]&134217728&&i!==(i=f[27]))&&p(e,"for",i);const d={};c[0]&134217728&&(d.id=f[27]),c[0]&64&&(d.items=f[6]),!o&&c[0]&1&&(o=!0,d.selected=f[0].oauth2.mappedFields.avatarURL,Te(()=>o=!1)),s.$set(d)},i(f){r||(E(s.$$.fragment,f),r=!0)},o(f){D(s.$$.fragment,f),r=!1},d(f){f&&(v(e),v(l)),H(s,f)}}}function A8(n){let e,t,i,l,s,o,r;function a(f){n[16](f)}let u={id:n[27],items:n[5],toggle:!0,zeroFunc:U8,selectPlaceholder:"Select field"};return n[0].oauth2.mappedFields.id!==void 0&&(u.selected=n[0].oauth2.mappedFields.id),s=new cs({props:u}),ie.push(()=>ge(s,"selected",a)),{c(){e=b("label"),t=B("OAuth2 id"),l=C(),j(s.$$.fragment),p(e,"for",i=n[27])},m(f,c){y(f,e,c),w(e,t),y(f,l,c),q(s,f,c),r=!0},p(f,c){(!r||c[0]&134217728&&i!==(i=f[27]))&&p(e,"for",i);const d={};c[0]&134217728&&(d.id=f[27]),c[0]&32&&(d.items=f[5]),!o&&c[0]&1&&(o=!0,d.selected=f[0].oauth2.mappedFields.id,Te(()=>o=!1)),s.$set(d)},i(f){r||(E(s.$$.fragment,f),r=!0)},o(f){D(s.$$.fragment,f),r=!1},d(f){f&&(v(e),v(l)),H(s,f)}}}function P8(n){let e,t,i,l,s,o,r;function a(f){n[17](f)}let u={id:n[27],items:n[5],toggle:!0,zeroFunc:V8,selectPlaceholder:"Select field"};return n[0].oauth2.mappedFields.username!==void 0&&(u.selected=n[0].oauth2.mappedFields.username),s=new cs({props:u}),ie.push(()=>ge(s,"selected",a)),{c(){e=b("label"),t=B("OAuth2 username"),l=C(),j(s.$$.fragment),p(e,"for",i=n[27])},m(f,c){y(f,e,c),w(e,t),y(f,l,c),q(s,f,c),r=!0},p(f,c){(!r||c[0]&134217728&&i!==(i=f[27]))&&p(e,"for",i);const d={};c[0]&134217728&&(d.id=f[27]),c[0]&32&&(d.items=f[5]),!o&&c[0]&1&&(o=!0,d.selected=f[0].oauth2.mappedFields.username,Te(()=>o=!1)),s.$set(d)},i(f){r||(E(s.$$.fragment,f),r=!0)},o(f){D(s.$$.fragment,f),r=!1},d(f){f&&(v(e),v(l)),H(s,f)}}}function N8(n){let e,t,i,l=[],s=new Map,o,r,a,u,f,c,d,m=n[0].name+"",h,_,g,k,S,$,T,O,M;e=new fe({props:{class:"form-field form-field-toggle",name:"oauth2.enabled",$$slots:{default:[C8,({uniqueId:z})=>({27:z}),({uniqueId:z})=>[z?134217728:0]]},$$scope:{ctx:n}}});let L=ce(n[0].oauth2.providers);const I=z=>z[28].name;for(let z=0;z<L.length;z+=1){let F=fm(n,L,z),U=I(F);s.set(U,l[z]=dm(U,F))}function A(z,F){return z[4]?D8:M8}let P=A(n),N=P(n),R=n[4]&&pm(n);return{c(){j(e.$$.fragment),t=C(),i=b("div");for(let z=0;z<l.length;z+=1)l[z].c();o=C(),r=b("div"),a=b("button"),a.innerHTML='<i class="ri-add-line"></i> <span class="txt">Add provider</span>',u=C(),f=b("button"),c=b("strong"),d=B("Optional "),h=B(m),_=B(" create fields map"),g=C(),N.c(),S=C(),R&&R.c(),$=ye(),p(a,"class","btn btn-block btn-lg btn-secondary txt-base"),p(r,"class","col-lg-6"),p(i,"class","grid grid-sm"),p(c,"class","txt"),p(f,"type","button"),p(f,"class",k="m-t-25 btn btn-sm "+(n[4]?"btn-secondary":"btn-hint btn-transparent"))},m(z,F){q(e,z,F),y(z,t,F),y(z,i,F);for(let U=0;U<l.length;U+=1)l[U]&&l[U].m(i,null);w(i,o),w(i,r),w(r,a),y(z,u,F),y(z,f,F),w(f,c),w(c,d),w(c,h),w(c,_),w(f,g),N.m(f,null),y(z,S,F),R&&R.m(z,F),y(z,$,F),T=!0,O||(M=[W(a,"click",n[12]),W(f,"click",n[13])],O=!0)},p(z,F){const U={};F[0]&134217729|F[1]&2&&(U.$$scope={dirty:F,ctx:z}),e.$set(U),F[0]&523&&(L=ce(z[0].oauth2.providers),l=yt(l,F,I,1,z,L,s,i,di,dm,o,fm)),(!T||F[0]&1)&&m!==(m=z[0].name+"")&&re(h,m),P!==(P=A(z))&&(N.d(1),N=P(z),N&&(N.c(),N.m(f,null))),(!T||F[0]&16&&k!==(k="m-t-25 btn btn-sm "+(z[4]?"btn-secondary":"btn-hint btn-transparent")))&&p(f,"class",k),z[4]?R?(R.p(z,F),F[0]&16&&E(R,1)):(R=pm(z),R.c(),E(R,1),R.m($.parentNode,$)):R&&(ae(),D(R,1,1,()=>{R=null}),ue())},i(z){T||(E(e.$$.fragment,z),E(R),T=!0)},o(z){D(e.$$.fragment,z),D(R),T=!1},d(z){z&&(v(t),v(i),v(u),v(f),v(S),v($)),H(e,z);for(let F=0;F<l.length;F+=1)l[F].d();N.d(),R&&R.d(z),O=!1,Ie(M)}}}function R8(n){let e;return{c(){e=b("span"),e.textContent="Disabled",p(e,"class","label")},m(t,i){y(t,e,i)},p:te,d(t){t&&v(e)}}}function F8(n){let e,t,i,l=n[7]==1?"provider":"providers",s,o,r;return{c(){e=b("span"),t=B(n[7]),i=C(),s=B(l),o=C(),r=b("span"),r.textContent="Enabled",p(e,"class","label"),ee(e,"label-warning",!n[7]),ee(e,"label-info",n[7]>0),p(r,"class","label label-success")},m(a,u){y(a,e,u),w(e,t),w(e,i),w(e,s),y(a,o,u),y(a,r,u)},p(a,u){u[0]&128&&re(t,a[7]),u[0]&128&&l!==(l=a[7]==1?"provider":"providers")&&re(s,l),u[0]&128&&ee(e,"label-warning",!a[7]),u[0]&128&&ee(e,"label-info",a[7]>0)},d(a){a&&(v(e),v(o),v(r))}}}function mm(n){let e,t,i,l,s;return{c(){e=b("i"),p(e,"class","ri-error-warning-fill txt-danger")},m(o,r){y(o,e,r),i=!0,l||(s=Ee(He.call(null,e,{text:"Has errors",position:"left"})),l=!0)},i(o){i||(o&&et(()=>{i&&(t||(t=je(e,$t,{duration:150,start:.7},!0)),t.run(1))}),i=!0)},o(o){o&&(t||(t=je(e,$t,{duration:150,start:.7},!1)),t.run(0)),i=!1},d(o){o&&v(e),o&&t&&t.end(),l=!1,s()}}}function q8(n){let e,t,i,l,s,o;function r(c,d){return c[0].oauth2.enabled?F8:R8}let a=r(n),u=a(n),f=n[8]&&mm();return{c(){e=b("div"),e.innerHTML='<i class="ri-pass-expired-line"></i> <span class="txt">OAuth2</span>',t=C(),i=b("div"),l=C(),u.c(),s=C(),f&&f.c(),o=ye(),p(e,"class","inline-flex"),p(i,"class","flex-fill")},m(c,d){y(c,e,d),y(c,t,d),y(c,i,d),y(c,l,d),u.m(c,d),y(c,s,d),f&&f.m(c,d),y(c,o,d)},p(c,d){a===(a=r(c))&&u?u.p(c,d):(u.d(1),u=a(c),u&&(u.c(),u.m(s.parentNode,s))),c[8]?f?d[0]&256&&E(f,1):(f=mm(),f.c(),E(f,1),f.m(o.parentNode,o)):f&&(ae(),D(f,1,1,()=>{f=null}),ue())},d(c){c&&(v(e),v(t),v(i),v(l),v(s),v(o)),u.d(c),f&&f.d(c)}}}function H8(n){var u,f;let e,t,i,l,s,o;e=new Hi({props:{single:!0,$$slots:{header:[q8],default:[N8]},$$scope:{ctx:n}}});let r={disabled:((f=(u=n[0].oauth2)==null?void 0:u.providers)==null?void 0:f.map(hm))||[]};i=new $8({props:r}),n[18](i),i.$on("select",n[19]);let a={};return s=new E6({props:a}),n[20](s),s.$on("remove",n[21]),s.$on("submit",n[22]),{c(){j(e.$$.fragment),t=C(),j(i.$$.fragment),l=C(),j(s.$$.fragment)},m(c,d){q(e,c,d),y(c,t,d),q(i,c,d),y(c,l,d),q(s,c,d),o=!0},p(c,d){var g,k;const m={};d[0]&511|d[1]&2&&(m.$$scope={dirty:d,ctx:c}),e.$set(m);const h={};d[0]&1&&(h.disabled=((k=(g=c[0].oauth2)==null?void 0:g.providers)==null?void 0:k.map(hm))||[]),i.$set(h);const _={};s.$set(_)},i(c){o||(E(e.$$.fragment,c),E(i.$$.fragment,c),E(s.$$.fragment,c),o=!0)},o(c){D(e.$$.fragment,c),D(i.$$.fragment,c),D(s.$$.fragment,c),o=!1},d(c){c&&(v(t),v(l)),H(e,c),n[18](null),H(i,c),n[20](null),H(s,c)}}}const j8=()=>"",z8=()=>"",U8=()=>"",V8=()=>"",hm=n=>n.name;function B8(n,e,t){let i,l,s;Qe(n,vn,F=>t(1,s=F));let{collection:o}=e;const r=["id","email","emailVisibility","verified","tokenKey","password"],a=["text","editor","url","email","json"],u=a.concat("file");let f,c,d=!1,m=[],h=[];function _(F=[]){var U,J;t(5,m=((U=F==null?void 0:F.filter(K=>a.includes(K.type)&&!r.includes(K.name)))==null?void 0:U.map(K=>K.name))||[]),t(6,h=((J=F==null?void 0:F.filter(K=>u.includes(K.type)&&!r.includes(K.name)))==null?void 0:J.map(K=>K.name))||[])}function g(F){for(let U of xu)if(U.key==F)return U;return null}function k(){o.oauth2.enabled=this.checked,t(0,o)}const S=(F,U,J)=>{c==null||c.show(F,U,J)},$=()=>f==null?void 0:f.show(),T=()=>t(4,d=!d);function O(F){n.$$.not_equal(o.oauth2.mappedFields.name,F)&&(o.oauth2.mappedFields.name=F,t(0,o))}function M(F){n.$$.not_equal(o.oauth2.mappedFields.avatarURL,F)&&(o.oauth2.mappedFields.avatarURL=F,t(0,o))}function L(F){n.$$.not_equal(o.oauth2.mappedFields.id,F)&&(o.oauth2.mappedFields.id=F,t(0,o))}function I(F){n.$$.not_equal(o.oauth2.mappedFields.username,F)&&(o.oauth2.mappedFields.username=F,t(0,o))}function A(F){ie[F?"unshift":"push"](()=>{f=F,t(2,f)})}const P=F=>{var U,J;c.show(F.detail,{},((J=(U=o.oauth2)==null?void 0:U.providers)==null?void 0:J.length)||0)};function N(F){ie[F?"unshift":"push"](()=>{c=F,t(3,c)})}const R=F=>{const U=F.detail.uiOptions;V.removeByKey(o.oauth2.providers,"name",U.key),t(0,o)},z=F=>{const U=F.detail.uiOptions,J=F.detail.config;t(0,o.oauth2.providers=o.oauth2.providers||[],o),V.pushOrReplaceByKey(o.oauth2.providers,Object.assign({name:U.key},J),"name"),t(0,o)};return n.$$set=F=>{"collection"in F&&t(0,o=F.collection)},n.$$.update=()=>{var F,U;n.$$.dirty[0]&1&&V.isEmpty(o.oauth2)&&t(0,o.oauth2={enabled:!1,mappedFields:{},providers:[]},o),n.$$.dirty[0]&1&&_(o.fields),n.$$.dirty[0]&2&&t(8,i=!V.isEmpty(s==null?void 0:s.oauth2)),n.$$.dirty[0]&1&&t(7,l=((U=(F=o.oauth2)==null?void 0:F.providers)==null?void 0:U.length)||0)},[o,s,f,c,d,m,h,l,i,g,k,S,$,T,O,M,L,I,A,P,N,R,z]}class W8 extends Se{constructor(e){super(),we(this,e,B8,H8,be,{collection:0},null,[-1,-1])}}function _m(n){let e,t,i;return{c(){e=b("i"),p(e,"class","ri-information-line link-hint")},m(l,s){y(l,e,s),t||(i=Ee(He.call(null,e,{text:"Superusers can have OTP only as part of Two-factor authentication.",position:"right"})),t=!0)},d(l){l&&v(e),t=!1,i()}}}function Y8(n){let e,t,i,l,s,o,r,a,u,f,c=n[2]&&_m();return{c(){e=b("input"),i=C(),l=b("label"),s=B("Enable"),r=C(),c&&c.c(),a=ye(),p(e,"type","checkbox"),p(e,"id",t=n[8]),p(l,"for",o=n[8])},m(d,m){y(d,e,m),e.checked=n[0].otp.enabled,y(d,i,m),y(d,l,m),w(l,s),y(d,r,m),c&&c.m(d,m),y(d,a,m),u||(f=[W(e,"change",n[4]),W(e,"change",n[5])],u=!0)},p(d,m){m&256&&t!==(t=d[8])&&p(e,"id",t),m&1&&(e.checked=d[0].otp.enabled),m&256&&o!==(o=d[8])&&p(l,"for",o),d[2]?c||(c=_m(),c.c(),c.m(a.parentNode,a)):c&&(c.d(1),c=null)},d(d){d&&(v(e),v(i),v(l),v(r),v(a)),c&&c.d(d),u=!1,Ie(f)}}}function K8(n){let e,t,i,l,s,o,r,a;return{c(){e=b("label"),t=B("Duration (in seconds)"),l=C(),s=b("input"),p(e,"for",i=n[8]),p(s,"type","number"),p(s,"min","0"),p(s,"step","1"),p(s,"id",o=n[8]),s.required=!0},m(u,f){y(u,e,f),w(e,t),y(u,l,f),y(u,s,f),pe(s,n[0].otp.duration),r||(a=W(s,"input",n[6]),r=!0)},p(u,f){f&256&&i!==(i=u[8])&&p(e,"for",i),f&256&&o!==(o=u[8])&&p(s,"id",o),f&1&&gt(s.value)!==u[0].otp.duration&&pe(s,u[0].otp.duration)},d(u){u&&(v(e),v(l),v(s)),r=!1,a()}}}function J8(n){let e,t,i,l,s,o,r,a;return{c(){e=b("label"),t=B("Generated password length"),l=C(),s=b("input"),p(e,"for",i=n[8]),p(s,"type","number"),p(s,"min","0"),p(s,"step","1"),p(s,"id",o=n[8]),s.required=!0},m(u,f){y(u,e,f),w(e,t),y(u,l,f),y(u,s,f),pe(s,n[0].otp.length),r||(a=W(s,"input",n[7]),r=!0)},p(u,f){f&256&&i!==(i=u[8])&&p(e,"for",i),f&256&&o!==(o=u[8])&&p(s,"id",o),f&1&&gt(s.value)!==u[0].otp.length&&pe(s,u[0].otp.length)},d(u){u&&(v(e),v(l),v(s)),r=!1,a()}}}function Z8(n){let e,t,i,l,s,o,r,a,u;return e=new fe({props:{class:"form-field form-field-toggle",name:"otp.enabled",$$slots:{default:[Y8,({uniqueId:f})=>({8:f}),({uniqueId:f})=>f?256:0]},$$scope:{ctx:n}}}),s=new fe({props:{class:"form-field form-field-toggle required",name:"otp.duration",$$slots:{default:[K8,({uniqueId:f})=>({8:f}),({uniqueId:f})=>f?256:0]},$$scope:{ctx:n}}}),a=new fe({props:{class:"form-field form-field-toggle required",name:"otp.length",$$slots:{default:[J8,({uniqueId:f})=>({8:f}),({uniqueId:f})=>f?256:0]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment),t=C(),i=b("div"),l=b("div"),j(s.$$.fragment),o=C(),r=b("div"),j(a.$$.fragment),p(l,"class","col-sm-6"),p(r,"class","col-sm-6"),p(i,"class","grid grid-sm")},m(f,c){q(e,f,c),y(f,t,c),y(f,i,c),w(i,l),q(s,l,null),w(i,o),w(i,r),q(a,r,null),u=!0},p(f,c){const d={};c&773&&(d.$$scope={dirty:c,ctx:f}),e.$set(d);const m={};c&769&&(m.$$scope={dirty:c,ctx:f}),s.$set(m);const h={};c&769&&(h.$$scope={dirty:c,ctx:f}),a.$set(h)},i(f){u||(E(e.$$.fragment,f),E(s.$$.fragment,f),E(a.$$.fragment,f),u=!0)},o(f){D(e.$$.fragment,f),D(s.$$.fragment,f),D(a.$$.fragment,f),u=!1},d(f){f&&(v(t),v(i)),H(e,f),H(s),H(a)}}}function G8(n){let e;return{c(){e=b("span"),e.textContent="Disabled",p(e,"class","label")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function X8(n){let e;return{c(){e=b("span"),e.textContent="Enabled",p(e,"class","label label-success")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function gm(n){let e,t,i,l,s;return{c(){e=b("i"),p(e,"class","ri-error-warning-fill txt-danger")},m(o,r){y(o,e,r),i=!0,l||(s=Ee(He.call(null,e,{text:"Has errors",position:"left"})),l=!0)},i(o){i||(o&&et(()=>{i&&(t||(t=je(e,$t,{duration:150,start:.7},!0)),t.run(1))}),i=!0)},o(o){o&&(t||(t=je(e,$t,{duration:150,start:.7},!1)),t.run(0)),i=!1},d(o){o&&v(e),o&&t&&t.end(),l=!1,s()}}}function Q8(n){let e,t,i,l,s,o;function r(c,d){return c[0].otp.enabled?X8:G8}let a=r(n),u=a(n),f=n[1]&&gm();return{c(){e=b("div"),e.innerHTML='<i class="ri-time-line"></i> <span class="txt">One-time password (OTP)</span>',t=C(),i=b("div"),l=C(),u.c(),s=C(),f&&f.c(),o=ye(),p(e,"class","inline-flex"),p(i,"class","flex-fill")},m(c,d){y(c,e,d),y(c,t,d),y(c,i,d),y(c,l,d),u.m(c,d),y(c,s,d),f&&f.m(c,d),y(c,o,d)},p(c,d){a!==(a=r(c))&&(u.d(1),u=a(c),u&&(u.c(),u.m(s.parentNode,s))),c[1]?f?d&2&&E(f,1):(f=gm(),f.c(),E(f,1),f.m(o.parentNode,o)):f&&(ae(),D(f,1,1,()=>{f=null}),ue())},d(c){c&&(v(e),v(t),v(i),v(l),v(s),v(o)),u.d(c),f&&f.d(c)}}}function x8(n){let e,t;return e=new Hi({props:{single:!0,$$slots:{header:[Q8],default:[Z8]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,[l]){const s={};l&519&&(s.$$scope={dirty:l,ctx:i}),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function eO(n,e,t){let i,l,s;Qe(n,vn,c=>t(3,s=c));let{collection:o}=e;function r(){o.otp.enabled=this.checked,t(0,o)}const a=c=>{i&&t(0,o.mfa.enabled=c.target.checked,o)};function u(){o.otp.duration=gt(this.value),t(0,o)}function f(){o.otp.length=gt(this.value),t(0,o)}return n.$$set=c=>{"collection"in c&&t(0,o=c.collection)},n.$$.update=()=>{n.$$.dirty&1&&V.isEmpty(o.otp)&&t(0,o.otp={enabled:!0,duration:300,length:8},o),n.$$.dirty&1&&t(2,i=(o==null?void 0:o.system)&&(o==null?void 0:o.name)==="_superusers"),n.$$.dirty&8&&t(1,l=!V.isEmpty(s==null?void 0:s.otp))},[o,l,i,s,r,a,u,f]}class tO extends Se{constructor(e){super(),we(this,e,eO,x8,be,{collection:0})}}function bm(n){let e,t,i;return{c(){e=b("i"),p(e,"class","ri-information-line link-hint")},m(l,s){y(l,e,s),t||(i=Ee(He.call(null,e,{text:"Superusers are required to have password auth enabled.",position:"right"})),t=!0)},d(l){l&&v(e),t=!1,i()}}}function nO(n){let e,t,i,l,s,o,r,a,u,f,c=n[3]&&bm();return{c(){e=b("input"),i=C(),l=b("label"),s=B("Enable"),r=C(),c&&c.c(),a=ye(),p(e,"type","checkbox"),p(e,"id",t=n[9]),e.disabled=n[3],p(l,"for",o=n[9])},m(d,m){y(d,e,m),e.checked=n[0].passwordAuth.enabled,y(d,i,m),y(d,l,m),w(l,s),y(d,r,m),c&&c.m(d,m),y(d,a,m),u||(f=W(e,"change",n[6]),u=!0)},p(d,m){m&512&&t!==(t=d[9])&&p(e,"id",t),m&8&&(e.disabled=d[3]),m&1&&(e.checked=d[0].passwordAuth.enabled),m&512&&o!==(o=d[9])&&p(l,"for",o),d[3]?c||(c=bm(),c.c(),c.m(a.parentNode,a)):c&&(c.d(1),c=null)},d(d){d&&(v(e),v(i),v(l),v(r),v(a)),c&&c.d(d),u=!1,f()}}}function iO(n){let e,t,i,l,s,o,r;function a(f){n[7](f)}let u={items:n[1],multiple:!0};return n[0].passwordAuth.identityFields!==void 0&&(u.keyOfSelected=n[0].passwordAuth.identityFields),s=new jn({props:u}),ie.push(()=>ge(s,"keyOfSelected",a)),{c(){e=b("label"),t=b("span"),t.textContent="Unique identity fields",l=C(),j(s.$$.fragment),p(t,"class","txt"),p(e,"for",i=n[9])},m(f,c){y(f,e,c),w(e,t),y(f,l,c),q(s,f,c),r=!0},p(f,c){(!r||c&512&&i!==(i=f[9]))&&p(e,"for",i);const d={};c&2&&(d.items=f[1]),!o&&c&1&&(o=!0,d.keyOfSelected=f[0].passwordAuth.identityFields,Te(()=>o=!1)),s.$set(d)},i(f){r||(E(s.$$.fragment,f),r=!0)},o(f){D(s.$$.fragment,f),r=!1},d(f){f&&(v(e),v(l)),H(s,f)}}}function lO(n){let e,t,i,l;return e=new fe({props:{class:"form-field form-field-toggle",name:"passwordAuth.enabled",$$slots:{default:[nO,({uniqueId:s})=>({9:s}),({uniqueId:s})=>s?512:0]},$$scope:{ctx:n}}}),i=new fe({props:{class:"form-field required m-0",name:"passwordAuth.identityFields",$$slots:{default:[iO,({uniqueId:s})=>({9:s}),({uniqueId:s})=>s?512:0]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment),t=C(),j(i.$$.fragment)},m(s,o){q(e,s,o),y(s,t,o),q(i,s,o),l=!0},p(s,o){const r={};o&1545&&(r.$$scope={dirty:o,ctx:s}),e.$set(r);const a={};o&1539&&(a.$$scope={dirty:o,ctx:s}),i.$set(a)},i(s){l||(E(e.$$.fragment,s),E(i.$$.fragment,s),l=!0)},o(s){D(e.$$.fragment,s),D(i.$$.fragment,s),l=!1},d(s){s&&v(t),H(e,s),H(i,s)}}}function sO(n){let e;return{c(){e=b("span"),e.textContent="Disabled",p(e,"class","label")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function oO(n){let e;return{c(){e=b("span"),e.textContent="Enabled",p(e,"class","label label-success")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function km(n){let e,t,i,l,s;return{c(){e=b("i"),p(e,"class","ri-error-warning-fill txt-danger")},m(o,r){y(o,e,r),i=!0,l||(s=Ee(He.call(null,e,{text:"Has errors",position:"left"})),l=!0)},i(o){i||(o&&et(()=>{i&&(t||(t=je(e,$t,{duration:150,start:.7},!0)),t.run(1))}),i=!0)},o(o){o&&(t||(t=je(e,$t,{duration:150,start:.7},!1)),t.run(0)),i=!1},d(o){o&&v(e),o&&t&&t.end(),l=!1,s()}}}function rO(n){let e,t,i,l,s,o;function r(c,d){return c[0].passwordAuth.enabled?oO:sO}let a=r(n),u=a(n),f=n[2]&&km();return{c(){e=b("div"),e.innerHTML='<i class="ri-lock-password-line"></i> <span class="txt">Identity/Password</span>',t=C(),i=b("div"),l=C(),u.c(),s=C(),f&&f.c(),o=ye(),p(e,"class","inline-flex"),p(i,"class","flex-fill")},m(c,d){y(c,e,d),y(c,t,d),y(c,i,d),y(c,l,d),u.m(c,d),y(c,s,d),f&&f.m(c,d),y(c,o,d)},p(c,d){a!==(a=r(c))&&(u.d(1),u=a(c),u&&(u.c(),u.m(s.parentNode,s))),c[2]?f?d&4&&E(f,1):(f=km(),f.c(),E(f,1),f.m(o.parentNode,o)):f&&(ae(),D(f,1,1,()=>{f=null}),ue())},d(c){c&&(v(e),v(t),v(i),v(l),v(s),v(o)),u.d(c),f&&f.d(c)}}}function aO(n){let e,t;return e=new Hi({props:{single:!0,$$slots:{header:[rO],default:[lO]},$$scope:{ctx:n}}}),e.$on("expand",n[8]),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,[l]){const s={};l&1039&&(s.$$scope={dirty:l,ctx:i}),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function uO(n,e,t){let i,l,s;Qe(n,vn,d=>t(5,s=d));let{collection:o}=e,r=[];function a(d){const m=[{value:"email"}],h=(d==null?void 0:d.fields)||[],_=(d==null?void 0:d.indexes)||[];for(let g of _){const k=V.parseIndex(g);if(!k.unique||k.columns.length!=1||k.columns[0].name=="email")continue;const S=h.find($=>!$.hidden&&$.name.toLowerCase()==k.columns[0].name.toLowerCase());S&&m.push({value:S.name})}return m}function u(){o.passwordAuth.enabled=this.checked,t(0,o)}function f(d){n.$$.not_equal(o.passwordAuth.identityFields,d)&&(o.passwordAuth.identityFields=d,t(0,o))}const c=()=>{t(1,r=a(o))};return n.$$set=d=>{"collection"in d&&t(0,o=d.collection)},n.$$.update=()=>{n.$$.dirty&1&&V.isEmpty(o==null?void 0:o.passwordAuth)&&t(0,o.passwordAuth={enabled:!0,identityFields:["email"]},o),n.$$.dirty&1&&t(3,i=(o==null?void 0:o.system)&&(o==null?void 0:o.name)==="_superusers"),n.$$.dirty&32&&t(2,l=!V.isEmpty(s==null?void 0:s.passwordAuth))},[o,r,l,i,a,s,u,f,c]}class fO extends Se{constructor(e){super(),we(this,e,uO,aO,be,{collection:0})}}function vm(n,e,t){const i=n.slice();return i[22]=e[t],i}function ym(n,e){let t,i,l,s,o,r=e[22].label+"",a,u,f,c,d,m;return c=$v(e[11][0]),{key:n,first:null,c(){t=b("div"),i=b("input"),s=C(),o=b("label"),a=B(r),f=C(),p(i,"type","radio"),p(i,"name","template"),p(i,"id",l=e[21]+e[22].value),i.__value=e[22].value,pe(i,i.__value),p(o,"for",u=e[21]+e[22].value),p(t,"class","form-field-block"),c.p(i),this.first=t},m(h,_){y(h,t,_),w(t,i),i.checked=i.__value===e[2],w(t,s),w(t,o),w(o,a),w(t,f),d||(m=W(i,"change",e[10]),d=!0)},p(h,_){e=h,_&2097152&&l!==(l=e[21]+e[22].value)&&p(i,"id",l),_&4&&(i.checked=i.__value===e[2]),_&2097152&&u!==(u=e[21]+e[22].value)&&p(o,"for",u)},d(h){h&&v(t),c.r(),d=!1,m()}}}function cO(n){let e=[],t=new Map,i,l=ce(n[7]);const s=o=>o[22].value;for(let o=0;o<l.length;o+=1){let r=vm(n,l,o),a=s(r);t.set(a,e[o]=ym(a,r))}return{c(){for(let o=0;o<e.length;o+=1)e[o].c();i=ye()},m(o,r){for(let a=0;a<e.length;a+=1)e[a]&&e[a].m(o,r);y(o,i,r)},p(o,r){r&2097284&&(l=ce(o[7]),e=yt(e,r,s,1,o,l,t,i.parentNode,di,ym,i,vm))},d(o){o&&v(i);for(let r=0;r<e.length;r+=1)e[r].d(o)}}}function dO(n){let e,t,i,l,s,o,r,a;return{c(){e=b("label"),t=B("To email address"),l=C(),s=b("input"),p(e,"for",i=n[21]),p(s,"type","email"),p(s,"id",o=n[21]),s.autofocus=!0,s.required=!0},m(u,f){y(u,e,f),w(e,t),y(u,l,f),y(u,s,f),pe(s,n[1]),s.focus(),r||(a=W(s,"input",n[12]),r=!0)},p(u,f){f&2097152&&i!==(i=u[21])&&p(e,"for",i),f&2097152&&o!==(o=u[21])&&p(s,"id",o),f&2&&s.value!==u[1]&&pe(s,u[1])},d(u){u&&(v(e),v(l),v(s)),r=!1,a()}}}function pO(n){let e,t,i,l,s,o,r;return t=new fe({props:{class:"form-field required",name:"template",$$slots:{default:[cO,({uniqueId:a})=>({21:a}),({uniqueId:a})=>a?2097152:0]},$$scope:{ctx:n}}}),l=new fe({props:{class:"form-field required m-0",name:"email",$$slots:{default:[dO,({uniqueId:a})=>({21:a}),({uniqueId:a})=>a?2097152:0]},$$scope:{ctx:n}}}),{c(){e=b("form"),j(t.$$.fragment),i=C(),j(l.$$.fragment),p(e,"id",n[6]),p(e,"autocomplete","off")},m(a,u){y(a,e,u),q(t,e,null),w(e,i),q(l,e,null),s=!0,o||(r=W(e,"submit",tt(n[13])),o=!0)},p(a,u){const f={};u&35651588&&(f.$$scope={dirty:u,ctx:a}),t.$set(f);const c={};u&35651586&&(c.$$scope={dirty:u,ctx:a}),l.$set(c)},i(a){s||(E(t.$$.fragment,a),E(l.$$.fragment,a),s=!0)},o(a){D(t.$$.fragment,a),D(l.$$.fragment,a),s=!1},d(a){a&&v(e),H(t),H(l),o=!1,r()}}}function mO(n){let e;return{c(){e=b("h4"),e.textContent="Send test email",p(e,"class","center txt-break")},m(t,i){y(t,e,i)},p:te,d(t){t&&v(e)}}}function hO(n){let e,t,i,l,s,o,r,a,u,f;return{c(){e=b("button"),t=B("Close"),i=C(),l=b("button"),s=b("i"),o=C(),r=b("span"),r.textContent="Send",p(e,"type","button"),p(e,"class","btn btn-transparent"),e.disabled=n[4],p(s,"class","ri-mail-send-line"),p(r,"class","txt"),p(l,"type","submit"),p(l,"form",n[6]),p(l,"class","btn btn-expanded"),l.disabled=a=!n[5]||n[4],ee(l,"btn-loading",n[4])},m(c,d){y(c,e,d),w(e,t),y(c,i,d),y(c,l,d),w(l,s),w(l,o),w(l,r),u||(f=W(e,"click",n[0]),u=!0)},p(c,d){d&16&&(e.disabled=c[4]),d&48&&a!==(a=!c[5]||c[4])&&(l.disabled=a),d&16&&ee(l,"btn-loading",c[4])},d(c){c&&(v(e),v(i),v(l)),u=!1,f()}}}function _O(n){let e,t,i={class:"overlay-panel-sm email-test-popup",overlayClose:!n[4],escClose:!n[4],beforeHide:n[14],popup:!0,$$slots:{footer:[hO],header:[mO],default:[pO]},$$scope:{ctx:n}};return e=new Xt({props:i}),n[15](e),e.$on("show",n[16]),e.$on("hide",n[17]),{c(){j(e.$$.fragment)},m(l,s){q(e,l,s),t=!0},p(l,[s]){const o={};s&16&&(o.overlayClose=!l[4]),s&16&&(o.escClose=!l[4]),s&16&&(o.beforeHide=l[14]),s&33554486&&(o.$$scope={dirty:s,ctx:l}),e.$set(o)},i(l){t||(E(e.$$.fragment,l),t=!0)},o(l){D(e.$$.fragment,l),t=!1},d(l){n[15](null),H(e,l)}}}const wa="last_email_test",wm="email_test_request";function gO(n,e,t){let i;const l=kt(),s="email_test_"+V.randomString(5),o=[{label:"Verification",value:"verification"},{label:"Password reset",value:"password-reset"},{label:"Confirm email change",value:"email-change"},{label:"OTP",value:"otp"},{label:"Login alert",value:"login-alert"}];let r,a="",u=localStorage.getItem(wa),f=o[0].value,c=!1,d=null;function m(I="",A="",P=""){a=I||"_superusers",t(1,u=A||localStorage.getItem(wa)),t(2,f=P||o[0].value),zt({}),r==null||r.show()}function h(){return clearTimeout(d),r==null?void 0:r.hide()}async function _(){if(!(!i||c)){t(4,c=!0),localStorage==null||localStorage.setItem(wa,u),clearTimeout(d),d=setTimeout(()=>{he.cancelRequest(wm),$i("Test email send timeout.")},3e4);try{await he.settings.testEmail(a,u,f,{$cancelKey:wm}),tn("Successfully sent test email."),l("submit"),t(4,c=!1),await cn(),h()}catch(I){t(4,c=!1),he.error(I)}clearTimeout(d)}}const g=[[]];function k(){f=this.__value,t(2,f)}function S(){u=this.value,t(1,u)}const $=()=>_(),T=()=>!c;function O(I){ie[I?"unshift":"push"](()=>{r=I,t(3,r)})}function M(I){Ne.call(this,n,I)}function L(I){Ne.call(this,n,I)}return n.$$.update=()=>{n.$$.dirty&6&&t(5,i=!!u&&!!f)},[h,u,f,r,c,i,s,o,_,m,k,g,S,$,T,O,M,L]}class sv extends Se{constructor(e){super(),we(this,e,gO,_O,be,{show:9,hide:0})}get show(){return this.$$.ctx[9]}get hide(){return this.$$.ctx[0]}}function Sm(n,e,t){const i=n.slice();return i[18]=e[t],i[19]=e,i[20]=t,i}function bO(n){let e,t,i,l,s,o,r,a;return{c(){e=b("input"),i=C(),l=b("label"),s=B("Send email alert for new logins"),p(e,"type","checkbox"),p(e,"id",t=n[21]),p(l,"for",o=n[21])},m(u,f){y(u,e,f),e.checked=n[0].authAlert.enabled,y(u,i,f),y(u,l,f),w(l,s),r||(a=W(e,"change",n[9]),r=!0)},p(u,f){f&2097152&&t!==(t=u[21])&&p(e,"id",t),f&1&&(e.checked=u[0].authAlert.enabled),f&2097152&&o!==(o=u[21])&&p(l,"for",o)},d(u){u&&(v(e),v(i),v(l)),r=!1,a()}}}function Tm(n){let e,t,i;function l(o){n[12](o)}let s={};return n[0]!==void 0&&(s.collection=n[0]),e=new W8({props:s}),ie.push(()=>ge(e,"collection",l)),{c(){j(e.$$.fragment)},m(o,r){q(e,o,r),i=!0},p(o,r){const a={};!t&&r&1&&(t=!0,a.collection=o[0],Te(()=>t=!1)),e.$set(a)},i(o){i||(E(e.$$.fragment,o),i=!0)},o(o){D(e.$$.fragment,o),i=!1},d(o){H(e,o)}}}function $m(n,e){var a;let t,i,l,s;function o(u){e[15](u,e[18])}let r={single:!0,key:e[18].key,title:e[18].label,placeholders:(a=e[18])==null?void 0:a.placeholders};return e[18].config!==void 0&&(r.config=e[18].config),i=new L5({props:r}),ie.push(()=>ge(i,"config",o)),{key:n,first:null,c(){t=ye(),j(i.$$.fragment),this.first=t},m(u,f){y(u,t,f),q(i,u,f),s=!0},p(u,f){var d;e=u;const c={};f&4&&(c.key=e[18].key),f&4&&(c.title=e[18].label),f&4&&(c.placeholders=(d=e[18])==null?void 0:d.placeholders),!l&&f&4&&(l=!0,c.config=e[18].config,Te(()=>l=!1)),i.$set(c)},i(u){s||(E(i.$$.fragment,u),s=!0)},o(u){D(i.$$.fragment,u),s=!1},d(u){u&&v(t),H(i,u)}}}function kO(n){let e,t,i,l,s,o,r,a,u,f,c,d,m,h,_,g,k,S,$,T,O,M,L,I,A,P=[],N=new Map,R,z,F,U,J,K,Q,X,oe,ke,me;o=new fe({props:{class:"form-field form-field-sm form-field-toggle m-0",name:"authAlert.enabled",inlineError:!0,$$slots:{default:[bO,({uniqueId:De})=>({21:De}),({uniqueId:De})=>De?2097152:0]},$$scope:{ctx:n}}});function $e(De){n[10](De)}let We={};n[0]!==void 0&&(We.collection=n[0]),u=new tO({props:We}),ie.push(()=>ge(u,"collection",$e));function nt(De){n[11](De)}let st={};n[0]!==void 0&&(st.collection=n[0]),d=new fO({props:st}),ie.push(()=>ge(d,"collection",nt));let Be=!n[1]&&Tm(n);function xe(De){n[13](De)}let Ze={};n[0]!==void 0&&(Ze.collection=n[0]),g=new l6({props:Ze}),ie.push(()=>ge(g,"collection",xe));let at=ce(n[2]);const Ht=De=>De[18].key;for(let De=0;De<at.length;De+=1){let Ye=Sm(n,at,De),ve=Ht(Ye);N.set(ve,P[De]=$m(ve,Ye))}function Ve(De){n[16](De)}let Me={};n[0]!==void 0&&(Me.collection=n[0]),J=new z5({props:Me}),ie.push(()=>ge(J,"collection",Ve));let ot={};return X=new sv({props:ot}),n[17](X),{c(){e=b("h4"),t=b("div"),i=b("span"),i.textContent="Auth methods",l=C(),s=b("div"),j(o.$$.fragment),r=C(),a=b("div"),j(u.$$.fragment),c=C(),j(d.$$.fragment),h=C(),Be&&Be.c(),_=C(),j(g.$$.fragment),S=C(),$=b("h4"),T=b("span"),T.textContent="Mail templates",O=C(),M=b("button"),M.textContent="Send test email",L=C(),I=b("div"),A=b("div");for(let De=0;De<P.length;De+=1)P[De].c();R=C(),z=b("h4"),z.textContent="Other",F=C(),U=b("div"),j(J.$$.fragment),Q=C(),j(X.$$.fragment),p(i,"class","txt"),p(s,"class","m-l-auto handle"),p(t,"class","flex"),p(e,"class","section-title"),p(a,"class","accordions m-b-35"),p(T,"class","txt"),p(M,"type","button"),p(M,"class","btn btn-xs m-l-auto btn-secondary"),p($,"class","section-title"),p(A,"class","accordions"),p(I,"class","accordions m-b-35"),p(z,"class","section-title"),p(U,"class","accordions m-b-base")},m(De,Ye){y(De,e,Ye),w(e,t),w(t,i),w(t,l),w(t,s),q(o,s,null),y(De,r,Ye),y(De,a,Ye),q(u,a,null),w(a,c),q(d,a,null),w(a,h),Be&&Be.m(a,null),w(a,_),q(g,a,null),y(De,S,Ye),y(De,$,Ye),w($,T),w($,O),w($,M),y(De,L,Ye),y(De,I,Ye),w(I,A);for(let ve=0;ve<P.length;ve+=1)P[ve]&&P[ve].m(A,null);y(De,R,Ye),y(De,z,Ye),y(De,F,Ye),y(De,U,Ye),q(J,U,null),y(De,Q,Ye),q(X,De,Ye),oe=!0,ke||(me=W(M,"click",n[14]),ke=!0)},p(De,[Ye]){const ve={};Ye&6291457&&(ve.$$scope={dirty:Ye,ctx:De}),o.$set(ve);const Ce={};!f&&Ye&1&&(f=!0,Ce.collection=De[0],Te(()=>f=!1)),u.$set(Ce);const ut={};!m&&Ye&1&&(m=!0,ut.collection=De[0],Te(()=>m=!1)),d.$set(ut),De[1]?Be&&(ae(),D(Be,1,1,()=>{Be=null}),ue()):Be?(Be.p(De,Ye),Ye&2&&E(Be,1)):(Be=Tm(De),Be.c(),E(Be,1),Be.m(a,_));const qt={};!k&&Ye&1&&(k=!0,qt.collection=De[0],Te(()=>k=!1)),g.$set(qt),Ye&4&&(at=ce(De[2]),ae(),P=yt(P,Ye,Ht,1,De,at,N,A,Ut,$m,null,Sm),ue());const Le={};!K&&Ye&1&&(K=!0,Le.collection=De[0],Te(()=>K=!1)),J.$set(Le);const rt={};X.$set(rt)},i(De){if(!oe){E(o.$$.fragment,De),E(u.$$.fragment,De),E(d.$$.fragment,De),E(Be),E(g.$$.fragment,De);for(let Ye=0;Ye<at.length;Ye+=1)E(P[Ye]);E(J.$$.fragment,De),E(X.$$.fragment,De),oe=!0}},o(De){D(o.$$.fragment,De),D(u.$$.fragment,De),D(d.$$.fragment,De),D(Be),D(g.$$.fragment,De);for(let Ye=0;Ye<P.length;Ye+=1)D(P[Ye]);D(J.$$.fragment,De),D(X.$$.fragment,De),oe=!1},d(De){De&&(v(e),v(r),v(a),v(S),v($),v(L),v(I),v(R),v(z),v(F),v(U),v(Q)),H(o),H(u),H(d),Be&&Be.d(),H(g);for(let Ye=0;Ye<P.length;Ye+=1)P[Ye].d();H(J),n[17](null),H(X,De),ke=!1,me()}}}function vO(n,e,t){let i,l,s,o,r,a,{collection:u}=e,f=[],c;function d(){u.authAlert.enabled=this.checked,t(0,u)}function m(O){u=O,t(0,u)}function h(O){u=O,t(0,u)}function _(O){u=O,t(0,u)}function g(O){u=O,t(0,u)}const k=()=>c==null?void 0:c.show(u.id);function S(O,M){n.$$.not_equal(M.config,O)&&(M.config=O,t(2,f),t(1,i),t(7,l),t(5,r),t(4,a),t(8,s),t(6,o),t(0,u))}function $(O){u=O,t(0,u)}function T(O){ie[O?"unshift":"push"](()=>{c=O,t(3,c)})}return n.$$set=O=>{"collection"in O&&t(0,u=O.collection)},n.$$.update=()=>{var O,M;n.$$.dirty&1&&typeof((O=u.otp)==null?void 0:O.emailTemplate)>"u"&&(t(0,u.otp=u.otp||{},u),t(0,u.otp.emailTemplate={},u)),n.$$.dirty&1&&typeof((M=u.authAlert)==null?void 0:M.emailTemplate)>"u"&&(t(0,u.authAlert=u.authAlert||{},u),t(0,u.authAlert.emailTemplate={},u)),n.$$.dirty&1&&t(1,i=u.system&&u.name==="_superusers"),n.$$.dirty&1&&t(7,l={key:"resetPasswordTemplate",label:"Default Password reset email template",placeholders:["APP_NAME","APP_URL","RECORD:*","TOKEN"],config:u.resetPasswordTemplate}),n.$$.dirty&1&&t(8,s={key:"verificationTemplate",label:"Default Verification email template",placeholders:["APP_NAME","APP_URL","RECORD:*","TOKEN"],config:u.verificationTemplate}),n.$$.dirty&1&&t(6,o={key:"confirmEmailChangeTemplate",label:"Default Confirm email change email template",placeholders:["APP_NAME","APP_URL","RECORD:*","TOKEN"],config:u.confirmEmailChangeTemplate}),n.$$.dirty&1&&t(5,r={key:"otp.emailTemplate",label:"Default OTP email template",placeholders:["APP_NAME","APP_URL","RECORD:*","OTP","OTP_ID"],config:u.otp.emailTemplate}),n.$$.dirty&1&&t(4,a={key:"authAlert.emailTemplate",label:"Default Login alert email template",placeholders:["APP_NAME","APP_URL","RECORD:*"],config:u.authAlert.emailTemplate}),n.$$.dirty&498&&t(2,f=i?[l,r,a]:[s,l,o,r,a])},[u,i,f,c,a,r,o,l,s,d,m,h,_,g,k,S,$,T]}class yO extends Se{constructor(e){super(),we(this,e,vO,kO,be,{collection:0})}}const wO=n=>({dragging:n&4,dragover:n&8}),Cm=n=>({dragging:n[2],dragover:n[3]});function SO(n){let e,t,i,l,s;const o=n[10].default,r=Lt(o,n,n[9],Cm);return{c(){e=b("div"),r&&r.c(),p(e,"draggable",t=!n[1]),p(e,"class","draggable svelte-19c69j7"),ee(e,"dragging",n[2]),ee(e,"dragover",n[3])},m(a,u){y(a,e,u),r&&r.m(e,null),i=!0,l||(s=[W(e,"dragover",tt(n[11])),W(e,"dragleave",tt(n[12])),W(e,"dragend",n[13]),W(e,"dragstart",n[14]),W(e,"drop",n[15])],l=!0)},p(a,[u]){r&&r.p&&(!i||u&524)&&Pt(r,o,a,a[9],i?At(o,a[9],u,wO):Nt(a[9]),Cm),(!i||u&2&&t!==(t=!a[1]))&&p(e,"draggable",t),(!i||u&4)&&ee(e,"dragging",a[2]),(!i||u&8)&&ee(e,"dragover",a[3])},i(a){i||(E(r,a),i=!0)},o(a){D(r,a),i=!1},d(a){a&&v(e),r&&r.d(a),l=!1,Ie(s)}}}function TO(n,e,t){let{$$slots:i={},$$scope:l}=e;const s=kt();let{index:o}=e,{list:r=[]}=e,{group:a="default"}=e,{disabled:u=!1}=e,{dragHandleClass:f=""}=e,c=!1,d=!1;function m(T,O){if(!(!T||u)){if(f&&!T.target.classList.contains(f)){t(3,d=!1),t(2,c=!1),T.preventDefault();return}t(2,c=!0),T.dataTransfer.effectAllowed="move",T.dataTransfer.dropEffect="move",T.dataTransfer.setData("text/plain",JSON.stringify({index:O,group:a})),s("drag",T)}}function h(T,O){if(t(3,d=!1),t(2,c=!1),!T||u)return;T.dataTransfer.dropEffect="move";let M={};try{M=JSON.parse(T.dataTransfer.getData("text/plain"))}catch{}if(M.group!=a)return;const L=M.index<<0;L<O?(r.splice(O+1,0,r[L]),r.splice(L,1)):(r.splice(O,0,r[L]),r.splice(L+1,1)),t(6,r),s("sort",{oldIndex:L,newIndex:O,list:r})}const _=()=>{t(3,d=!0)},g=()=>{t(3,d=!1)},k=()=>{t(3,d=!1),t(2,c=!1)},S=T=>m(T,o),$=T=>h(T,o);return n.$$set=T=>{"index"in T&&t(0,o=T.index),"list"in T&&t(6,r=T.list),"group"in T&&t(7,a=T.group),"disabled"in T&&t(1,u=T.disabled),"dragHandleClass"in T&&t(8,f=T.dragHandleClass),"$$scope"in T&&t(9,l=T.$$scope)},[o,u,c,d,m,h,r,a,f,l,i,_,g,k,S,$]}class ho extends Se{constructor(e){super(),we(this,e,TO,SO,be,{index:0,list:6,group:7,disabled:1,dragHandleClass:8})}}function Om(n,e,t){const i=n.slice();return i[27]=e[t],i}function $O(n){let e,t,i,l,s,o,r,a,u;return{c(){e=b("input"),l=C(),s=b("label"),o=B("Unique"),p(e,"type","checkbox"),p(e,"id",t=n[30]),e.checked=i=n[3].unique,p(s,"for",r=n[30])},m(f,c){y(f,e,c),y(f,l,c),y(f,s,c),w(s,o),a||(u=W(e,"change",n[19]),a=!0)},p(f,c){c[0]&1073741824&&t!==(t=f[30])&&p(e,"id",t),c[0]&8&&i!==(i=f[3].unique)&&(e.checked=i),c[0]&1073741824&&r!==(r=f[30])&&p(s,"for",r)},d(f){f&&(v(e),v(l),v(s)),a=!1,u()}}}function CO(n){let e,t,i,l;function s(a){n[20](a)}var o=n[7];function r(a,u){var c;let f={id:a[30],placeholder:`eg. CREATE INDEX idx_test on ${(c=a[0])==null?void 0:c.name} (created)`,language:"sql-create-index",minHeight:"85"};return a[2]!==void 0&&(f.value=a[2]),{props:f}}return o&&(e=jt(o,r(n)),ie.push(()=>ge(e,"value",s))),{c(){e&&j(e.$$.fragment),i=ye()},m(a,u){e&&q(e,a,u),y(a,i,u),l=!0},p(a,u){var f;if(u[0]&128&&o!==(o=a[7])){if(e){ae();const c=e;D(c.$$.fragment,1,0,()=>{H(c,1)}),ue()}o?(e=jt(o,r(a)),ie.push(()=>ge(e,"value",s)),j(e.$$.fragment),E(e.$$.fragment,1),q(e,i.parentNode,i)):e=null}else if(o){const c={};u[0]&1073741824&&(c.id=a[30]),u[0]&1&&(c.placeholder=`eg. CREATE INDEX idx_test on ${(f=a[0])==null?void 0:f.name} (created)`),!t&&u[0]&4&&(t=!0,c.value=a[2],Te(()=>t=!1)),e.$set(c)}},i(a){l||(e&&E(e.$$.fragment,a),l=!0)},o(a){e&&D(e.$$.fragment,a),l=!1},d(a){a&&v(i),e&&H(e,a)}}}function OO(n){let e;return{c(){e=b("textarea"),e.disabled=!0,p(e,"rows","7"),p(e,"placeholder","Loading...")},m(t,i){y(t,e,i)},p:te,i:te,o:te,d(t){t&&v(e)}}}function EO(n){let e,t,i,l;const s=[OO,CO],o=[];function r(a,u){return a[8]?0:1}return e=r(n),t=o[e]=s[e](n),{c(){t.c(),i=ye()},m(a,u){o[e].m(a,u),y(a,i,u),l=!0},p(a,u){let f=e;e=r(a),e===f?o[e].p(a,u):(ae(),D(o[f],1,1,()=>{o[f]=null}),ue(),t=o[e],t?t.p(a,u):(t=o[e]=s[e](a),t.c()),E(t,1),t.m(i.parentNode,i))},i(a){l||(E(t),l=!0)},o(a){D(t),l=!1},d(a){a&&v(i),o[e].d(a)}}}function Em(n){let e,t,i,l=ce(n[10]),s=[];for(let o=0;o<l.length;o+=1)s[o]=Mm(Om(n,l,o));return{c(){e=b("div"),t=b("span"),t.textContent="Presets",i=C();for(let o=0;o<s.length;o+=1)s[o].c();p(t,"class","txt txt-hint"),p(e,"class","inline-flex gap-10")},m(o,r){y(o,e,r),w(e,t),w(e,i);for(let a=0;a<s.length;a+=1)s[a]&&s[a].m(e,null)},p(o,r){if(r[0]&9728){l=ce(o[10]);let a;for(a=0;a<l.length;a+=1){const u=Om(o,l,a);s[a]?s[a].p(u,r):(s[a]=Mm(u),s[a].c(),s[a].m(e,null))}for(;a<s.length;a+=1)s[a].d(1);s.length=l.length}},d(o){o&&v(e),dt(s,o)}}}function Mm(n){let e,t=n[27]+"",i,l,s,o;function r(){return n[21](n[27])}return{c(){e=b("button"),i=B(t),l=C(),p(e,"type","button"),p(e,"class","label link-primary"),ee(e,"label-info",n[9].includes(n[27]))},m(a,u){y(a,e,u),w(e,i),w(e,l),s||(o=W(e,"click",r),s=!0)},p(a,u){n=a,u[0]&1024&&t!==(t=n[27]+"")&&re(i,t),u[0]&1536&&ee(e,"label-info",n[9].includes(n[27]))},d(a){a&&v(e),s=!1,o()}}}function MO(n){let e,t,i,l,s,o;e=new fe({props:{class:"form-field form-field-toggle m-b-sm",$$slots:{default:[$O,({uniqueId:a})=>({30:a}),({uniqueId:a})=>[a?1073741824:0]]},$$scope:{ctx:n}}}),i=new fe({props:{class:"form-field required m-b-sm",name:`indexes.${n[6]||""}`,$$slots:{default:[EO,({uniqueId:a})=>({30:a}),({uniqueId:a})=>[a?1073741824:0]]},$$scope:{ctx:n}}});let r=n[10].length>0&&Em(n);return{c(){j(e.$$.fragment),t=C(),j(i.$$.fragment),l=C(),r&&r.c(),s=ye()},m(a,u){q(e,a,u),y(a,t,u),q(i,a,u),y(a,l,u),r&&r.m(a,u),y(a,s,u),o=!0},p(a,u){const f={};u[0]&1073741837|u[1]&1&&(f.$$scope={dirty:u,ctx:a}),e.$set(f);const c={};u[0]&64&&(c.name=`indexes.${a[6]||""}`),u[0]&1073742213|u[1]&1&&(c.$$scope={dirty:u,ctx:a}),i.$set(c),a[10].length>0?r?r.p(a,u):(r=Em(a),r.c(),r.m(s.parentNode,s)):r&&(r.d(1),r=null)},i(a){o||(E(e.$$.fragment,a),E(i.$$.fragment,a),o=!0)},o(a){D(e.$$.fragment,a),D(i.$$.fragment,a),o=!1},d(a){a&&(v(t),v(l),v(s)),H(e,a),H(i,a),r&&r.d(a)}}}function DO(n){let e,t=n[5]?"Update":"Create",i,l;return{c(){e=b("h4"),i=B(t),l=B(" index")},m(s,o){y(s,e,o),w(e,i),w(e,l)},p(s,o){o[0]&32&&t!==(t=s[5]?"Update":"Create")&&re(i,t)},d(s){s&&v(e)}}}function Dm(n){let e,t,i;return{c(){e=b("button"),e.innerHTML='<i class="ri-delete-bin-7-line"></i>',p(e,"type","button"),p(e,"class","btn btn-sm btn-circle btn-hint btn-transparent m-r-auto")},m(l,s){y(l,e,s),t||(i=[Ee(He.call(null,e,{text:"Delete",position:"top"})),W(e,"click",n[16])],t=!0)},p:te,d(l){l&&v(e),t=!1,Ie(i)}}}function IO(n){let e,t,i,l,s,o,r=n[5]!=""&&Dm(n);return{c(){r&&r.c(),e=C(),t=b("button"),t.innerHTML='<span class="txt">Cancel</span>',i=C(),l=b("button"),l.innerHTML='<span class="txt">Set index</span>',p(t,"type","button"),p(t,"class","btn btn-transparent"),p(l,"type","button"),p(l,"class","btn"),ee(l,"btn-disabled",n[9].length<=0)},m(a,u){r&&r.m(a,u),y(a,e,u),y(a,t,u),y(a,i,u),y(a,l,u),s||(o=[W(t,"click",n[17]),W(l,"click",n[18])],s=!0)},p(a,u){a[5]!=""?r?r.p(a,u):(r=Dm(a),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),u[0]&512&&ee(l,"btn-disabled",a[9].length<=0)},d(a){a&&(v(e),v(t),v(i),v(l)),r&&r.d(a),s=!1,Ie(o)}}}function LO(n){let e,t;const i=[{popup:!0},n[14]];let l={$$slots:{footer:[IO],header:[DO],default:[MO]},$$scope:{ctx:n}};for(let s=0;s<i.length;s+=1)l=ze(l,i[s]);return e=new Xt({props:l}),n[22](e),e.$on("hide",n[23]),e.$on("show",n[24]),{c(){j(e.$$.fragment)},m(s,o){q(e,s,o),t=!0},p(s,o){const r=o[0]&16384?wt(i,[i[0],Rt(s[14])]):{};o[0]&2029|o[1]&1&&(r.$$scope={dirty:o,ctx:s}),e.$set(r)},i(s){t||(E(e.$$.fragment,s),t=!0)},o(s){D(e.$$.fragment,s),t=!1},d(s){n[22](null),H(e,s)}}}function AO(n,e,t){let i,l,s;const o=["collection","show","hide"];let r=lt(e,o);const a=kt();let{collection:u}=e,f,c="",d="",m="",h,_=!1;function g(U,J){return t(6,m=V.isEmpty(J)?"":J),t(5,c=U||S()),t(2,d=c),f==null?void 0:f.show()}function k(){return f==null?void 0:f.hide()}function S(){const U=V.parseIndex("");return U.tableName=(u==null?void 0:u.name)||"",V.buildIndex(U)}function $(){a("remove",c),k()}function T(){s.length&&(a("submit",{old:c,new:d}),k())}function O(U){const J=V.clone(l),K=J.columns.find(Q=>Q.name==U);K?V.removeByValue(J.columns,K):V.pushUnique(J.columns,{name:U}),t(2,d=V.buildIndex(J))}Gt(async()=>{t(8,_=!0);try{t(7,h=(await Tt(async()=>{const{default:U}=await import("./CodeEditor-BdQDwUb4.js");return{default:U}},__vite__mapDeps([12,1]),import.meta.url)).default)}catch(U){console.warn(U)}t(8,_=!1)});const M=()=>$(),L=()=>k(),I=()=>T(),A=U=>{t(3,l.unique=U.target.checked,l),t(3,l.tableName=l.tableName||(u==null?void 0:u.name),l),t(2,d=V.buildIndex(l))};function P(U){d=U,t(2,d)}const N=U=>O(U);function R(U){ie[U?"unshift":"push"](()=>{f=U,t(4,f)})}function z(U){Ne.call(this,n,U)}function F(U){Ne.call(this,n,U)}return n.$$set=U=>{e=ze(ze({},e),Vt(U)),t(14,r=lt(e,o)),"collection"in U&&t(0,u=U.collection)},n.$$.update=()=>{var U,J,K;n.$$.dirty[0]&1&&t(10,i=((J=(U=u==null?void 0:u.fields)==null?void 0:U.filter(Q=>!Q.toDelete&&Q.name!="id"))==null?void 0:J.map(Q=>Q.name))||[]),n.$$.dirty[0]&4&&t(3,l=V.parseIndex(d)),n.$$.dirty[0]&8&&t(9,s=((K=l.columns)==null?void 0:K.map(Q=>Q.name))||[])},[u,k,d,l,f,c,m,h,_,s,i,$,T,O,r,g,M,L,I,A,P,N,R,z,F]}class PO extends Se{constructor(e){super(),we(this,e,AO,LO,be,{collection:0,show:15,hide:1},null,[-1,-1])}get show(){return this.$$.ctx[15]}get hide(){return this.$$.ctx[1]}}function Im(n,e,t){const i=n.slice();i[10]=e[t],i[13]=t;const l=V.parseIndex(i[10]);return i[11]=l,i}function Lm(n){let e,t,i,l,s,o;return{c(){e=b("i"),p(e,"class","ri-error-warning-fill txt-danger")},m(r,a){var u;y(r,e,a),l=!0,s||(o=Ee(t=He.call(null,e,(u=n[2])==null?void 0:u.indexes.message)),s=!0)},p(r,a){var u;t&&It(t.update)&&a&4&&t.update.call(null,(u=r[2])==null?void 0:u.indexes.message)},i(r){l||(r&&et(()=>{l&&(i||(i=je(e,$t,{duration:150},!0)),i.run(1))}),l=!0)},o(r){r&&(i||(i=je(e,$t,{duration:150},!1)),i.run(0)),l=!1},d(r){r&&v(e),r&&i&&i.end(),s=!1,o()}}}function Am(n){let e;return{c(){e=b("strong"),e.textContent="Unique:"},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function Pm(n){var d;let e,t,i,l=((d=n[11].columns)==null?void 0:d.map(Nm).join(", "))+"",s,o,r,a,u,f=n[11].unique&&Am();function c(){return n[4](n[10],n[13])}return{c(){var m,h;e=b("button"),f&&f.c(),t=C(),i=b("span"),s=B(l),p(i,"class","txt"),p(e,"type","button"),p(e,"class",o="label link-primary "+((h=(m=n[2].indexes)==null?void 0:m[n[13]])!=null&&h.message?"label-danger":"")+" svelte-167lbwu")},m(m,h){var _,g;y(m,e,h),f&&f.m(e,null),w(e,t),w(e,i),w(i,s),a||(u=[Ee(r=He.call(null,e,((g=(_=n[2].indexes)==null?void 0:_[n[13]])==null?void 0:g.message)||"")),W(e,"click",c)],a=!0)},p(m,h){var _,g,k,S,$;n=m,n[11].unique?f||(f=Am(),f.c(),f.m(e,t)):f&&(f.d(1),f=null),h&1&&l!==(l=((_=n[11].columns)==null?void 0:_.map(Nm).join(", "))+"")&&re(s,l),h&4&&o!==(o="label link-primary "+((k=(g=n[2].indexes)==null?void 0:g[n[13]])!=null&&k.message?"label-danger":"")+" svelte-167lbwu")&&p(e,"class",o),r&&It(r.update)&&h&4&&r.update.call(null,(($=(S=n[2].indexes)==null?void 0:S[n[13]])==null?void 0:$.message)||"")},d(m){m&&v(e),f&&f.d(),a=!1,Ie(u)}}}function NO(n){var O,M,L,I,A;let e,t,i=(((M=(O=n[0])==null?void 0:O.indexes)==null?void 0:M.length)||0)+"",l,s,o,r,a,u,f,c,d,m,h,_,g=((I=(L=n[2])==null?void 0:L.indexes)==null?void 0:I.message)&&Lm(n),k=ce(((A=n[0])==null?void 0:A.indexes)||[]),S=[];for(let P=0;P<k.length;P+=1)S[P]=Pm(Im(n,k,P));function $(P){n[7](P)}let T={};return n[0]!==void 0&&(T.collection=n[0]),c=new PO({props:T}),n[6](c),ie.push(()=>ge(c,"collection",$)),c.$on("remove",n[8]),c.$on("submit",n[9]),{c(){e=b("div"),t=B("Unique constraints and indexes ("),l=B(i),s=B(`)
     `),g&&g.c(),o=C(),r=b("div");for(let P=0;P<S.length;P+=1)S[P].c();a=C(),u=b("button"),u.innerHTML='<span class="txt">+</span> <span class="txt">New index</span>',f=C(),j(c.$$.fragment),p(e,"class","section-title"),p(u,"type","button"),p(u,"class","btn btn-xs btn-transparent btn-pill btn-outline"),p(r,"class","indexes-list svelte-167lbwu")},m(P,N){y(P,e,N),w(e,t),w(e,l),w(e,s),g&&g.m(e,null),y(P,o,N),y(P,r,N);for(let R=0;R<S.length;R+=1)S[R]&&S[R].m(r,null);w(r,a),w(r,u),y(P,f,N),q(c,P,N),m=!0,h||(_=W(u,"click",n[5]),h=!0)},p(P,[N]){var z,F,U,J,K;if((!m||N&1)&&i!==(i=(((F=(z=P[0])==null?void 0:z.indexes)==null?void 0:F.length)||0)+"")&&re(l,i),(J=(U=P[2])==null?void 0:U.indexes)!=null&&J.message?g?(g.p(P,N),N&4&&E(g,1)):(g=Lm(P),g.c(),E(g,1),g.m(e,null)):g&&(ae(),D(g,1,1,()=>{g=null}),ue()),N&7){k=ce(((K=P[0])==null?void 0:K.indexes)||[]);let Q;for(Q=0;Q<k.length;Q+=1){const X=Im(P,k,Q);S[Q]?S[Q].p(X,N):(S[Q]=Pm(X),S[Q].c(),S[Q].m(r,a))}for(;Q<S.length;Q+=1)S[Q].d(1);S.length=k.length}const R={};!d&&N&1&&(d=!0,R.collection=P[0],Te(()=>d=!1)),c.$set(R)},i(P){m||(E(g),E(c.$$.fragment,P),m=!0)},o(P){D(g),D(c.$$.fragment,P),m=!1},d(P){P&&(v(e),v(o),v(r),v(f)),g&&g.d(),dt(S,P),n[6](null),H(c,P),h=!1,_()}}}const Nm=n=>n.name;function RO(n,e,t){let i;Qe(n,vn,m=>t(2,i=m));let{collection:l}=e,s;function o(m,h){for(let _=0;_<l.indexes.length;_++)if(l.indexes[_]==m){t(0,l.indexes[_]=h,l),Wn("indexes."+_);return}l.indexes.push(h),t(0,l)}const r=(m,h)=>s==null?void 0:s.show(m,h),a=()=>s==null?void 0:s.show();function u(m){ie[m?"unshift":"push"](()=>{s=m,t(1,s)})}function f(m){l=m,t(0,l)}const c=m=>{for(let h=0;h<l.indexes.length;h++)if(l.indexes[h]==m.detail){l.indexes.splice(h,1),Wn("indexes."+h);break}t(0,l)},d=m=>{var h;(h=i.indexes)!=null&&h.message&&Wn("indexes"),o(m.detail.old,m.detail.new)};return n.$$set=m=>{"collection"in m&&t(0,l=m.collection)},[l,s,i,o,r,a,u,f,c,d]}class FO extends Se{constructor(e){super(),we(this,e,RO,NO,be,{collection:0})}}function Rm(n,e,t){const i=n.slice();return i[5]=e[t],i}function Fm(n){let e,t,i,l,s,o,r;function a(){return n[3](n[5])}return{c(){e=b("button"),t=b("i"),i=C(),l=b("span"),l.textContent=`${n[5].label}`,s=C(),p(t,"class","icon "+n[5].icon+" svelte-1gz9b6p"),p(t,"aria-hidden","true"),p(l,"class","txt"),p(e,"type","button"),p(e,"role","menuitem"),p(e,"class","dropdown-item svelte-1gz9b6p")},m(u,f){y(u,e,f),w(e,t),w(e,i),w(e,l),w(e,s),o||(r=W(e,"click",a),o=!0)},p(u,f){n=u},d(u){u&&v(e),o=!1,r()}}}function qO(n){let e,t=ce(n[1]),i=[];for(let l=0;l<t.length;l+=1)i[l]=Fm(Rm(n,t,l));return{c(){for(let l=0;l<i.length;l+=1)i[l].c();e=ye()},m(l,s){for(let o=0;o<i.length;o+=1)i[o]&&i[o].m(l,s);y(l,e,s)},p(l,s){if(s&6){t=ce(l[1]);let o;for(o=0;o<t.length;o+=1){const r=Rm(l,t,o);i[o]?i[o].p(r,s):(i[o]=Fm(r),i[o].c(),i[o].m(e.parentNode,e))}for(;o<i.length;o+=1)i[o].d(1);i.length=t.length}},d(l){l&&v(e),dt(i,l)}}}function HO(n){let e,t,i,l,s,o,r,a;return o=new Hn({props:{class:"dropdown field-types-dropdown",$$slots:{default:[qO]},$$scope:{ctx:n}}}),{c(){e=b("div"),t=b("i"),i=C(),l=b("div"),l.textContent="New field",s=C(),j(o.$$.fragment),p(t,"class","ri-add-line"),p(t,"aria-hidden","true"),p(l,"class","txt"),p(e,"tabindex","0"),p(e,"role","button"),p(e,"class",r="field-types-btn "+n[0]+" svelte-1gz9b6p")},m(u,f){y(u,e,f),w(e,t),w(e,i),w(e,l),w(e,s),q(o,e,null),a=!0},p(u,[f]){const c={};f&256&&(c.$$scope={dirty:f,ctx:u}),o.$set(c),(!a||f&1&&r!==(r="field-types-btn "+u[0]+" svelte-1gz9b6p"))&&p(e,"class",r)},i(u){a||(E(o.$$.fragment,u),a=!0)},o(u){D(o.$$.fragment,u),a=!1},d(u){u&&v(e),H(o)}}}function jO(n,e,t){let{class:i=""}=e;const l=kt(),s=[{label:"Plain text",value:"text",icon:V.getFieldTypeIcon("text")},{label:"Rich editor",value:"editor",icon:V.getFieldTypeIcon("editor")},{label:"Number",value:"number",icon:V.getFieldTypeIcon("number")},{label:"Bool",value:"bool",icon:V.getFieldTypeIcon("bool")},{label:"Email",value:"email",icon:V.getFieldTypeIcon("email")},{label:"URL",value:"url",icon:V.getFieldTypeIcon("url")},{label:"DateTime",value:"date",icon:V.getFieldTypeIcon("date")},{label:"Autodate",value:"autodate",icon:V.getFieldTypeIcon("autodate")},{label:"Select",value:"select",icon:V.getFieldTypeIcon("select")},{label:"File",value:"file",icon:V.getFieldTypeIcon("file")},{label:"Relation",value:"relation",icon:V.getFieldTypeIcon("relation")},{label:"JSON",value:"json",icon:V.getFieldTypeIcon("json")}];function o(a){l("select",a)}const r=a=>o(a.value);return n.$$set=a=>{"class"in a&&t(0,i=a.class)},[i,s,o,r]}class zO extends Se{constructor(e){super(),we(this,e,jO,HO,be,{class:0})}}const UO=n=>({interactive:n[0]&128,hasErrors:n[0]&64}),qm=n=>({interactive:n[7],hasErrors:n[6]}),VO=n=>({interactive:n[0]&128,hasErrors:n[0]&64}),Hm=n=>({interactive:n[7],hasErrors:n[6]}),BO=n=>({interactive:n[0]&128,hasErrors:n[0]&64}),jm=n=>({interactive:n[7],hasErrors:n[6]});function zm(n){let e;return{c(){e=b("div"),e.innerHTML='<span class="drag-handle"></span>',p(e,"class","drag-handle-wrapper"),p(e,"draggable",!0),p(e,"aria-label","Sort")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function Um(n){let e,t;return{c(){e=b("span"),t=B(n[5]),p(e,"class","label label-success")},m(i,l){y(i,e,l),w(e,t)},p(i,l){l[0]&32&&re(t,i[5])},d(i){i&&v(e)}}}function Vm(n){let e;return{c(){e=b("span"),e.textContent="Hidden",p(e,"class","label label-danger")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function WO(n){let e,t,i,l,s,o,r,a,u,f,c,d,m,h=n[0].required&&Um(n),_=n[0].hidden&&Vm();return{c(){e=b("div"),h&&h.c(),t=C(),_&&_.c(),i=C(),l=b("div"),s=b("i"),a=C(),u=b("input"),p(e,"class","field-labels"),p(s,"class",o=V.getFieldTypeIcon(n[0].type)),p(l,"class","form-field-addon prefix field-type-icon"),ee(l,"txt-disabled",!n[7]||n[0].system),p(u,"type","text"),u.required=!0,u.disabled=f=!n[7]||n[0].system,p(u,"spellcheck","false"),p(u,"placeholder","Field name"),u.value=c=n[0].name,p(u,"title","System field")},m(g,k){y(g,e,k),h&&h.m(e,null),w(e,t),_&&_.m(e,null),y(g,i,k),y(g,l,k),w(l,s),y(g,a,k),y(g,u,k),n[22](u),d||(m=[Ee(r=He.call(null,l,n[0].type+(n[0].system?" (system)":""))),W(l,"click",n[21]),W(u,"input",n[23])],d=!0)},p(g,k){g[0].required?h?h.p(g,k):(h=Um(g),h.c(),h.m(e,t)):h&&(h.d(1),h=null),g[0].hidden?_||(_=Vm(),_.c(),_.m(e,null)):_&&(_.d(1),_=null),k[0]&1&&o!==(o=V.getFieldTypeIcon(g[0].type))&&p(s,"class",o),r&&It(r.update)&&k[0]&1&&r.update.call(null,g[0].type+(g[0].system?" (system)":"")),k[0]&129&&ee(l,"txt-disabled",!g[7]||g[0].system),k[0]&129&&f!==(f=!g[7]||g[0].system)&&(u.disabled=f),k[0]&1&&c!==(c=g[0].name)&&u.value!==c&&(u.value=c)},d(g){g&&(v(e),v(i),v(l),v(a),v(u)),h&&h.d(),_&&_.d(),n[22](null),d=!1,Ie(m)}}}function YO(n){let e;return{c(){e=b("span"),p(e,"class","separator")},m(t,i){y(t,e,i)},p:te,d(t){t&&v(e)}}}function KO(n){let e,t,i,l,s,o;return{c(){e=b("button"),t=b("i"),p(t,"class","ri-settings-3-line"),p(e,"type","button"),p(e,"aria-label",i="Toggle "+n[0].name+" field options"),p(e,"class",l="btn btn-sm btn-circle options-trigger "+(n[4]?"btn-secondary":"btn-transparent")),p(e,"aria-expanded",n[4]),ee(e,"btn-hint",!n[4]&&!n[6]),ee(e,"btn-danger",n[6])},m(r,a){y(r,e,a),w(e,t),s||(o=W(e,"click",n[17]),s=!0)},p(r,a){a[0]&1&&i!==(i="Toggle "+r[0].name+" field options")&&p(e,"aria-label",i),a[0]&16&&l!==(l="btn btn-sm btn-circle options-trigger "+(r[4]?"btn-secondary":"btn-transparent"))&&p(e,"class",l),a[0]&16&&p(e,"aria-expanded",r[4]),a[0]&80&&ee(e,"btn-hint",!r[4]&&!r[6]),a[0]&80&&ee(e,"btn-danger",r[6])},d(r){r&&v(e),s=!1,o()}}}function JO(n){let e,t,i;return{c(){e=b("button"),e.innerHTML='<i class="ri-restart-line"></i>',p(e,"type","button"),p(e,"class","btn btn-sm btn-circle btn-success btn-transparent options-trigger"),p(e,"aria-label","Restore")},m(l,s){y(l,e,s),t||(i=[Ee(He.call(null,e,"Restore")),W(e,"click",n[14])],t=!0)},p:te,d(l){l&&v(e),t=!1,Ie(i)}}}function Bm(n){let e,t,i,l,s=!n[0].primaryKey&&n[0].type!="autodate"&&(!n[8]||!n[10].includes(n[0].name)),o,r=!n[0].primaryKey&&(!n[8]||!n[11].includes(n[0].name)),a,u=!n[8]||!n[12].includes(n[0].name),f,c,d,m;const h=n[20].options,_=Lt(h,n,n[28],Hm);let g=s&&Wm(n),k=r&&Ym(n),S=u&&Km(n);const $=n[20].optionsFooter,T=Lt($,n,n[28],qm);let O=!n[0]._toDelete&&!n[0].primaryKey&&Jm(n);return{c(){e=b("div"),t=b("div"),_&&_.c(),i=C(),l=b("div"),g&&g.c(),o=C(),k&&k.c(),a=C(),S&&S.c(),f=C(),T&&T.c(),c=C(),O&&O.c(),p(t,"class","hidden-empty m-b-sm"),p(l,"class","schema-field-options-footer"),p(e,"class","schema-field-options")},m(M,L){y(M,e,L),w(e,t),_&&_.m(t,null),w(e,i),w(e,l),g&&g.m(l,null),w(l,o),k&&k.m(l,null),w(l,a),S&&S.m(l,null),w(l,f),T&&T.m(l,null),w(l,c),O&&O.m(l,null),m=!0},p(M,L){_&&_.p&&(!m||L[0]&268435648)&&Pt(_,h,M,M[28],m?At(h,M[28],L,VO):Nt(M[28]),Hm),L[0]&257&&(s=!M[0].primaryKey&&M[0].type!="autodate"&&(!M[8]||!M[10].includes(M[0].name))),s?g?(g.p(M,L),L[0]&257&&E(g,1)):(g=Wm(M),g.c(),E(g,1),g.m(l,o)):g&&(ae(),D(g,1,1,()=>{g=null}),ue()),L[0]&257&&(r=!M[0].primaryKey&&(!M[8]||!M[11].includes(M[0].name))),r?k?(k.p(M,L),L[0]&257&&E(k,1)):(k=Ym(M),k.c(),E(k,1),k.m(l,a)):k&&(ae(),D(k,1,1,()=>{k=null}),ue()),L[0]&257&&(u=!M[8]||!M[12].includes(M[0].name)),u?S?(S.p(M,L),L[0]&257&&E(S,1)):(S=Km(M),S.c(),E(S,1),S.m(l,f)):S&&(ae(),D(S,1,1,()=>{S=null}),ue()),T&&T.p&&(!m||L[0]&268435648)&&Pt(T,$,M,M[28],m?At($,M[28],L,UO):Nt(M[28]),qm),!M[0]._toDelete&&!M[0].primaryKey?O?(O.p(M,L),L[0]&1&&E(O,1)):(O=Jm(M),O.c(),E(O,1),O.m(l,null)):O&&(ae(),D(O,1,1,()=>{O=null}),ue())},i(M){m||(E(_,M),E(g),E(k),E(S),E(T,M),E(O),M&&et(()=>{m&&(d||(d=je(e,mt,{delay:10,duration:150},!0)),d.run(1))}),m=!0)},o(M){D(_,M),D(g),D(k),D(S),D(T,M),D(O),M&&(d||(d=je(e,mt,{delay:10,duration:150},!1)),d.run(0)),m=!1},d(M){M&&v(e),_&&_.d(M),g&&g.d(),k&&k.d(),S&&S.d(),T&&T.d(M),O&&O.d(),M&&d&&d.end()}}}function Wm(n){let e,t;return e=new fe({props:{class:"form-field form-field-toggle",name:"requried",$$slots:{default:[ZO,({uniqueId:i})=>({34:i}),({uniqueId:i})=>[0,i?8:0]]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,l){const s={};l[0]&268435489|l[1]&8&&(s.$$scope={dirty:l,ctx:i}),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function ZO(n){let e,t,i,l,s,o,r,a,u,f,c,d;return{c(){e=b("input"),i=C(),l=b("label"),s=b("span"),o=B(n[5]),r=C(),a=b("i"),p(e,"type","checkbox"),p(e,"id",t=n[34]),p(s,"class","txt"),p(a,"class","ri-information-line link-hint"),p(l,"for",f=n[34])},m(m,h){y(m,e,h),e.checked=n[0].required,y(m,i,h),y(m,l,h),w(l,s),w(s,o),w(l,r),w(l,a),c||(d=[W(e,"change",n[24]),Ee(u=He.call(null,a,{text:`Requires the field value NOT to be ${V.zeroDefaultStr(n[0])}.`}))],c=!0)},p(m,h){h[1]&8&&t!==(t=m[34])&&p(e,"id",t),h[0]&1&&(e.checked=m[0].required),h[0]&32&&re(o,m[5]),u&&It(u.update)&&h[0]&1&&u.update.call(null,{text:`Requires the field value NOT to be ${V.zeroDefaultStr(m[0])}.`}),h[1]&8&&f!==(f=m[34])&&p(l,"for",f)},d(m){m&&(v(e),v(i),v(l)),c=!1,Ie(d)}}}function Ym(n){let e,t;return e=new fe({props:{class:"form-field form-field-toggle",name:"hidden",$$slots:{default:[GO,({uniqueId:i})=>({34:i}),({uniqueId:i})=>[0,i?8:0]]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,l){const s={};l[0]&268435457|l[1]&8&&(s.$$scope={dirty:l,ctx:i}),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function GO(n){let e,t,i,l,s,o,r,a,u,f;return{c(){e=b("input"),i=C(),l=b("label"),s=b("span"),s.textContent="Hidden",o=C(),r=b("i"),p(e,"type","checkbox"),p(e,"id",t=n[34]),p(s,"class","txt"),p(r,"class","ri-information-line link-hint"),p(l,"for",a=n[34])},m(c,d){y(c,e,d),e.checked=n[0].hidden,y(c,i,d),y(c,l,d),w(l,s),w(l,o),w(l,r),u||(f=[W(e,"change",n[25]),W(e,"change",n[26]),Ee(He.call(null,r,{text:"Hide from the JSON API response and filters."}))],u=!0)},p(c,d){d[1]&8&&t!==(t=c[34])&&p(e,"id",t),d[0]&1&&(e.checked=c[0].hidden),d[1]&8&&a!==(a=c[34])&&p(l,"for",a)},d(c){c&&(v(e),v(i),v(l)),u=!1,Ie(f)}}}function Km(n){let e,t;return e=new fe({props:{class:"form-field form-field-toggle m-0",name:"presentable",$$slots:{default:[XO,({uniqueId:i})=>({34:i}),({uniqueId:i})=>[0,i?8:0]]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,l){const s={};l[0]&268435457|l[1]&8&&(s.$$scope={dirty:l,ctx:i}),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function XO(n){let e,t,i,l,s,o,r,a,u,f,c,d;return{c(){e=b("input"),l=C(),s=b("label"),o=b("span"),o.textContent="Presentable",r=C(),a=b("i"),p(e,"type","checkbox"),p(e,"id",t=n[34]),e.disabled=i=n[0].hidden,p(o,"class","txt"),p(a,"class",u="ri-information-line "+(n[0].hidden?"txt-disabled":"link-hint")),p(s,"for",f=n[34])},m(m,h){y(m,e,h),e.checked=n[0].presentable,y(m,l,h),y(m,s,h),w(s,o),w(s,r),w(s,a),c||(d=[W(e,"change",n[27]),Ee(He.call(null,a,{text:"Whether the field should be preferred in the Superuser UI relation listings (default to auto)."}))],c=!0)},p(m,h){h[1]&8&&t!==(t=m[34])&&p(e,"id",t),h[0]&1&&i!==(i=m[0].hidden)&&(e.disabled=i),h[0]&1&&(e.checked=m[0].presentable),h[0]&1&&u!==(u="ri-information-line "+(m[0].hidden?"txt-disabled":"link-hint"))&&p(a,"class",u),h[1]&8&&f!==(f=m[34])&&p(s,"for",f)},d(m){m&&(v(e),v(l),v(s)),c=!1,Ie(d)}}}function Jm(n){let e,t,i,l,s,o,r;return o=new Hn({props:{class:"dropdown dropdown-sm dropdown-upside dropdown-right dropdown-nowrap no-min-width",$$slots:{default:[QO]},$$scope:{ctx:n}}}),{c(){e=b("div"),t=b("div"),i=b("div"),l=b("i"),s=C(),j(o.$$.fragment),p(l,"class","ri-more-line"),p(l,"aria-hidden","true"),p(i,"tabindex","0"),p(i,"role","button"),p(i,"title","More field options"),p(i,"class","btn btn-circle btn-sm btn-transparent"),p(t,"class","inline-flex flex-gap-sm flex-nowrap"),p(e,"class","m-l-auto txt-right")},m(a,u){y(a,e,u),w(e,t),w(t,i),w(i,l),w(i,s),q(o,i,null),r=!0},p(a,u){const f={};u[0]&268435457&&(f.$$scope={dirty:u,ctx:a}),o.$set(f)},i(a){r||(E(o.$$.fragment,a),r=!0)},o(a){D(o.$$.fragment,a),r=!1},d(a){a&&v(e),H(o)}}}function Zm(n){let e,t,i;return{c(){e=b("button"),e.innerHTML='<span class="txt">Remove</span>',p(e,"type","button"),p(e,"class","dropdown-item"),p(e,"role","menuitem")},m(l,s){y(l,e,s),t||(i=W(e,"click",tt(n[13])),t=!0)},p:te,d(l){l&&v(e),t=!1,i()}}}function QO(n){let e,t,i,l,s,o=!n[0].system&&Zm(n);return{c(){e=b("button"),e.innerHTML='<span class="txt">Duplicate</span>',t=C(),o&&o.c(),i=ye(),p(e,"type","button"),p(e,"class","dropdown-item"),p(e,"role","menuitem")},m(r,a){y(r,e,a),y(r,t,a),o&&o.m(r,a),y(r,i,a),l||(s=W(e,"click",tt(n[15])),l=!0)},p(r,a){r[0].system?o&&(o.d(1),o=null):o?o.p(r,a):(o=Zm(r),o.c(),o.m(i.parentNode,i))},d(r){r&&(v(e),v(t),v(i)),o&&o.d(r),l=!1,s()}}}function xO(n){let e,t,i,l,s,o,r,a,u,f=n[7]&&n[2]&&zm();l=new fe({props:{class:"form-field required m-0 "+(n[7]?"":"disabled"),name:"fields."+n[1]+".name",inlineError:!0,$$slots:{default:[WO]},$$scope:{ctx:n}}});const c=n[20].default,d=Lt(c,n,n[28],jm),m=d||YO();function h(S,$){if(S[0]._toDelete)return JO;if(S[7])return KO}let _=h(n),g=_&&_(n),k=n[7]&&n[4]&&Bm(n);return{c(){e=b("div"),t=b("div"),f&&f.c(),i=C(),j(l.$$.fragment),s=C(),m&&m.c(),o=C(),g&&g.c(),r=C(),k&&k.c(),p(t,"class","schema-field-header"),p(e,"class","schema-field"),ee(e,"required",n[0].required),ee(e,"expanded",n[7]&&n[4]),ee(e,"deleted",n[0]._toDelete)},m(S,$){y(S,e,$),w(e,t),f&&f.m(t,null),w(t,i),q(l,t,null),w(t,s),m&&m.m(t,null),w(t,o),g&&g.m(t,null),w(e,r),k&&k.m(e,null),u=!0},p(S,$){S[7]&&S[2]?f||(f=zm(),f.c(),f.m(t,i)):f&&(f.d(1),f=null);const T={};$[0]&128&&(T.class="form-field required m-0 "+(S[7]?"":"disabled")),$[0]&2&&(T.name="fields."+S[1]+".name"),$[0]&268435625&&(T.$$scope={dirty:$,ctx:S}),l.$set(T),d&&d.p&&(!u||$[0]&268435648)&&Pt(d,c,S,S[28],u?At(c,S[28],$,BO):Nt(S[28]),jm),_===(_=h(S))&&g?g.p(S,$):(g&&g.d(1),g=_&&_(S),g&&(g.c(),g.m(t,null))),S[7]&&S[4]?k?(k.p(S,$),$[0]&144&&E(k,1)):(k=Bm(S),k.c(),E(k,1),k.m(e,null)):k&&(ae(),D(k,1,1,()=>{k=null}),ue()),(!u||$[0]&1)&&ee(e,"required",S[0].required),(!u||$[0]&144)&&ee(e,"expanded",S[7]&&S[4]),(!u||$[0]&1)&&ee(e,"deleted",S[0]._toDelete)},i(S){u||(E(l.$$.fragment,S),E(m,S),E(k),S&&et(()=>{u&&(a||(a=je(e,mt,{duration:150},!0)),a.run(1))}),u=!0)},o(S){D(l.$$.fragment,S),D(m,S),D(k),S&&(a||(a=je(e,mt,{duration:150},!1)),a.run(0)),u=!1},d(S){S&&v(e),f&&f.d(),H(l),m&&m.d(S),g&&g.d(),k&&k.d(),S&&a&&a.end()}}}let Sa=[];function eE(n,e,t){let i,l,s,o,r;Qe(n,vn,ke=>t(19,r=ke));let{$$slots:a={},$$scope:u}=e;const f="f_"+V.randomString(8),c=kt(),d={bool:"Nonfalsey",number:"Nonzero"},m=["password","tokenKey","id","autodate"],h=["password","tokenKey","id","email"],_=["password","tokenKey"];let{key:g=""}=e,{field:k=V.initSchemaField()}=e,{draggable:S=!0}=e,{collection:$={}}=e,T,O=!1;function M(){k.id?t(0,k._toDelete=!0,k):(N(),c("remove"))}function L(){t(0,k._toDelete=!1,k),zt({})}function I(){k._toDelete||(N(),c("duplicate"))}function A(ke){return V.slugify(ke)}function P(){t(4,O=!0),z()}function N(){t(4,O=!1)}function R(){O?N():P()}function z(){for(let ke of Sa)ke.id!=f&&ke.collapse()}Gt(()=>(Sa.push({id:f,collapse:N}),k.onMountSelect&&(t(0,k.onMountSelect=!1,k),T==null||T.select()),()=>{V.removeByKey(Sa,"id",f)}));const F=()=>T==null?void 0:T.focus();function U(ke){ie[ke?"unshift":"push"](()=>{T=ke,t(3,T)})}const J=ke=>{const me=k.name;t(0,k.name=A(ke.target.value),k),ke.target.value=k.name,c("rename",{oldName:me,newName:k.name})};function K(){k.required=this.checked,t(0,k)}function Q(){k.hidden=this.checked,t(0,k)}const X=ke=>{ke.target.checked&&t(0,k.presentable=!1,k)};function oe(){k.presentable=this.checked,t(0,k)}return n.$$set=ke=>{"key"in ke&&t(1,g=ke.key),"field"in ke&&t(0,k=ke.field),"draggable"in ke&&t(2,S=ke.draggable),"collection"in ke&&t(18,$=ke.collection),"$$scope"in ke&&t(28,u=ke.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&262144&&t(8,i=($==null?void 0:$.type)=="auth"),n.$$.dirty[0]&1&&k._toDelete&&k._originalName&&k.name!==k._originalName&&t(0,k.name=k._originalName,k),n.$$.dirty[0]&1&&!k._originalName&&k.name&&t(0,k._originalName=k.name,k),n.$$.dirty[0]&1&&typeof k._toDelete>"u"&&t(0,k._toDelete=!1,k),n.$$.dirty[0]&1&&k.required&&t(0,k.nullable=!1,k),n.$$.dirty[0]&1&&t(7,l=!k._toDelete),n.$$.dirty[0]&524290&&t(6,s=!V.isEmpty(V.getNestedVal(r,`fields.${g}`))),n.$$.dirty[0]&1&&t(5,o=d[k==null?void 0:k.type]||"Nonempty")},[k,g,S,T,O,o,s,l,i,c,m,h,_,M,L,I,A,R,$,r,a,F,U,J,K,Q,X,oe,u]}class ti extends Se{constructor(e){super(),we(this,e,eE,xO,be,{key:1,field:0,draggable:2,collection:18},null,[-1,-1])}}function tE(n){let e,t,i,l,s,o;function r(u){n[5](u)}let a={id:n[13],items:n[3],disabled:n[0].system,readonly:!n[12]};return n[2]!==void 0&&(a.keyOfSelected=n[2]),t=new jn({props:a}),ie.push(()=>ge(t,"keyOfSelected",r)),{c(){e=b("div"),j(t.$$.fragment)},m(u,f){y(u,e,f),q(t,e,null),l=!0,s||(o=Ee(He.call(null,e,{text:"Auto set on:",position:"top"})),s=!0)},p(u,f){const c={};f&8192&&(c.id=u[13]),f&1&&(c.disabled=u[0].system),f&4096&&(c.readonly=!u[12]),!i&&f&4&&(i=!0,c.keyOfSelected=u[2],Te(()=>i=!1)),t.$set(c)},i(u){l||(E(t.$$.fragment,u),l=!0)},o(u){D(t.$$.fragment,u),l=!1},d(u){u&&v(e),H(t),s=!1,o()}}}function nE(n){let e,t,i,l,s,o;return i=new fe({props:{class:"form-field form-field-single-multiple-select form-field-autodate-select "+(n[12]?"":"readonly"),inlineError:!0,$$slots:{default:[tE,({uniqueId:r})=>({13:r}),({uniqueId:r})=>r?8192:0]},$$scope:{ctx:n}}}),{c(){e=b("div"),t=C(),j(i.$$.fragment),l=C(),s=b("div"),p(e,"class","separator"),p(s,"class","separator")},m(r,a){y(r,e,a),y(r,t,a),q(i,r,a),y(r,l,a),y(r,s,a),o=!0},p(r,a){const u={};a&4096&&(u.class="form-field form-field-single-multiple-select form-field-autodate-select "+(r[12]?"":"readonly")),a&28677&&(u.$$scope={dirty:a,ctx:r}),i.$set(u)},i(r){o||(E(i.$$.fragment,r),o=!0)},o(r){D(i.$$.fragment,r),o=!1},d(r){r&&(v(e),v(t),v(l),v(s)),H(i,r)}}}function iE(n){let e,t,i;const l=[{key:n[1]},n[4]];function s(r){n[6](r)}let o={$$slots:{default:[nE,({interactive:r})=>({12:r}),({interactive:r})=>r?4096:0]},$$scope:{ctx:n}};for(let r=0;r<l.length;r+=1)o=ze(o,l[r]);return n[0]!==void 0&&(o.field=n[0]),e=new ti({props:o}),ie.push(()=>ge(e,"field",s)),e.$on("rename",n[7]),e.$on("remove",n[8]),e.$on("duplicate",n[9]),{c(){j(e.$$.fragment)},m(r,a){q(e,r,a),i=!0},p(r,[a]){const u=a&18?wt(l,[a&2&&{key:r[1]},a&16&&Rt(r[4])]):{};a&20485&&(u.$$scope={dirty:a,ctx:r}),!t&&a&1&&(t=!0,u.field=r[0],Te(()=>t=!1)),e.$set(u)},i(r){i||(E(e.$$.fragment,r),i=!0)},o(r){D(e.$$.fragment,r),i=!1},d(r){H(e,r)}}}const Ta=1,$a=2,Ca=3;function lE(n,e,t){const i=["field","key"];let l=lt(e,i);const s=[{label:"Create",value:Ta},{label:"Update",value:$a},{label:"Create/Update",value:Ca}];let{field:o}=e,{key:r=""}=e,a=u();function u(){return o.onCreate&&o.onUpdate?Ca:o.onUpdate?$a:Ta}function f(g){switch(g){case Ta:t(0,o.onCreate=!0,o),t(0,o.onUpdate=!1,o);break;case $a:t(0,o.onCreate=!1,o),t(0,o.onUpdate=!0,o);break;case Ca:t(0,o.onCreate=!0,o),t(0,o.onUpdate=!0,o);break}}function c(g){a=g,t(2,a)}function d(g){o=g,t(0,o)}function m(g){Ne.call(this,n,g)}function h(g){Ne.call(this,n,g)}function _(g){Ne.call(this,n,g)}return n.$$set=g=>{e=ze(ze({},e),Vt(g)),t(4,l=lt(e,i)),"field"in g&&t(0,o=g.field),"key"in g&&t(1,r=g.key)},n.$$.update=()=>{n.$$.dirty&4&&f(a)},[o,r,a,s,l,c,d,m,h,_]}class sE extends Se{constructor(e){super(),we(this,e,lE,iE,be,{field:0,key:1})}}function oE(n){let e,t,i;const l=[{key:n[1]},n[2]];function s(r){n[3](r)}let o={};for(let r=0;r<l.length;r+=1)o=ze(o,l[r]);return n[0]!==void 0&&(o.field=n[0]),e=new ti({props:o}),ie.push(()=>ge(e,"field",s)),e.$on("rename",n[4]),e.$on("remove",n[5]),e.$on("duplicate",n[6]),{c(){j(e.$$.fragment)},m(r,a){q(e,r,a),i=!0},p(r,[a]){const u=a&6?wt(l,[a&2&&{key:r[1]},a&4&&Rt(r[2])]):{};!t&&a&1&&(t=!0,u.field=r[0],Te(()=>t=!1)),e.$set(u)},i(r){i||(E(e.$$.fragment,r),i=!0)},o(r){D(e.$$.fragment,r),i=!1},d(r){H(e,r)}}}function rE(n,e,t){const i=["field","key"];let l=lt(e,i),{field:s}=e,{key:o=""}=e;function r(c){s=c,t(0,s)}function a(c){Ne.call(this,n,c)}function u(c){Ne.call(this,n,c)}function f(c){Ne.call(this,n,c)}return n.$$set=c=>{e=ze(ze({},e),Vt(c)),t(2,l=lt(e,i)),"field"in c&&t(0,s=c.field),"key"in c&&t(1,o=c.key)},[s,o,l,r,a,u,f]}class aE extends Se{constructor(e){super(),we(this,e,rE,oE,be,{field:0,key:1})}}var Oa=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],Ql={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:typeof window=="object"&&window.navigator.userAgent.indexOf("MSIE")===-1,ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(n){return typeof console<"u"&&console.warn(n)},getWeek:function(n){var e=new Date(n.getTime());e.setHours(0,0,0,0),e.setDate(e.getDate()+3-(e.getDay()+6)%7);var t=new Date(e.getFullYear(),0,4);return 1+Math.round(((e.getTime()-t.getTime())/864e5-3+(t.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},eo={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(n){var e=n%100;if(e>3&&e<21)return"th";switch(e%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},In=function(n,e){return e===void 0&&(e=2),("000"+n).slice(e*-1)},Zn=function(n){return n===!0?1:0};function Gm(n,e){var t;return function(){var i=this,l=arguments;clearTimeout(t),t=setTimeout(function(){return n.apply(i,l)},e)}}var Ea=function(n){return n instanceof Array?n:[n]};function Tn(n,e,t){if(t===!0)return n.classList.add(e);n.classList.remove(e)}function Ot(n,e,t){var i=window.document.createElement(n);return e=e||"",t=t||"",i.className=e,t!==void 0&&(i.textContent=t),i}function Ko(n){for(;n.firstChild;)n.removeChild(n.firstChild)}function ov(n,e){if(e(n))return n;if(n.parentNode)return ov(n.parentNode,e)}function Jo(n,e){var t=Ot("div","numInputWrapper"),i=Ot("input","numInput "+n),l=Ot("span","arrowUp"),s=Ot("span","arrowDown");if(navigator.userAgent.indexOf("MSIE 9.0")===-1?i.type="number":(i.type="text",i.pattern="\\d*"),e!==void 0)for(var o in e)i.setAttribute(o,e[o]);return t.appendChild(i),t.appendChild(l),t.appendChild(s),t}function zn(n){try{if(typeof n.composedPath=="function"){var e=n.composedPath();return e[0]}return n.target}catch{return n.target}}var Ma=function(){},$r=function(n,e,t){return t.months[e?"shorthand":"longhand"][n]},uE={D:Ma,F:function(n,e,t){n.setMonth(t.months.longhand.indexOf(e))},G:function(n,e){n.setHours((n.getHours()>=12?12:0)+parseFloat(e))},H:function(n,e){n.setHours(parseFloat(e))},J:function(n,e){n.setDate(parseFloat(e))},K:function(n,e,t){n.setHours(n.getHours()%12+12*Zn(new RegExp(t.amPM[1],"i").test(e)))},M:function(n,e,t){n.setMonth(t.months.shorthand.indexOf(e))},S:function(n,e){n.setSeconds(parseFloat(e))},U:function(n,e){return new Date(parseFloat(e)*1e3)},W:function(n,e,t){var i=parseInt(e),l=new Date(n.getFullYear(),0,2+(i-1)*7,0,0,0,0);return l.setDate(l.getDate()-l.getDay()+t.firstDayOfWeek),l},Y:function(n,e){n.setFullYear(parseFloat(e))},Z:function(n,e){return new Date(e)},d:function(n,e){n.setDate(parseFloat(e))},h:function(n,e){n.setHours((n.getHours()>=12?12:0)+parseFloat(e))},i:function(n,e){n.setMinutes(parseFloat(e))},j:function(n,e){n.setDate(parseFloat(e))},l:Ma,m:function(n,e){n.setMonth(parseFloat(e)-1)},n:function(n,e){n.setMonth(parseFloat(e)-1)},s:function(n,e){n.setSeconds(parseFloat(e))},u:function(n,e){return new Date(parseFloat(e))},w:Ma,y:function(n,e){n.setFullYear(2e3+parseFloat(e))}},wl={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},Hs={Z:function(n){return n.toISOString()},D:function(n,e,t){return e.weekdays.shorthand[Hs.w(n,e,t)]},F:function(n,e,t){return $r(Hs.n(n,e,t)-1,!1,e)},G:function(n,e,t){return In(Hs.h(n,e,t))},H:function(n){return In(n.getHours())},J:function(n,e){return e.ordinal!==void 0?n.getDate()+e.ordinal(n.getDate()):n.getDate()},K:function(n,e){return e.amPM[Zn(n.getHours()>11)]},M:function(n,e){return $r(n.getMonth(),!0,e)},S:function(n){return In(n.getSeconds())},U:function(n){return n.getTime()/1e3},W:function(n,e,t){return t.getWeek(n)},Y:function(n){return In(n.getFullYear(),4)},d:function(n){return In(n.getDate())},h:function(n){return n.getHours()%12?n.getHours()%12:12},i:function(n){return In(n.getMinutes())},j:function(n){return n.getDate()},l:function(n,e){return e.weekdays.longhand[n.getDay()]},m:function(n){return In(n.getMonth()+1)},n:function(n){return n.getMonth()+1},s:function(n){return n.getSeconds()},u:function(n){return n.getTime()},w:function(n){return n.getDay()},y:function(n){return String(n.getFullYear()).substring(2)}},rv=function(n){var e=n.config,t=e===void 0?Ql:e,i=n.l10n,l=i===void 0?eo:i,s=n.isMobile,o=s===void 0?!1:s;return function(r,a,u){var f=u||l;return t.formatDate!==void 0&&!o?t.formatDate(r,a,f):a.split("").map(function(c,d,m){return Hs[c]&&m[d-1]!=="\\"?Hs[c](r,f,t):c!=="\\"?c:""}).join("")}},au=function(n){var e=n.config,t=e===void 0?Ql:e,i=n.l10n,l=i===void 0?eo:i;return function(s,o,r,a){if(!(s!==0&&!s)){var u=a||l,f,c=s;if(s instanceof Date)f=new Date(s.getTime());else if(typeof s!="string"&&s.toFixed!==void 0)f=new Date(s);else if(typeof s=="string"){var d=o||(t||Ql).dateFormat,m=String(s).trim();if(m==="today")f=new Date,r=!0;else if(t&&t.parseDate)f=t.parseDate(s,d);else if(/Z$/.test(m)||/GMT$/.test(m))f=new Date(s);else{for(var h=void 0,_=[],g=0,k=0,S="";g<d.length;g++){var $=d[g],T=$==="\\",O=d[g-1]==="\\"||T;if(wl[$]&&!O){S+=wl[$];var M=new RegExp(S).exec(s);M&&(h=!0)&&_[$!=="Y"?"push":"unshift"]({fn:uE[$],val:M[++k]})}else T||(S+=".")}f=!t||!t.noCalendar?new Date(new Date().getFullYear(),0,1,0,0,0,0):new Date(new Date().setHours(0,0,0,0)),_.forEach(function(L){var I=L.fn,A=L.val;return f=I(f,A,u)||f}),f=h?f:void 0}}if(!(f instanceof Date&&!isNaN(f.getTime()))){t.errorHandler(new Error("Invalid date provided: "+c));return}return r===!0&&f.setHours(0,0,0,0),f}}};function Un(n,e,t){return t===void 0&&(t=!0),t!==!1?new Date(n.getTime()).setHours(0,0,0,0)-new Date(e.getTime()).setHours(0,0,0,0):n.getTime()-e.getTime()}var fE=function(n,e,t){return n>Math.min(e,t)&&n<Math.max(e,t)},Da=function(n,e,t){return n*3600+e*60+t},cE=function(n){var e=Math.floor(n/3600),t=(n-e*3600)/60;return[e,t,n-e*3600-t*60]},dE={DAY:864e5};function Ia(n){var e=n.defaultHour,t=n.defaultMinute,i=n.defaultSeconds;if(n.minDate!==void 0){var l=n.minDate.getHours(),s=n.minDate.getMinutes(),o=n.minDate.getSeconds();e<l&&(e=l),e===l&&t<s&&(t=s),e===l&&t===s&&i<o&&(i=n.minDate.getSeconds())}if(n.maxDate!==void 0){var r=n.maxDate.getHours(),a=n.maxDate.getMinutes();e=Math.min(e,r),e===r&&(t=Math.min(a,t)),e===r&&t===a&&(i=n.maxDate.getSeconds())}return{hours:e,minutes:t,seconds:i}}typeof Object.assign!="function"&&(Object.assign=function(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];if(!n)throw TypeError("Cannot convert undefined or null to object");for(var i=function(r){r&&Object.keys(r).forEach(function(a){return n[a]=r[a]})},l=0,s=e;l<s.length;l++){var o=s[l];i(o)}return n});var mn=function(){return mn=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&(n[l]=e[l])}return n},mn.apply(this,arguments)},Xm=function(){for(var n=0,e=0,t=arguments.length;e<t;e++)n+=arguments[e].length;for(var i=Array(n),l=0,e=0;e<t;e++)for(var s=arguments[e],o=0,r=s.length;o<r;o++,l++)i[l]=s[o];return i},pE=300;function mE(n,e){var t={config:mn(mn({},Ql),en.defaultConfig),l10n:eo};t.parseDate=au({config:t.config,l10n:t.l10n}),t._handlers=[],t.pluginElements=[],t.loadedPlugins=[],t._bind=_,t._setHoursFromDate=d,t._positionCalendar=ut,t.changeMonth=ke,t.changeYear=Be,t.clear=me,t.close=$e,t.onMouseOver=Ve,t._createElement=Ot,t.createDay=M,t.destroy=We,t.isEnabled=xe,t.jumpToDate=S,t.updateValue=Mn,t.open=ot,t.redraw=rt,t.set=Ft,t.setDate=yn,t.toggle=ln;function i(){t.utils={getDaysInMonth:function(Z,x){return Z===void 0&&(Z=t.currentMonth),x===void 0&&(x=t.currentYear),Z===1&&(x%4===0&&x%100!==0||x%400===0)?29:t.l10n.daysInMonth[Z]}}}function l(){t.element=t.input=n,t.isOpen=!1,Ye(),Ce(),ii(),Ci(),i(),t.isMobile||O(),k(),(t.selectedDates.length||t.config.noCalendar)&&(t.config.enableTime&&d(t.config.noCalendar?t.latestSelectedDateObj:void 0),Mn(!1)),r();var Z=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!t.isMobile&&Z&&ut(),Dt("onReady")}function s(){var Z;return((Z=t.calendarContainer)===null||Z===void 0?void 0:Z.getRootNode()).activeElement||document.activeElement}function o(Z){return Z.bind(t)}function r(){var Z=t.config;Z.weekNumbers===!1&&Z.showMonths===1||Z.noCalendar!==!0&&window.requestAnimationFrame(function(){if(t.calendarContainer!==void 0&&(t.calendarContainer.style.visibility="hidden",t.calendarContainer.style.display="block"),t.daysContainer!==void 0){var x=(t.days.offsetWidth+1)*Z.showMonths;t.daysContainer.style.width=x+"px",t.calendarContainer.style.width=x+(t.weekWrapper!==void 0?t.weekWrapper.offsetWidth:0)+"px",t.calendarContainer.style.removeProperty("visibility"),t.calendarContainer.style.removeProperty("display")}})}function a(Z){if(t.selectedDates.length===0){var x=t.config.minDate===void 0||Un(new Date,t.config.minDate)>=0?new Date:new Date(t.config.minDate.getTime()),se=Ia(t.config);x.setHours(se.hours,se.minutes,se.seconds,x.getMilliseconds()),t.selectedDates=[x],t.latestSelectedDateObj=x}Z!==void 0&&Z.type!=="blur"&&fl(Z);var _e=t._input.value;c(),Mn(),t._input.value!==_e&&t._debouncedChange()}function u(Z,x){return Z%12+12*Zn(x===t.l10n.amPM[1])}function f(Z){switch(Z%24){case 0:case 12:return 12;default:return Z%12}}function c(){if(!(t.hourElement===void 0||t.minuteElement===void 0)){var Z=(parseInt(t.hourElement.value.slice(-2),10)||0)%24,x=(parseInt(t.minuteElement.value,10)||0)%60,se=t.secondElement!==void 0?(parseInt(t.secondElement.value,10)||0)%60:0;t.amPM!==void 0&&(Z=u(Z,t.amPM.textContent));var _e=t.config.minTime!==void 0||t.config.minDate&&t.minDateHasTime&&t.latestSelectedDateObj&&Un(t.latestSelectedDateObj,t.config.minDate,!0)===0,qe=t.config.maxTime!==void 0||t.config.maxDate&&t.maxDateHasTime&&t.latestSelectedDateObj&&Un(t.latestSelectedDateObj,t.config.maxDate,!0)===0;if(t.config.maxTime!==void 0&&t.config.minTime!==void 0&&t.config.minTime>t.config.maxTime){var le=Da(t.config.minTime.getHours(),t.config.minTime.getMinutes(),t.config.minTime.getSeconds()),Oe=Da(t.config.maxTime.getHours(),t.config.maxTime.getMinutes(),t.config.maxTime.getSeconds()),Fe=Da(Z,x,se);if(Fe>Oe&&Fe<le){var Je=cE(le);Z=Je[0],x=Je[1],se=Je[2]}}else{if(qe){var Pe=t.config.maxTime!==void 0?t.config.maxTime:t.config.maxDate;Z=Math.min(Z,Pe.getHours()),Z===Pe.getHours()&&(x=Math.min(x,Pe.getMinutes())),x===Pe.getMinutes()&&(se=Math.min(se,Pe.getSeconds()))}if(_e){var Ge=t.config.minTime!==void 0?t.config.minTime:t.config.minDate;Z=Math.max(Z,Ge.getHours()),Z===Ge.getHours()&&x<Ge.getMinutes()&&(x=Ge.getMinutes()),x===Ge.getMinutes()&&(se=Math.max(se,Ge.getSeconds()))}}m(Z,x,se)}}function d(Z){var x=Z||t.latestSelectedDateObj;x&&x instanceof Date&&m(x.getHours(),x.getMinutes(),x.getSeconds())}function m(Z,x,se){t.latestSelectedDateObj!==void 0&&t.latestSelectedDateObj.setHours(Z%24,x,se||0,0),!(!t.hourElement||!t.minuteElement||t.isMobile)&&(t.hourElement.value=In(t.config.time_24hr?Z:(12+Z)%12+12*Zn(Z%12===0)),t.minuteElement.value=In(x),t.amPM!==void 0&&(t.amPM.textContent=t.l10n.amPM[Zn(Z>=12)]),t.secondElement!==void 0&&(t.secondElement.value=In(se)))}function h(Z){var x=zn(Z),se=parseInt(x.value)+(Z.delta||0);(se/1e3>1||Z.key==="Enter"&&!/[^\d]/.test(se.toString()))&&Be(se)}function _(Z,x,se,_e){if(x instanceof Array)return x.forEach(function(qe){return _(Z,qe,se,_e)});if(Z instanceof Array)return Z.forEach(function(qe){return _(qe,x,se,_e)});Z.addEventListener(x,se,_e),t._handlers.push({remove:function(){return Z.removeEventListener(x,se,_e)}})}function g(){Dt("onChange")}function k(){if(t.config.wrap&&["open","close","toggle","clear"].forEach(function(se){Array.prototype.forEach.call(t.element.querySelectorAll("[data-"+se+"]"),function(_e){return _(_e,"click",t[se])})}),t.isMobile){wn();return}var Z=Gm(Me,50);if(t._debouncedChange=Gm(g,pE),t.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&_(t.daysContainer,"mouseover",function(se){t.config.mode==="range"&&Ve(zn(se))}),_(t._input,"keydown",Ht),t.calendarContainer!==void 0&&_(t.calendarContainer,"keydown",Ht),!t.config.inline&&!t.config.static&&_(window,"resize",Z),window.ontouchstart!==void 0?_(window.document,"touchstart",st):_(window.document,"mousedown",st),_(window.document,"focus",st,{capture:!0}),t.config.clickOpens===!0&&(_(t._input,"focus",t.open),_(t._input,"click",t.open)),t.daysContainer!==void 0&&(_(t.monthNav,"click",Pl),_(t.monthNav,["keyup","increment"],h),_(t.daysContainer,"click",En)),t.timeContainer!==void 0&&t.minuteElement!==void 0&&t.hourElement!==void 0){var x=function(se){return zn(se).select()};_(t.timeContainer,["increment"],a),_(t.timeContainer,"blur",a,{capture:!0}),_(t.timeContainer,"click",$),_([t.hourElement,t.minuteElement],["focus","click"],x),t.secondElement!==void 0&&_(t.secondElement,"focus",function(){return t.secondElement&&t.secondElement.select()}),t.amPM!==void 0&&_(t.amPM,"click",function(se){a(se)})}t.config.allowInput&&_(t._input,"blur",at)}function S(Z,x){var se=Z!==void 0?t.parseDate(Z):t.latestSelectedDateObj||(t.config.minDate&&t.config.minDate>t.now?t.config.minDate:t.config.maxDate&&t.config.maxDate<t.now?t.config.maxDate:t.now),_e=t.currentYear,qe=t.currentMonth;try{se!==void 0&&(t.currentYear=se.getFullYear(),t.currentMonth=se.getMonth())}catch(le){le.message="Invalid date supplied: "+se,t.config.errorHandler(le)}x&&t.currentYear!==_e&&(Dt("onYearChange"),z()),x&&(t.currentYear!==_e||t.currentMonth!==qe)&&Dt("onMonthChange"),t.redraw()}function $(Z){var x=zn(Z);~x.className.indexOf("arrow")&&T(Z,x.classList.contains("arrowUp")?1:-1)}function T(Z,x,se){var _e=Z&&zn(Z),qe=se||_e&&_e.parentNode&&_e.parentNode.firstChild,le=Oi("increment");le.delta=x,qe&&qe.dispatchEvent(le)}function O(){var Z=window.document.createDocumentFragment();if(t.calendarContainer=Ot("div","flatpickr-calendar"),t.calendarContainer.tabIndex=-1,!t.config.noCalendar){if(Z.appendChild(J()),t.innerContainer=Ot("div","flatpickr-innerContainer"),t.config.weekNumbers){var x=oe(),se=x.weekWrapper,_e=x.weekNumbers;t.innerContainer.appendChild(se),t.weekNumbers=_e,t.weekWrapper=se}t.rContainer=Ot("div","flatpickr-rContainer"),t.rContainer.appendChild(Q()),t.daysContainer||(t.daysContainer=Ot("div","flatpickr-days"),t.daysContainer.tabIndex=-1),R(),t.rContainer.appendChild(t.daysContainer),t.innerContainer.appendChild(t.rContainer),Z.appendChild(t.innerContainer)}t.config.enableTime&&Z.appendChild(K()),Tn(t.calendarContainer,"rangeMode",t.config.mode==="range"),Tn(t.calendarContainer,"animate",t.config.animate===!0),Tn(t.calendarContainer,"multiMonth",t.config.showMonths>1),t.calendarContainer.appendChild(Z);var qe=t.config.appendTo!==void 0&&t.config.appendTo.nodeType!==void 0;if((t.config.inline||t.config.static)&&(t.calendarContainer.classList.add(t.config.inline?"inline":"static"),t.config.inline&&(!qe&&t.element.parentNode?t.element.parentNode.insertBefore(t.calendarContainer,t._input.nextSibling):t.config.appendTo!==void 0&&t.config.appendTo.appendChild(t.calendarContainer)),t.config.static)){var le=Ot("div","flatpickr-wrapper");t.element.parentNode&&t.element.parentNode.insertBefore(le,t.element),le.appendChild(t.element),t.altInput&&le.appendChild(t.altInput),le.appendChild(t.calendarContainer)}!t.config.static&&!t.config.inline&&(t.config.appendTo!==void 0?t.config.appendTo:window.document.body).appendChild(t.calendarContainer)}function M(Z,x,se,_e){var qe=xe(x,!0),le=Ot("span",Z,x.getDate().toString());return le.dateObj=x,le.$i=_e,le.setAttribute("aria-label",t.formatDate(x,t.config.ariaDateFormat)),Z.indexOf("hidden")===-1&&Un(x,t.now)===0&&(t.todayDateElem=le,le.classList.add("today"),le.setAttribute("aria-current","date")),qe?(le.tabIndex=-1,al(x)&&(le.classList.add("selected"),t.selectedDateElem=le,t.config.mode==="range"&&(Tn(le,"startRange",t.selectedDates[0]&&Un(x,t.selectedDates[0],!0)===0),Tn(le,"endRange",t.selectedDates[1]&&Un(x,t.selectedDates[1],!0)===0),Z==="nextMonthDay"&&le.classList.add("inRange")))):le.classList.add("flatpickr-disabled"),t.config.mode==="range"&&ji(x)&&!al(x)&&le.classList.add("inRange"),t.weekNumbers&&t.config.showMonths===1&&Z!=="prevMonthDay"&&_e%7===6&&t.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+t.config.getWeek(x)+"</span>"),Dt("onDayCreate",le),le}function L(Z){Z.focus(),t.config.mode==="range"&&Ve(Z)}function I(Z){for(var x=Z>0?0:t.config.showMonths-1,se=Z>0?t.config.showMonths:-1,_e=x;_e!=se;_e+=Z)for(var qe=t.daysContainer.children[_e],le=Z>0?0:qe.children.length-1,Oe=Z>0?qe.children.length:-1,Fe=le;Fe!=Oe;Fe+=Z){var Je=qe.children[Fe];if(Je.className.indexOf("hidden")===-1&&xe(Je.dateObj))return Je}}function A(Z,x){for(var se=Z.className.indexOf("Month")===-1?Z.dateObj.getMonth():t.currentMonth,_e=x>0?t.config.showMonths:-1,qe=x>0?1:-1,le=se-t.currentMonth;le!=_e;le+=qe)for(var Oe=t.daysContainer.children[le],Fe=se-t.currentMonth===le?Z.$i+x:x<0?Oe.children.length-1:0,Je=Oe.children.length,Pe=Fe;Pe>=0&&Pe<Je&&Pe!=(x>0?Je:-1);Pe+=qe){var Ge=Oe.children[Pe];if(Ge.className.indexOf("hidden")===-1&&xe(Ge.dateObj)&&Math.abs(Z.$i-Pe)>=Math.abs(x))return L(Ge)}t.changeMonth(qe),P(I(qe),0)}function P(Z,x){var se=s(),_e=Ze(se||document.body),qe=Z!==void 0?Z:_e?se:t.selectedDateElem!==void 0&&Ze(t.selectedDateElem)?t.selectedDateElem:t.todayDateElem!==void 0&&Ze(t.todayDateElem)?t.todayDateElem:I(x>0?1:-1);qe===void 0?t._input.focus():_e?A(qe,x):L(qe)}function N(Z,x){for(var se=(new Date(Z,x,1).getDay()-t.l10n.firstDayOfWeek+7)%7,_e=t.utils.getDaysInMonth((x-1+12)%12,Z),qe=t.utils.getDaysInMonth(x,Z),le=window.document.createDocumentFragment(),Oe=t.config.showMonths>1,Fe=Oe?"prevMonthDay hidden":"prevMonthDay",Je=Oe?"nextMonthDay hidden":"nextMonthDay",Pe=_e+1-se,Ge=0;Pe<=_e;Pe++,Ge++)le.appendChild(M("flatpickr-day "+Fe,new Date(Z,x-1,Pe),Pe,Ge));for(Pe=1;Pe<=qe;Pe++,Ge++)le.appendChild(M("flatpickr-day",new Date(Z,x,Pe),Pe,Ge));for(var ft=qe+1;ft<=42-se&&(t.config.showMonths===1||Ge%7!==0);ft++,Ge++)le.appendChild(M("flatpickr-day "+Je,new Date(Z,x+1,ft%qe),ft,Ge));var Qt=Ot("div","dayContainer");return Qt.appendChild(le),Qt}function R(){if(t.daysContainer!==void 0){Ko(t.daysContainer),t.weekNumbers&&Ko(t.weekNumbers);for(var Z=document.createDocumentFragment(),x=0;x<t.config.showMonths;x++){var se=new Date(t.currentYear,t.currentMonth,1);se.setMonth(t.currentMonth+x),Z.appendChild(N(se.getFullYear(),se.getMonth()))}t.daysContainer.appendChild(Z),t.days=t.daysContainer.firstChild,t.config.mode==="range"&&t.selectedDates.length===1&&Ve()}}function z(){if(!(t.config.showMonths>1||t.config.monthSelectorType!=="dropdown")){var Z=function(_e){return t.config.minDate!==void 0&&t.currentYear===t.config.minDate.getFullYear()&&_e<t.config.minDate.getMonth()?!1:!(t.config.maxDate!==void 0&&t.currentYear===t.config.maxDate.getFullYear()&&_e>t.config.maxDate.getMonth())};t.monthsDropdownContainer.tabIndex=-1,t.monthsDropdownContainer.innerHTML="";for(var x=0;x<12;x++)if(Z(x)){var se=Ot("option","flatpickr-monthDropdown-month");se.value=new Date(t.currentYear,x).getMonth().toString(),se.textContent=$r(x,t.config.shorthandCurrentMonth,t.l10n),se.tabIndex=-1,t.currentMonth===x&&(se.selected=!0),t.monthsDropdownContainer.appendChild(se)}}}function F(){var Z=Ot("div","flatpickr-month"),x=window.document.createDocumentFragment(),se;t.config.showMonths>1||t.config.monthSelectorType==="static"?se=Ot("span","cur-month"):(t.monthsDropdownContainer=Ot("select","flatpickr-monthDropdown-months"),t.monthsDropdownContainer.setAttribute("aria-label",t.l10n.monthAriaLabel),_(t.monthsDropdownContainer,"change",function(Oe){var Fe=zn(Oe),Je=parseInt(Fe.value,10);t.changeMonth(Je-t.currentMonth),Dt("onMonthChange")}),z(),se=t.monthsDropdownContainer);var _e=Jo("cur-year",{tabindex:"-1"}),qe=_e.getElementsByTagName("input")[0];qe.setAttribute("aria-label",t.l10n.yearAriaLabel),t.config.minDate&&qe.setAttribute("min",t.config.minDate.getFullYear().toString()),t.config.maxDate&&(qe.setAttribute("max",t.config.maxDate.getFullYear().toString()),qe.disabled=!!t.config.minDate&&t.config.minDate.getFullYear()===t.config.maxDate.getFullYear());var le=Ot("div","flatpickr-current-month");return le.appendChild(se),le.appendChild(_e),x.appendChild(le),Z.appendChild(x),{container:Z,yearElement:qe,monthElement:se}}function U(){Ko(t.monthNav),t.monthNav.appendChild(t.prevMonthNav),t.config.showMonths&&(t.yearElements=[],t.monthElements=[]);for(var Z=t.config.showMonths;Z--;){var x=F();t.yearElements.push(x.yearElement),t.monthElements.push(x.monthElement),t.monthNav.appendChild(x.container)}t.monthNav.appendChild(t.nextMonthNav)}function J(){return t.monthNav=Ot("div","flatpickr-months"),t.yearElements=[],t.monthElements=[],t.prevMonthNav=Ot("span","flatpickr-prev-month"),t.prevMonthNav.innerHTML=t.config.prevArrow,t.nextMonthNav=Ot("span","flatpickr-next-month"),t.nextMonthNav.innerHTML=t.config.nextArrow,U(),Object.defineProperty(t,"_hidePrevMonthArrow",{get:function(){return t.__hidePrevMonthArrow},set:function(Z){t.__hidePrevMonthArrow!==Z&&(Tn(t.prevMonthNav,"flatpickr-disabled",Z),t.__hidePrevMonthArrow=Z)}}),Object.defineProperty(t,"_hideNextMonthArrow",{get:function(){return t.__hideNextMonthArrow},set:function(Z){t.__hideNextMonthArrow!==Z&&(Tn(t.nextMonthNav,"flatpickr-disabled",Z),t.__hideNextMonthArrow=Z)}}),t.currentYearElement=t.yearElements[0],zi(),t.monthNav}function K(){t.calendarContainer.classList.add("hasTime"),t.config.noCalendar&&t.calendarContainer.classList.add("noCalendar");var Z=Ia(t.config);t.timeContainer=Ot("div","flatpickr-time"),t.timeContainer.tabIndex=-1;var x=Ot("span","flatpickr-time-separator",":"),se=Jo("flatpickr-hour",{"aria-label":t.l10n.hourAriaLabel});t.hourElement=se.getElementsByTagName("input")[0];var _e=Jo("flatpickr-minute",{"aria-label":t.l10n.minuteAriaLabel});if(t.minuteElement=_e.getElementsByTagName("input")[0],t.hourElement.tabIndex=t.minuteElement.tabIndex=-1,t.hourElement.value=In(t.latestSelectedDateObj?t.latestSelectedDateObj.getHours():t.config.time_24hr?Z.hours:f(Z.hours)),t.minuteElement.value=In(t.latestSelectedDateObj?t.latestSelectedDateObj.getMinutes():Z.minutes),t.hourElement.setAttribute("step",t.config.hourIncrement.toString()),t.minuteElement.setAttribute("step",t.config.minuteIncrement.toString()),t.hourElement.setAttribute("min",t.config.time_24hr?"0":"1"),t.hourElement.setAttribute("max",t.config.time_24hr?"23":"12"),t.hourElement.setAttribute("maxlength","2"),t.minuteElement.setAttribute("min","0"),t.minuteElement.setAttribute("max","59"),t.minuteElement.setAttribute("maxlength","2"),t.timeContainer.appendChild(se),t.timeContainer.appendChild(x),t.timeContainer.appendChild(_e),t.config.time_24hr&&t.timeContainer.classList.add("time24hr"),t.config.enableSeconds){t.timeContainer.classList.add("hasSeconds");var qe=Jo("flatpickr-second");t.secondElement=qe.getElementsByTagName("input")[0],t.secondElement.value=In(t.latestSelectedDateObj?t.latestSelectedDateObj.getSeconds():Z.seconds),t.secondElement.setAttribute("step",t.minuteElement.getAttribute("step")),t.secondElement.setAttribute("min","0"),t.secondElement.setAttribute("max","59"),t.secondElement.setAttribute("maxlength","2"),t.timeContainer.appendChild(Ot("span","flatpickr-time-separator",":")),t.timeContainer.appendChild(qe)}return t.config.time_24hr||(t.amPM=Ot("span","flatpickr-am-pm",t.l10n.amPM[Zn((t.latestSelectedDateObj?t.hourElement.value:t.config.defaultHour)>11)]),t.amPM.title=t.l10n.toggleTitle,t.amPM.tabIndex=-1,t.timeContainer.appendChild(t.amPM)),t.timeContainer}function Q(){t.weekdayContainer?Ko(t.weekdayContainer):t.weekdayContainer=Ot("div","flatpickr-weekdays");for(var Z=t.config.showMonths;Z--;){var x=Ot("div","flatpickr-weekdaycontainer");t.weekdayContainer.appendChild(x)}return X(),t.weekdayContainer}function X(){if(t.weekdayContainer){var Z=t.l10n.firstDayOfWeek,x=Xm(t.l10n.weekdays.shorthand);Z>0&&Z<x.length&&(x=Xm(x.splice(Z,x.length),x.splice(0,Z)));for(var se=t.config.showMonths;se--;)t.weekdayContainer.children[se].innerHTML=`
       <span class='flatpickr-weekday'>
         `+x.join("</span><span class='flatpickr-weekday'>")+`
@@ -85,7 +85,7 @@ var bv=Object.defineProperty;var kv=(n,e,t)=>e in n?bv(n,e,{enumerable:!0,config
                 If your query doesn&#39;t have a suitable one, you can use the universal
                 <code>(ROW_NUMBER() OVER()) as id</code>.</li> <li>Expressions must be aliased with a valid formatted field name, e.g.
                 <code>MAX(balance) as maxBalance</code>.</li> <li>Combined/multi-spaced expressions must be wrapped in parenthesis, e.g.
-                <code>(MAX(balance) + 1) as maxBalance</code>.</li></ul>`,u=C(),_&&_.c(),f=ye(),p(t,"class","txt"),p(e,"for",i=n[8]),p(a,"class","help-block")},m(g,k){y(g,e,k),w(e,t),y(g,l,k),m[s].m(g,k),y(g,r,k),y(g,a,k),y(g,u,k),_&&_.m(g,k),y(g,f,k),c=!0},p(g,k){(!c||k&256&&i!==(i=g[8]))&&p(e,"for",i);let S=s;s=h(g),s===S?m[s].p(g,k):(ae(),D(m[S],1,1,()=>{m[S]=null}),ue(),o=m[s],o?o.p(g,k):(o=m[s]=d[s](g),o.c()),E(o,1),o.m(r.parentNode,r)),g[3].length?_?_.p(g,k):(_=ah(g),_.c(),_.m(f.parentNode,f)):_&&(_.d(1),_=null)},i(g){c||(E(o),c=!0)},o(g){D(o),c=!1},d(g){g&&(v(e),v(l),v(r),v(a),v(u),v(f)),m[s].d(g),_&&_.d(g)}}}function lD(n){let e,t;return e=new fe({props:{class:"form-field required "+(n[3].length?"error":""),name:"viewQuery",$$slots:{default:[iD,({uniqueId:i})=>({8:i}),({uniqueId:i})=>i?256:0]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,[l]){const s={};l&8&&(s.class="form-field required "+(i[3].length?"error":"")),l&4367&&(s.$$scope={dirty:l,ctx:i}),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function sD(n,e,t){let i;Qe(n,vn,c=>t(4,i=c));let{collection:l}=e,s,o=!1,r=[];function a(c){t(3,r=[]);const d=V.getNestedVal(c,"fields",null);if(V.isEmpty(d))return;if(d!=null&&d.message){r.push(d==null?void 0:d.message);return}const m=V.extractColumnsFromQuery(l==null?void 0:l.viewQuery);V.removeByValue(m,"id"),V.removeByValue(m,"created"),V.removeByValue(m,"updated");for(let h in d)for(let _ in d[h]){const g=d[h][_].message,k=m[h]||h;r.push(V.sentenize(k+": "+g))}}Gt(async()=>{t(2,o=!0);try{t(1,s=(await Tt(async()=>{const{default:c}=await import("./CodeEditor-DtaTPOng.js");return{default:c}},__vite__mapDeps([12,1]),import.meta.url)).default)}catch(c){console.warn(c)}t(2,o=!1)});function u(c){n.$$.not_equal(l.viewQuery,c)&&(l.viewQuery=c,t(0,l))}const f=()=>{r.length&&Wn("fields")};return n.$$set=c=>{"collection"in c&&t(0,l=c.collection)},n.$$.update=()=>{n.$$.dirty&16&&a(i)},[l,s,o,r,i,u,f]}class oD extends Se{constructor(e){super(),we(this,e,sD,lD,be,{collection:0})}}function fh(n,e,t){const i=n.slice();return i[15]=e[t],i}function ch(n){let e,t,i,l,s,o,r,a,u,f,c,d,m,h,_,g,k,S,$,T,O,M,L,I,A=ce(n[4]),P=[];for(let N=0;N<A.length;N+=1)P[N]=ph(fh(n,A,N));return{c(){e=b("div"),t=b("div"),i=b("div"),l=b("p"),l.textContent="The following record fields are available:",s=C(),o=b("div");for(let N=0;N<P.length;N+=1)P[N].c();r=C(),a=b("hr"),u=C(),f=b("p"),f.innerHTML="The request fields could be accessed with the special <em>@request</em> filter:",c=C(),d=b("div"),d.innerHTML="<code>@request.headers.*</code> <code>@request.query.*</code> <code>@request.body.*</code> <code>@request.auth.*</code>",m=C(),h=b("hr"),_=C(),g=b("p"),g.innerHTML=`You could also add constraints and query other collections using the
+                <code>(MAX(balance) + 1) as maxBalance</code>.</li></ul>`,u=C(),_&&_.c(),f=ye(),p(t,"class","txt"),p(e,"for",i=n[8]),p(a,"class","help-block")},m(g,k){y(g,e,k),w(e,t),y(g,l,k),m[s].m(g,k),y(g,r,k),y(g,a,k),y(g,u,k),_&&_.m(g,k),y(g,f,k),c=!0},p(g,k){(!c||k&256&&i!==(i=g[8]))&&p(e,"for",i);let S=s;s=h(g),s===S?m[s].p(g,k):(ae(),D(m[S],1,1,()=>{m[S]=null}),ue(),o=m[s],o?o.p(g,k):(o=m[s]=d[s](g),o.c()),E(o,1),o.m(r.parentNode,r)),g[3].length?_?_.p(g,k):(_=ah(g),_.c(),_.m(f.parentNode,f)):_&&(_.d(1),_=null)},i(g){c||(E(o),c=!0)},o(g){D(o),c=!1},d(g){g&&(v(e),v(l),v(r),v(a),v(u),v(f)),m[s].d(g),_&&_.d(g)}}}function lD(n){let e,t;return e=new fe({props:{class:"form-field required "+(n[3].length?"error":""),name:"viewQuery",$$slots:{default:[iD,({uniqueId:i})=>({8:i}),({uniqueId:i})=>i?256:0]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,[l]){const s={};l&8&&(s.class="form-field required "+(i[3].length?"error":"")),l&4367&&(s.$$scope={dirty:l,ctx:i}),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function sD(n,e,t){let i;Qe(n,vn,c=>t(4,i=c));let{collection:l}=e,s,o=!1,r=[];function a(c){t(3,r=[]);const d=V.getNestedVal(c,"fields",null);if(V.isEmpty(d))return;if(d!=null&&d.message){r.push(d==null?void 0:d.message);return}const m=V.extractColumnsFromQuery(l==null?void 0:l.viewQuery);V.removeByValue(m,"id"),V.removeByValue(m,"created"),V.removeByValue(m,"updated");for(let h in d)for(let _ in d[h]){const g=d[h][_].message,k=m[h]||h;r.push(V.sentenize(k+": "+g))}}Gt(async()=>{t(2,o=!0);try{t(1,s=(await Tt(async()=>{const{default:c}=await import("./CodeEditor-BdQDwUb4.js");return{default:c}},__vite__mapDeps([12,1]),import.meta.url)).default)}catch(c){console.warn(c)}t(2,o=!1)});function u(c){n.$$.not_equal(l.viewQuery,c)&&(l.viewQuery=c,t(0,l))}const f=()=>{r.length&&Wn("fields")};return n.$$set=c=>{"collection"in c&&t(0,l=c.collection)},n.$$.update=()=>{n.$$.dirty&16&&a(i)},[l,s,o,r,i,u,f]}class oD extends Se{constructor(e){super(),we(this,e,sD,lD,be,{collection:0})}}function fh(n,e,t){const i=n.slice();return i[15]=e[t],i}function ch(n){let e,t,i,l,s,o,r,a,u,f,c,d,m,h,_,g,k,S,$,T,O,M,L,I,A=ce(n[4]),P=[];for(let N=0;N<A.length;N+=1)P[N]=ph(fh(n,A,N));return{c(){e=b("div"),t=b("div"),i=b("div"),l=b("p"),l.textContent="The following record fields are available:",s=C(),o=b("div");for(let N=0;N<P.length;N+=1)P[N].c();r=C(),a=b("hr"),u=C(),f=b("p"),f.innerHTML="The request fields could be accessed with the special <em>@request</em> filter:",c=C(),d=b("div"),d.innerHTML="<code>@request.headers.*</code> <code>@request.query.*</code> <code>@request.body.*</code> <code>@request.auth.*</code>",m=C(),h=b("hr"),_=C(),g=b("p"),g.innerHTML=`You could also add constraints and query other collections using the
                         <em>@collection</em> filter:`,k=C(),S=b("div"),S.innerHTML="<code>@collection.ANY_COLLECTION_NAME.*</code>",$=C(),T=b("hr"),O=C(),M=b("p"),M.innerHTML=`Example rule:
                         <br/> <code>@request.auth.id != &quot;&quot; &amp;&amp; created &gt; &quot;2022-01-01 00:00:00&quot;</code>`,p(l,"class","m-b-0"),p(o,"class","inline-flex flex-gap-5"),p(a,"class","m-t-10 m-b-5"),p(f,"class","m-b-0"),p(d,"class","inline-flex flex-gap-5"),p(h,"class","m-t-10 m-b-5"),p(g,"class","m-b-0"),p(S,"class","inline-flex flex-gap-5"),p(T,"class","m-t-10 m-b-5"),p(i,"class","content"),p(t,"class","alert alert-warning m-0")},m(N,R){y(N,e,R),w(e,t),w(t,i),w(i,l),w(i,s),w(i,o);for(let z=0;z<P.length;z+=1)P[z]&&P[z].m(o,null);w(i,r),w(i,a),w(i,u),w(i,f),w(i,c),w(i,d),w(i,m),w(i,h),w(i,_),w(i,g),w(i,k),w(i,S),w(i,$),w(i,T),w(i,O),w(i,M),I=!0},p(N,R){if(R&24){A=ce(N[4]);let z;for(z=0;z<A.length;z+=1){const F=fh(N,A,z);P[z]?P[z].p(F,R):(P[z]=ph(F),P[z].c(),P[z].m(o,null))}for(;z<P.length;z+=1)P[z].d(1);P.length=A.length}},i(N){I||(N&&et(()=>{I&&(L||(L=je(e,mt,{duration:150},!0)),L.run(1))}),I=!0)},o(N){N&&(L||(L=je(e,mt,{duration:150},!1)),L.run(0)),I=!1},d(N){N&&v(e),dt(P,N),N&&L&&L.end()}}}function dh(n){let e,t=n[15]+"",i;return{c(){e=b("code"),i=B(t)},m(l,s){y(l,e,s),w(e,i)},p(l,s){s&16&&t!==(t=l[15]+"")&&re(i,t)},d(l){l&&v(e)}}}function ph(n){let e=!n[3].includes(n[15]),t,i=e&&dh(n);return{c(){i&&i.c(),t=ye()},m(l,s){i&&i.m(l,s),y(l,t,s)},p(l,s){s&24&&(e=!l[3].includes(l[15])),e?i?i.p(l,s):(i=dh(l),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},d(l){l&&v(t),i&&i.d(l)}}}function mh(n){let e,t,i,l,s,o,r,a,u;function f(g){n[8](g)}let c={label:"Create rule",formKey:"createRule",collection:n[0],$$slots:{afterLabel:[rD,({isSuperuserOnly:g})=>({14:g}),({isSuperuserOnly:g})=>g?16384:0]},$$scope:{ctx:n}};n[0].createRule!==void 0&&(c.rule=n[0].createRule),e=new nl({props:c}),ie.push(()=>ge(e,"rule",f));function d(g){n[9](g)}let m={label:"Update rule",formKey:"updateRule",collection:n[0]};n[0].updateRule!==void 0&&(m.rule=n[0].updateRule),l=new nl({props:m}),ie.push(()=>ge(l,"rule",d));function h(g){n[10](g)}let _={label:"Delete rule",formKey:"deleteRule",collection:n[0]};return n[0].deleteRule!==void 0&&(_.rule=n[0].deleteRule),r=new nl({props:_}),ie.push(()=>ge(r,"rule",h)),{c(){j(e.$$.fragment),i=C(),j(l.$$.fragment),o=C(),j(r.$$.fragment)},m(g,k){q(e,g,k),y(g,i,k),q(l,g,k),y(g,o,k),q(r,g,k),u=!0},p(g,k){const S={};k&1&&(S.collection=g[0]),k&278528&&(S.$$scope={dirty:k,ctx:g}),!t&&k&1&&(t=!0,S.rule=g[0].createRule,Te(()=>t=!1)),e.$set(S);const $={};k&1&&($.collection=g[0]),!s&&k&1&&(s=!0,$.rule=g[0].updateRule,Te(()=>s=!1)),l.$set($);const T={};k&1&&(T.collection=g[0]),!a&&k&1&&(a=!0,T.rule=g[0].deleteRule,Te(()=>a=!1)),r.$set(T)},i(g){u||(E(e.$$.fragment,g),E(l.$$.fragment,g),E(r.$$.fragment,g),u=!0)},o(g){D(e.$$.fragment,g),D(l.$$.fragment,g),D(r.$$.fragment,g),u=!1},d(g){g&&(v(i),v(o)),H(e,g),H(l,g),H(r,g)}}}function hh(n){let e,t,i;return{c(){e=b("i"),p(e,"class","ri-information-line link-hint")},m(l,s){y(l,e,s),t||(i=Ee(He.call(null,e,{text:'The Create rule is executed after a "dry save" of the submitted data, giving you access to the main record fields as in every other rule.',position:"top"})),t=!0)},d(l){l&&v(e),t=!1,i()}}}function rD(n){let e,t=!n[14]&&hh();return{c(){t&&t.c(),e=ye()},m(i,l){t&&t.m(i,l),y(i,e,l)},p(i,l){i[14]?t&&(t.d(1),t=null):t||(t=hh(),t.c(),t.m(e.parentNode,e))},d(i){i&&v(e),t&&t.d(i)}}}function _h(n){let e,t,i,l,s,o,r,a,u,f,c;function d(g,k){return g[2]?uD:aD}let m=d(n),h=m(n),_=n[2]&&gh(n);return{c(){e=b("hr"),t=C(),i=b("button"),l=b("strong"),l.textContent="Additional auth collection rules",s=C(),h.c(),r=C(),_&&_.c(),a=ye(),p(l,"class","txt"),p(i,"type","button"),p(i,"class",o="btn btn-sm m-b-sm "+(n[2]?"btn-secondary":"btn-hint btn-transparent"))},m(g,k){y(g,e,k),y(g,t,k),y(g,i,k),w(i,l),w(i,s),h.m(i,null),y(g,r,k),_&&_.m(g,k),y(g,a,k),u=!0,f||(c=W(i,"click",n[11]),f=!0)},p(g,k){m!==(m=d(g))&&(h.d(1),h=m(g),h&&(h.c(),h.m(i,null))),(!u||k&4&&o!==(o="btn btn-sm m-b-sm "+(g[2]?"btn-secondary":"btn-hint btn-transparent")))&&p(i,"class",o),g[2]?_?(_.p(g,k),k&4&&E(_,1)):(_=gh(g),_.c(),E(_,1),_.m(a.parentNode,a)):_&&(ae(),D(_,1,1,()=>{_=null}),ue())},i(g){u||(E(_),u=!0)},o(g){D(_),u=!1},d(g){g&&(v(e),v(t),v(i),v(r),v(a)),h.d(),_&&_.d(g),f=!1,c()}}}function aD(n){let e;return{c(){e=b("i"),p(e,"class","ri-arrow-down-s-line txt-sm")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function uD(n){let e;return{c(){e=b("i"),p(e,"class","ri-arrow-up-s-line txt-sm")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function gh(n){let e,t,i,l,s,o,r,a;function u(m){n[12](m)}let f={label:"Authentication rule",formKey:"authRule",placeholder:"",collection:n[0],$$slots:{default:[fD]},$$scope:{ctx:n}};n[0].authRule!==void 0&&(f.rule=n[0].authRule),t=new nl({props:f}),ie.push(()=>ge(t,"rule",u));function c(m){n[13](m)}let d={label:"Manage rule",formKey:"manageRule",placeholder:"",required:n[0].manageRule!==null,collection:n[0],$$slots:{default:[cD]},$$scope:{ctx:n}};return n[0].manageRule!==void 0&&(d.rule=n[0].manageRule),s=new nl({props:d}),ie.push(()=>ge(s,"rule",c)),{c(){e=b("div"),j(t.$$.fragment),l=C(),j(s.$$.fragment),p(e,"class","block")},m(m,h){y(m,e,h),q(t,e,null),w(e,l),q(s,e,null),a=!0},p(m,h){const _={};h&1&&(_.collection=m[0]),h&262144&&(_.$$scope={dirty:h,ctx:m}),!i&&h&1&&(i=!0,_.rule=m[0].authRule,Te(()=>i=!1)),t.$set(_);const g={};h&1&&(g.required=m[0].manageRule!==null),h&1&&(g.collection=m[0]),h&262144&&(g.$$scope={dirty:h,ctx:m}),!o&&h&1&&(o=!0,g.rule=m[0].manageRule,Te(()=>o=!1)),s.$set(g)},i(m){a||(E(t.$$.fragment,m),E(s.$$.fragment,m),m&&et(()=>{a&&(r||(r=je(e,mt,{duration:150},!0)),r.run(1))}),a=!0)},o(m){D(t.$$.fragment,m),D(s.$$.fragment,m),m&&(r||(r=je(e,mt,{duration:150},!1)),r.run(0)),a=!1},d(m){m&&v(e),H(t),H(s),m&&r&&r.end()}}}function fD(n){let e,t,i,l,s,o,r;return{c(){e=b("p"),e.textContent=`This rule is executed every time before authentication allowing you to restrict who
                         can authenticate.`,t=C(),i=b("p"),i.innerHTML=`For example, to allow only verified users you can set it to
@@ -117,7 +117,7 @@ var bv=Object.defineProperty;var kv=(n,e,t)=>e in n?bv(n,e,{enumerable:!0,config
             form-field form-field-list form-field-file
             `+(o[4].required?"required":"")+`
             `+(o[9]?"dragover":"")+`
-        `),r[0]&16&&(a.name=o[4].name),r[0]&268439039|r[1]&64&&(a.$$scope={dirty:r,ctx:o}),t.$set(a)},i(o){i||(E(t.$$.fragment,o),i=!0)},o(o){D(t.$$.fragment,o),i=!1},d(o){o&&v(e),H(t),l=!1,Ie(s)}}}function fA(n,e,t){let i,l,s,{record:o}=e,{field:r}=e,{value:a=""}=e,{uploadedFiles:u=[]}=e,{deletedFileNames:f=[]}=e,c,d,m=!1,h="";function _(U){V.removeByValue(f,U),t(2,f)}function g(U){V.pushUnique(f,U),t(2,f)}function k(U){V.isEmpty(u[U])||u.splice(U,1),t(1,u)}function S(){d==null||d.dispatchEvent(new CustomEvent("change",{detail:{value:a,uploadedFiles:u,deletedFileNames:f},bubbles:!0}))}function $(U){var K;U.preventDefault(),t(9,m=!1);const J=((K=U.dataTransfer)==null?void 0:K.files)||[];if(!(s||!J.length)){for(const Q of J){const X=l.length+u.length-f.length;if(r.maxSelect<=X)break;u.push(Q)}t(1,u)}}Gt(async()=>{t(10,h=await he.getSuperuserFileToken(o.collectionId))});const T=U=>_(U),O=U=>g(U);function M(U){a=U,t(0,a),t(6,i),t(4,r)}const L=U=>k(U);function I(U){u=U,t(1,u)}function A(U){ie[U?"unshift":"push"](()=>{c=U,t(7,c)})}const P=()=>{for(let U of c.files)u.push(U);t(1,u),t(7,c.value=null,c)},N=()=>c==null?void 0:c.click();function R(U){ie[U?"unshift":"push"](()=>{d=U,t(8,d)})}const z=()=>{t(9,m=!0)},F=()=>{t(9,m=!1)};return n.$$set=U=>{"record"in U&&t(3,o=U.record),"field"in U&&t(4,r=U.field),"value"in U&&t(0,a=U.value),"uploadedFiles"in U&&t(1,u=U.uploadedFiles),"deletedFileNames"in U&&t(2,f=U.deletedFileNames)},n.$$.update=()=>{n.$$.dirty[0]&2&&(Array.isArray(u)||t(1,u=V.toArray(u))),n.$$.dirty[0]&4&&(Array.isArray(f)||t(2,f=V.toArray(f))),n.$$.dirty[0]&16&&t(6,i=r.maxSelect>1),n.$$.dirty[0]&65&&V.isEmpty(a)&&t(0,a=i?[]:""),n.$$.dirty[0]&1&&t(5,l=V.toArray(a)),n.$$.dirty[0]&54&&t(11,s=(l.length||u.length)&&r.maxSelect<=l.length+u.length-f.length),n.$$.dirty[0]&6&&(u!==-1||f!==-1)&&S()},[a,u,f,o,r,l,i,c,d,m,h,s,_,g,k,$,T,O,M,L,I,A,P,N,R,z,F]}class cA extends Se{constructor(e){super(),we(this,e,fA,uA,be,{record:3,field:4,value:0,uploadedFiles:1,deletedFileNames:2},null,[-1,-1])}}function dA(n){let e;return{c(){e=b("i"),p(e,"class","ri-error-warning-fill txt-danger")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function pA(n){let e;return{c(){e=b("i"),p(e,"class","ri-checkbox-circle-fill txt-success")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function mA(n){let e,t,i,l;function s(a,u){return a[4]?pA:dA}let o=s(n),r=o(n);return{c(){e=b("span"),r.c(),p(e,"class","json-state svelte-p6ecb8")},m(a,u){y(a,e,u),r.m(e,null),i||(l=Ee(t=He.call(null,e,{position:"left",text:n[4]?"Valid JSON":"Invalid JSON"})),i=!0)},p(a,u){o!==(o=s(a))&&(r.d(1),r=o(a),r&&(r.c(),r.m(e,null))),t&&It(t.update)&&u&16&&t.update.call(null,{position:"left",text:a[4]?"Valid JSON":"Invalid JSON"})},d(a){a&&v(e),r.d(),i=!1,l()}}}function hA(n){let e;return{c(){e=b("input"),p(e,"type","text"),p(e,"class","txt-mono"),e.value="Loading...",e.disabled=!0},m(t,i){y(t,e,i)},p:te,i:te,o:te,d(t){t&&v(e)}}}function _A(n){let e,t,i;var l=n[3];function s(o,r){return{props:{id:o[6],maxHeight:"500",language:"json",value:o[2]}}}return l&&(e=jt(l,s(n)),e.$on("change",n[5])),{c(){e&&j(e.$$.fragment),t=ye()},m(o,r){e&&q(e,o,r),y(o,t,r),i=!0},p(o,r){if(r&8&&l!==(l=o[3])){if(e){ae();const a=e;D(a.$$.fragment,1,0,()=>{H(a,1)}),ue()}l?(e=jt(l,s(o)),e.$on("change",o[5]),j(e.$$.fragment),E(e.$$.fragment,1),q(e,t.parentNode,t)):e=null}else if(l){const a={};r&64&&(a.id=o[6]),r&4&&(a.value=o[2]),e.$set(a)}},i(o){i||(e&&E(e.$$.fragment,o),i=!0)},o(o){e&&D(e.$$.fragment,o),i=!1},d(o){o&&v(t),e&&H(e,o)}}}function gA(n){let e,t,i,l,s,o;e=new ni({props:{uniqueId:n[6],field:n[1],$$slots:{default:[mA]},$$scope:{ctx:n}}});const r=[_A,hA],a=[];function u(f,c){return f[3]?0:1}return i=u(n),l=a[i]=r[i](n),{c(){j(e.$$.fragment),t=C(),l.c(),s=ye()},m(f,c){q(e,f,c),y(f,t,c),a[i].m(f,c),y(f,s,c),o=!0},p(f,c){const d={};c&64&&(d.uniqueId=f[6]),c&2&&(d.field=f[1]),c&144&&(d.$$scope={dirty:c,ctx:f}),e.$set(d);let m=i;i=u(f),i===m?a[i].p(f,c):(ae(),D(a[m],1,1,()=>{a[m]=null}),ue(),l=a[i],l?l.p(f,c):(l=a[i]=r[i](f),l.c()),E(l,1),l.m(s.parentNode,s))},i(f){o||(E(e.$$.fragment,f),E(l),o=!0)},o(f){D(e.$$.fragment,f),D(l),o=!1},d(f){f&&(v(t),v(s)),H(e,f),a[i].d(f)}}}function bA(n){let e,t;return e=new fe({props:{class:"form-field "+(n[1].required?"required":""),name:n[1].name,$$slots:{default:[gA,({uniqueId:i})=>({6:i}),({uniqueId:i})=>i?64:0]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,[l]){const s={};l&2&&(s.class="form-field "+(i[1].required?"required":"")),l&2&&(s.name=i[1].name),l&223&&(s.$$scope={dirty:l,ctx:i}),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function og(n){return typeof n=="string"&&dv(n)?n:JSON.stringify(typeof n>"u"?null:n,null,2)}function dv(n){try{return JSON.parse(n===""?null:n),!0}catch{}return!1}function kA(n,e,t){let i,{field:l}=e,{value:s=void 0}=e,o,r=og(s);Gt(async()=>{try{t(3,o=(await Tt(async()=>{const{default:u}=await import("./CodeEditor-DtaTPOng.js");return{default:u}},__vite__mapDeps([12,1]),import.meta.url)).default)}catch(u){console.warn(u)}});const a=u=>{t(2,r=u.detail),t(0,s=r.trim())};return n.$$set=u=>{"field"in u&&t(1,l=u.field),"value"in u&&t(0,s=u.value)},n.$$.update=()=>{n.$$.dirty&5&&s!==(r==null?void 0:r.trim())&&(t(2,r=og(s)),t(0,s=r)),n.$$.dirty&4&&t(4,i=dv(r))},[s,l,r,o,i,a]}class vA extends Se{constructor(e){super(),we(this,e,kA,bA,be,{field:1,value:0})}}function yA(n){let e,t,i,l,s,o,r,a,u,f;return e=new ni({props:{uniqueId:n[3],field:n[1]}}),{c(){j(e.$$.fragment),t=C(),i=b("input"),p(i,"type","number"),p(i,"id",l=n[3]),i.required=s=n[1].required,p(i,"min",o=n[1].min),p(i,"max",r=n[1].max),p(i,"step","any")},m(c,d){q(e,c,d),y(c,t,d),y(c,i,d),pe(i,n[0]),a=!0,u||(f=W(i,"input",n[2]),u=!0)},p(c,d){const m={};d&8&&(m.uniqueId=c[3]),d&2&&(m.field=c[1]),e.$set(m),(!a||d&8&&l!==(l=c[3]))&&p(i,"id",l),(!a||d&2&&s!==(s=c[1].required))&&(i.required=s),(!a||d&2&&o!==(o=c[1].min))&&p(i,"min",o),(!a||d&2&&r!==(r=c[1].max))&&p(i,"max",r),d&1&&gt(i.value)!==c[0]&&pe(i,c[0])},i(c){a||(E(e.$$.fragment,c),a=!0)},o(c){D(e.$$.fragment,c),a=!1},d(c){c&&(v(t),v(i)),H(e,c),u=!1,f()}}}function wA(n){let e,t;return e=new fe({props:{class:"form-field "+(n[1].required?"required":""),name:n[1].name,$$slots:{default:[yA,({uniqueId:i})=>({3:i}),({uniqueId:i})=>i?8:0]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,[l]){const s={};l&2&&(s.class="form-field "+(i[1].required?"required":"")),l&2&&(s.name=i[1].name),l&27&&(s.$$scope={dirty:l,ctx:i}),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function SA(n,e,t){let{field:i}=e,{value:l=void 0}=e;function s(){l=gt(this.value),t(0,l)}return n.$$set=o=>{"field"in o&&t(1,i=o.field),"value"in o&&t(0,l=o.value)},[l,i,s]}class TA extends Se{constructor(e){super(),we(this,e,SA,wA,be,{field:1,value:0})}}function $A(n){let e,t,i,l,s,o,r,a;return e=new ni({props:{uniqueId:n[3],field:n[1]}}),{c(){j(e.$$.fragment),t=C(),i=b("input"),p(i,"type","password"),p(i,"id",l=n[3]),p(i,"autocomplete","new-password"),i.required=s=n[1].required},m(u,f){q(e,u,f),y(u,t,f),y(u,i,f),pe(i,n[0]),o=!0,r||(a=W(i,"input",n[2]),r=!0)},p(u,f){const c={};f&8&&(c.uniqueId=u[3]),f&2&&(c.field=u[1]),e.$set(c),(!o||f&8&&l!==(l=u[3]))&&p(i,"id",l),(!o||f&2&&s!==(s=u[1].required))&&(i.required=s),f&1&&i.value!==u[0]&&pe(i,u[0])},i(u){o||(E(e.$$.fragment,u),o=!0)},o(u){D(e.$$.fragment,u),o=!1},d(u){u&&(v(t),v(i)),H(e,u),r=!1,a()}}}function CA(n){let e,t;return e=new fe({props:{class:"form-field "+(n[1].required?"required":""),name:n[1].name,$$slots:{default:[$A,({uniqueId:i})=>({3:i}),({uniqueId:i})=>i?8:0]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,[l]){const s={};l&2&&(s.class="form-field "+(i[1].required?"required":"")),l&2&&(s.name=i[1].name),l&27&&(s.$$scope={dirty:l,ctx:i}),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function OA(n,e,t){let{field:i}=e,{value:l=void 0}=e;function s(){l=this.value,t(0,l)}return n.$$set=o=>{"field"in o&&t(1,i=o.field),"value"in o&&t(0,l=o.value)},[l,i,s]}class EA extends Se{constructor(e){super(),we(this,e,OA,CA,be,{field:1,value:0})}}function rg(n){return typeof n=="function"?{threshold:100,callback:n}:n||{}}function MA(n,e){e=rg(e),e!=null&&e.callback&&e.callback();function t(i){if(!(e!=null&&e.callback))return;i.target.scrollHeight-i.target.clientHeight-i.target.scrollTop<=e.threshold&&e.callback()}return n.addEventListener("scroll",t),n.addEventListener("resize",t),{update(i){e=rg(i)},destroy(){n.removeEventListener("scroll",t),n.removeEventListener("resize",t)}}}function ag(n,e,t){const i=n.slice();return i[50]=e[t],i[52]=t,i}function ug(n,e,t){const i=n.slice();i[50]=e[t];const l=i[9](i[50]);return i[6]=l,i}function fg(n){let e,t,i;return{c(){e=b("button"),e.innerHTML='<div class="txt">New record</div>',p(e,"type","button"),p(e,"class","btn btn-pill btn-transparent btn-hint p-l-xs p-r-xs")},m(l,s){y(l,e,s),t||(i=W(e,"click",n[31]),t=!0)},p:te,d(l){l&&v(e),t=!1,i()}}}function cg(n){let e,t=!n[13]&&dg(n);return{c(){t&&t.c(),e=ye()},m(i,l){t&&t.m(i,l),y(i,e,l)},p(i,l){i[13]?t&&(t.d(1),t=null):t?t.p(i,l):(t=dg(i),t.c(),t.m(e.parentNode,e))},d(i){i&&v(e),t&&t.d(i)}}}function dg(n){var s;let e,t,i,l=((s=n[2])==null?void 0:s.length)&&pg(n);return{c(){e=b("div"),t=b("span"),t.textContent="No records found.",i=C(),l&&l.c(),p(t,"class","txt txt-hint"),p(e,"class","list-item")},m(o,r){y(o,e,r),w(e,t),w(e,i),l&&l.m(e,null)},p(o,r){var a;(a=o[2])!=null&&a.length?l?l.p(o,r):(l=pg(o),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},d(o){o&&v(e),l&&l.d()}}}function pg(n){let e,t,i;return{c(){e=b("button"),e.innerHTML='<span class="txt">Clear filters</span>',p(e,"type","button"),p(e,"class","btn btn-hint btn-sm")},m(l,s){y(l,e,s),t||(i=W(e,"click",n[35]),t=!0)},p:te,d(l){l&&v(e),t=!1,i()}}}function DA(n){let e;return{c(){e=b("i"),p(e,"class","ri-checkbox-blank-circle-line txt-disabled")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function IA(n){let e;return{c(){e=b("i"),p(e,"class","ri-checkbox-circle-fill txt-success")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function mg(n){let e,t,i,l;function s(){return n[32](n[50])}return{c(){e=b("div"),t=b("button"),t.innerHTML='<i class="ri-pencil-line"></i>',p(t,"type","button"),p(t,"class","btn btn-sm btn-circle btn-transparent btn-hint m-l-auto"),p(e,"class","actions nonintrusive")},m(o,r){y(o,e,r),w(e,t),i||(l=[Ee(He.call(null,t,"Edit")),W(t,"keydown",Cn(n[27])),W(t,"click",Cn(s))],i=!0)},p(o,r){n=o},d(o){o&&v(e),i=!1,Ie(l)}}}function hg(n,e){let t,i,l,s,o,r,a,u;function f(g,k){return g[6]?IA:DA}let c=f(e),d=c(e);s=new Ur({props:{record:e[50]}});let m=!e[11]&&mg(e);function h(){return e[33](e[50])}function _(...g){return e[34](e[50],...g)}return{key:n,first:null,c(){t=b("div"),d.c(),i=C(),l=b("div"),j(s.$$.fragment),o=C(),m&&m.c(),p(l,"class","content"),p(t,"tabindex","0"),p(t,"class","list-item handle"),ee(t,"selected",e[6]),ee(t,"disabled",!e[6]&&e[4]>1&&!e[10]),this.first=t},m(g,k){y(g,t,k),d.m(t,null),w(t,i),w(t,l),q(s,l,null),w(t,o),m&&m.m(t,null),r=!0,a||(u=[W(t,"click",h),W(t,"keydown",_)],a=!0)},p(g,k){e=g,c!==(c=f(e))&&(d.d(1),d=c(e),d&&(d.c(),d.m(t,i)));const S={};k[0]&256&&(S.record=e[50]),s.$set(S),e[11]?m&&(m.d(1),m=null):m?m.p(e,k):(m=mg(e),m.c(),m.m(t,null)),(!r||k[0]&768)&&ee(t,"selected",e[6]),(!r||k[0]&1808)&&ee(t,"disabled",!e[6]&&e[4]>1&&!e[10])},i(g){r||(E(s.$$.fragment,g),r=!0)},o(g){D(s.$$.fragment,g),r=!1},d(g){g&&v(t),d.d(),H(s),m&&m.d(),a=!1,Ie(u)}}}function _g(n){let e;return{c(){e=b("div"),e.innerHTML='<div class="block txt-center"><span class="loader loader-sm active"></span></div>',p(e,"class","list-item")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function gg(n){let e,t=n[6].length+"",i,l,s,o;return{c(){e=B("("),i=B(t),l=B(" of MAX "),s=B(n[4]),o=B(")")},m(r,a){y(r,e,a),y(r,i,a),y(r,l,a),y(r,s,a),y(r,o,a)},p(r,a){a[0]&64&&t!==(t=r[6].length+"")&&re(i,t),a[0]&16&&re(s,r[4])},d(r){r&&(v(e),v(i),v(l),v(s),v(o))}}}function LA(n){let e;return{c(){e=b("p"),e.textContent="No selected records.",p(e,"class","txt-hint")},m(t,i){y(t,e,i)},p:te,i:te,o:te,d(t){t&&v(e)}}}function AA(n){let e,t,i=ce(n[6]),l=[];for(let o=0;o<i.length;o+=1)l[o]=bg(ag(n,i,o));const s=o=>D(l[o],1,1,()=>{l[o]=null});return{c(){e=b("div");for(let o=0;o<l.length;o+=1)l[o].c();p(e,"class","selected-list svelte-1u8jhky")},m(o,r){y(o,e,r);for(let a=0;a<l.length;a+=1)l[a]&&l[a].m(e,null);t=!0},p(o,r){if(r[0]&65600|r[1]&12582912){i=ce(o[6]);let a;for(a=0;a<i.length;a+=1){const u=ag(o,i,a);l[a]?(l[a].p(u,r),E(l[a],1)):(l[a]=bg(u),l[a].c(),E(l[a],1),l[a].m(e,null))}for(ae(),a=i.length;a<l.length;a+=1)s(a);ue()}},i(o){if(!t){for(let r=0;r<i.length;r+=1)E(l[r]);t=!0}},o(o){l=l.filter(Boolean);for(let r=0;r<l.length;r+=1)D(l[r]);t=!1},d(o){o&&v(e),dt(l,o)}}}function PA(n){let e,t,i,l,s,o,r,a;t=new Ur({props:{record:n[50]}});function u(){return n[37](n[50])}return{c(){e=b("span"),j(t.$$.fragment),i=C(),l=b("button"),l.innerHTML='<i class="ri-close-line"></i>',s=C(),p(l,"type","button"),p(l,"title","Remove"),p(l,"class","btn btn-circle btn-transparent btn-hint btn-xs"),p(e,"class","label"),ee(e,"label-danger",n[53]),ee(e,"label-warning",n[54])},m(f,c){y(f,e,c),q(t,e,null),w(e,i),w(e,l),y(f,s,c),o=!0,r||(a=W(l,"click",u),r=!0)},p(f,c){n=f;const d={};c[0]&64&&(d.record=n[50]),t.$set(d),(!o||c[1]&4194304)&&ee(e,"label-danger",n[53]),(!o||c[1]&8388608)&&ee(e,"label-warning",n[54])},i(f){o||(E(t.$$.fragment,f),o=!0)},o(f){D(t.$$.fragment,f),o=!1},d(f){f&&(v(e),v(s)),H(t),r=!1,a()}}}function bg(n){let e,t,i;function l(o){n[38](o)}let s={index:n[52],$$slots:{default:[PA,({dragging:o,dragover:r})=>({53:o,54:r}),({dragging:o,dragover:r})=>[0,(o?4194304:0)|(r?8388608:0)]]},$$scope:{ctx:n}};return n[6]!==void 0&&(s.list=n[6]),e=new ho({props:s}),ie.push(()=>ge(e,"list",l)),{c(){j(e.$$.fragment)},m(o,r){q(e,o,r),i=!0},p(o,r){const a={};r[0]&64|r[1]&79691776&&(a.$$scope={dirty:r,ctx:o}),!t&&r[0]&64&&(t=!0,a.list=o[6],Te(()=>t=!1)),e.$set(a)},i(o){i||(E(e.$$.fragment,o),i=!0)},o(o){D(e.$$.fragment,o),i=!1},d(o){H(e,o)}}}function NA(n){let e,t,i,l,s,o=[],r=new Map,a,u,f,c,d,m,h,_,g,k,S,$;t=new Hr({props:{value:n[2],autocompleteCollection:n[5]}}),t.$on("submit",n[30]);let T=!n[11]&&fg(n),O=ce(n[8]);const M=z=>z[50].id;for(let z=0;z<O.length;z+=1){let F=ug(n,O,z),U=M(F);r.set(U,o[z]=hg(U,F))}let L=null;O.length||(L=cg(n));let I=n[13]&&_g(),A=n[4]>1&&gg(n);const P=[AA,LA],N=[];function R(z,F){return z[6].length?0:1}return h=R(n),_=N[h]=P[h](n),{c(){e=b("div"),j(t.$$.fragment),i=C(),T&&T.c(),l=C(),s=b("div");for(let z=0;z<o.length;z+=1)o[z].c();L&&L.c(),a=C(),I&&I.c(),f=C(),c=b("h5"),d=B(`Selected
+        `),r[0]&16&&(a.name=o[4].name),r[0]&268439039|r[1]&64&&(a.$$scope={dirty:r,ctx:o}),t.$set(a)},i(o){i||(E(t.$$.fragment,o),i=!0)},o(o){D(t.$$.fragment,o),i=!1},d(o){o&&v(e),H(t),l=!1,Ie(s)}}}function fA(n,e,t){let i,l,s,{record:o}=e,{field:r}=e,{value:a=""}=e,{uploadedFiles:u=[]}=e,{deletedFileNames:f=[]}=e,c,d,m=!1,h="";function _(U){V.removeByValue(f,U),t(2,f)}function g(U){V.pushUnique(f,U),t(2,f)}function k(U){V.isEmpty(u[U])||u.splice(U,1),t(1,u)}function S(){d==null||d.dispatchEvent(new CustomEvent("change",{detail:{value:a,uploadedFiles:u,deletedFileNames:f},bubbles:!0}))}function $(U){var K;U.preventDefault(),t(9,m=!1);const J=((K=U.dataTransfer)==null?void 0:K.files)||[];if(!(s||!J.length)){for(const Q of J){const X=l.length+u.length-f.length;if(r.maxSelect<=X)break;u.push(Q)}t(1,u)}}Gt(async()=>{t(10,h=await he.getSuperuserFileToken(o.collectionId))});const T=U=>_(U),O=U=>g(U);function M(U){a=U,t(0,a),t(6,i),t(4,r)}const L=U=>k(U);function I(U){u=U,t(1,u)}function A(U){ie[U?"unshift":"push"](()=>{c=U,t(7,c)})}const P=()=>{for(let U of c.files)u.push(U);t(1,u),t(7,c.value=null,c)},N=()=>c==null?void 0:c.click();function R(U){ie[U?"unshift":"push"](()=>{d=U,t(8,d)})}const z=()=>{t(9,m=!0)},F=()=>{t(9,m=!1)};return n.$$set=U=>{"record"in U&&t(3,o=U.record),"field"in U&&t(4,r=U.field),"value"in U&&t(0,a=U.value),"uploadedFiles"in U&&t(1,u=U.uploadedFiles),"deletedFileNames"in U&&t(2,f=U.deletedFileNames)},n.$$.update=()=>{n.$$.dirty[0]&2&&(Array.isArray(u)||t(1,u=V.toArray(u))),n.$$.dirty[0]&4&&(Array.isArray(f)||t(2,f=V.toArray(f))),n.$$.dirty[0]&16&&t(6,i=r.maxSelect>1),n.$$.dirty[0]&65&&V.isEmpty(a)&&t(0,a=i?[]:""),n.$$.dirty[0]&1&&t(5,l=V.toArray(a)),n.$$.dirty[0]&54&&t(11,s=(l.length||u.length)&&r.maxSelect<=l.length+u.length-f.length),n.$$.dirty[0]&6&&(u!==-1||f!==-1)&&S()},[a,u,f,o,r,l,i,c,d,m,h,s,_,g,k,$,T,O,M,L,I,A,P,N,R,z,F]}class cA extends Se{constructor(e){super(),we(this,e,fA,uA,be,{record:3,field:4,value:0,uploadedFiles:1,deletedFileNames:2},null,[-1,-1])}}function dA(n){let e;return{c(){e=b("i"),p(e,"class","ri-error-warning-fill txt-danger")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function pA(n){let e;return{c(){e=b("i"),p(e,"class","ri-checkbox-circle-fill txt-success")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function mA(n){let e,t,i,l;function s(a,u){return a[4]?pA:dA}let o=s(n),r=o(n);return{c(){e=b("span"),r.c(),p(e,"class","json-state svelte-p6ecb8")},m(a,u){y(a,e,u),r.m(e,null),i||(l=Ee(t=He.call(null,e,{position:"left",text:n[4]?"Valid JSON":"Invalid JSON"})),i=!0)},p(a,u){o!==(o=s(a))&&(r.d(1),r=o(a),r&&(r.c(),r.m(e,null))),t&&It(t.update)&&u&16&&t.update.call(null,{position:"left",text:a[4]?"Valid JSON":"Invalid JSON"})},d(a){a&&v(e),r.d(),i=!1,l()}}}function hA(n){let e;return{c(){e=b("input"),p(e,"type","text"),p(e,"class","txt-mono"),e.value="Loading...",e.disabled=!0},m(t,i){y(t,e,i)},p:te,i:te,o:te,d(t){t&&v(e)}}}function _A(n){let e,t,i;var l=n[3];function s(o,r){return{props:{id:o[6],maxHeight:"500",language:"json",value:o[2]}}}return l&&(e=jt(l,s(n)),e.$on("change",n[5])),{c(){e&&j(e.$$.fragment),t=ye()},m(o,r){e&&q(e,o,r),y(o,t,r),i=!0},p(o,r){if(r&8&&l!==(l=o[3])){if(e){ae();const a=e;D(a.$$.fragment,1,0,()=>{H(a,1)}),ue()}l?(e=jt(l,s(o)),e.$on("change",o[5]),j(e.$$.fragment),E(e.$$.fragment,1),q(e,t.parentNode,t)):e=null}else if(l){const a={};r&64&&(a.id=o[6]),r&4&&(a.value=o[2]),e.$set(a)}},i(o){i||(e&&E(e.$$.fragment,o),i=!0)},o(o){e&&D(e.$$.fragment,o),i=!1},d(o){o&&v(t),e&&H(e,o)}}}function gA(n){let e,t,i,l,s,o;e=new ni({props:{uniqueId:n[6],field:n[1],$$slots:{default:[mA]},$$scope:{ctx:n}}});const r=[_A,hA],a=[];function u(f,c){return f[3]?0:1}return i=u(n),l=a[i]=r[i](n),{c(){j(e.$$.fragment),t=C(),l.c(),s=ye()},m(f,c){q(e,f,c),y(f,t,c),a[i].m(f,c),y(f,s,c),o=!0},p(f,c){const d={};c&64&&(d.uniqueId=f[6]),c&2&&(d.field=f[1]),c&144&&(d.$$scope={dirty:c,ctx:f}),e.$set(d);let m=i;i=u(f),i===m?a[i].p(f,c):(ae(),D(a[m],1,1,()=>{a[m]=null}),ue(),l=a[i],l?l.p(f,c):(l=a[i]=r[i](f),l.c()),E(l,1),l.m(s.parentNode,s))},i(f){o||(E(e.$$.fragment,f),E(l),o=!0)},o(f){D(e.$$.fragment,f),D(l),o=!1},d(f){f&&(v(t),v(s)),H(e,f),a[i].d(f)}}}function bA(n){let e,t;return e=new fe({props:{class:"form-field "+(n[1].required?"required":""),name:n[1].name,$$slots:{default:[gA,({uniqueId:i})=>({6:i}),({uniqueId:i})=>i?64:0]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,[l]){const s={};l&2&&(s.class="form-field "+(i[1].required?"required":"")),l&2&&(s.name=i[1].name),l&223&&(s.$$scope={dirty:l,ctx:i}),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function og(n){return typeof n=="string"&&dv(n)?n:JSON.stringify(typeof n>"u"?null:n,null,2)}function dv(n){try{return JSON.parse(n===""?null:n),!0}catch{}return!1}function kA(n,e,t){let i,{field:l}=e,{value:s=void 0}=e,o,r=og(s);Gt(async()=>{try{t(3,o=(await Tt(async()=>{const{default:u}=await import("./CodeEditor-BdQDwUb4.js");return{default:u}},__vite__mapDeps([12,1]),import.meta.url)).default)}catch(u){console.warn(u)}});const a=u=>{t(2,r=u.detail),t(0,s=r.trim())};return n.$$set=u=>{"field"in u&&t(1,l=u.field),"value"in u&&t(0,s=u.value)},n.$$.update=()=>{n.$$.dirty&5&&s!==(r==null?void 0:r.trim())&&(t(2,r=og(s)),t(0,s=r)),n.$$.dirty&4&&t(4,i=dv(r))},[s,l,r,o,i,a]}class vA extends Se{constructor(e){super(),we(this,e,kA,bA,be,{field:1,value:0})}}function yA(n){let e,t,i,l,s,o,r,a,u,f;return e=new ni({props:{uniqueId:n[3],field:n[1]}}),{c(){j(e.$$.fragment),t=C(),i=b("input"),p(i,"type","number"),p(i,"id",l=n[3]),i.required=s=n[1].required,p(i,"min",o=n[1].min),p(i,"max",r=n[1].max),p(i,"step","any")},m(c,d){q(e,c,d),y(c,t,d),y(c,i,d),pe(i,n[0]),a=!0,u||(f=W(i,"input",n[2]),u=!0)},p(c,d){const m={};d&8&&(m.uniqueId=c[3]),d&2&&(m.field=c[1]),e.$set(m),(!a||d&8&&l!==(l=c[3]))&&p(i,"id",l),(!a||d&2&&s!==(s=c[1].required))&&(i.required=s),(!a||d&2&&o!==(o=c[1].min))&&p(i,"min",o),(!a||d&2&&r!==(r=c[1].max))&&p(i,"max",r),d&1&&gt(i.value)!==c[0]&&pe(i,c[0])},i(c){a||(E(e.$$.fragment,c),a=!0)},o(c){D(e.$$.fragment,c),a=!1},d(c){c&&(v(t),v(i)),H(e,c),u=!1,f()}}}function wA(n){let e,t;return e=new fe({props:{class:"form-field "+(n[1].required?"required":""),name:n[1].name,$$slots:{default:[yA,({uniqueId:i})=>({3:i}),({uniqueId:i})=>i?8:0]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,[l]){const s={};l&2&&(s.class="form-field "+(i[1].required?"required":"")),l&2&&(s.name=i[1].name),l&27&&(s.$$scope={dirty:l,ctx:i}),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function SA(n,e,t){let{field:i}=e,{value:l=void 0}=e;function s(){l=gt(this.value),t(0,l)}return n.$$set=o=>{"field"in o&&t(1,i=o.field),"value"in o&&t(0,l=o.value)},[l,i,s]}class TA extends Se{constructor(e){super(),we(this,e,SA,wA,be,{field:1,value:0})}}function $A(n){let e,t,i,l,s,o,r,a;return e=new ni({props:{uniqueId:n[3],field:n[1]}}),{c(){j(e.$$.fragment),t=C(),i=b("input"),p(i,"type","password"),p(i,"id",l=n[3]),p(i,"autocomplete","new-password"),i.required=s=n[1].required},m(u,f){q(e,u,f),y(u,t,f),y(u,i,f),pe(i,n[0]),o=!0,r||(a=W(i,"input",n[2]),r=!0)},p(u,f){const c={};f&8&&(c.uniqueId=u[3]),f&2&&(c.field=u[1]),e.$set(c),(!o||f&8&&l!==(l=u[3]))&&p(i,"id",l),(!o||f&2&&s!==(s=u[1].required))&&(i.required=s),f&1&&i.value!==u[0]&&pe(i,u[0])},i(u){o||(E(e.$$.fragment,u),o=!0)},o(u){D(e.$$.fragment,u),o=!1},d(u){u&&(v(t),v(i)),H(e,u),r=!1,a()}}}function CA(n){let e,t;return e=new fe({props:{class:"form-field "+(n[1].required?"required":""),name:n[1].name,$$slots:{default:[$A,({uniqueId:i})=>({3:i}),({uniqueId:i})=>i?8:0]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,[l]){const s={};l&2&&(s.class="form-field "+(i[1].required?"required":"")),l&2&&(s.name=i[1].name),l&27&&(s.$$scope={dirty:l,ctx:i}),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function OA(n,e,t){let{field:i}=e,{value:l=void 0}=e;function s(){l=this.value,t(0,l)}return n.$$set=o=>{"field"in o&&t(1,i=o.field),"value"in o&&t(0,l=o.value)},[l,i,s]}class EA extends Se{constructor(e){super(),we(this,e,OA,CA,be,{field:1,value:0})}}function rg(n){return typeof n=="function"?{threshold:100,callback:n}:n||{}}function MA(n,e){e=rg(e),e!=null&&e.callback&&e.callback();function t(i){if(!(e!=null&&e.callback))return;i.target.scrollHeight-i.target.clientHeight-i.target.scrollTop<=e.threshold&&e.callback()}return n.addEventListener("scroll",t),n.addEventListener("resize",t),{update(i){e=rg(i)},destroy(){n.removeEventListener("scroll",t),n.removeEventListener("resize",t)}}}function ag(n,e,t){const i=n.slice();return i[50]=e[t],i[52]=t,i}function ug(n,e,t){const i=n.slice();i[50]=e[t];const l=i[9](i[50]);return i[6]=l,i}function fg(n){let e,t,i;return{c(){e=b("button"),e.innerHTML='<div class="txt">New record</div>',p(e,"type","button"),p(e,"class","btn btn-pill btn-transparent btn-hint p-l-xs p-r-xs")},m(l,s){y(l,e,s),t||(i=W(e,"click",n[31]),t=!0)},p:te,d(l){l&&v(e),t=!1,i()}}}function cg(n){let e,t=!n[13]&&dg(n);return{c(){t&&t.c(),e=ye()},m(i,l){t&&t.m(i,l),y(i,e,l)},p(i,l){i[13]?t&&(t.d(1),t=null):t?t.p(i,l):(t=dg(i),t.c(),t.m(e.parentNode,e))},d(i){i&&v(e),t&&t.d(i)}}}function dg(n){var s;let e,t,i,l=((s=n[2])==null?void 0:s.length)&&pg(n);return{c(){e=b("div"),t=b("span"),t.textContent="No records found.",i=C(),l&&l.c(),p(t,"class","txt txt-hint"),p(e,"class","list-item")},m(o,r){y(o,e,r),w(e,t),w(e,i),l&&l.m(e,null)},p(o,r){var a;(a=o[2])!=null&&a.length?l?l.p(o,r):(l=pg(o),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},d(o){o&&v(e),l&&l.d()}}}function pg(n){let e,t,i;return{c(){e=b("button"),e.innerHTML='<span class="txt">Clear filters</span>',p(e,"type","button"),p(e,"class","btn btn-hint btn-sm")},m(l,s){y(l,e,s),t||(i=W(e,"click",n[35]),t=!0)},p:te,d(l){l&&v(e),t=!1,i()}}}function DA(n){let e;return{c(){e=b("i"),p(e,"class","ri-checkbox-blank-circle-line txt-disabled")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function IA(n){let e;return{c(){e=b("i"),p(e,"class","ri-checkbox-circle-fill txt-success")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function mg(n){let e,t,i,l;function s(){return n[32](n[50])}return{c(){e=b("div"),t=b("button"),t.innerHTML='<i class="ri-pencil-line"></i>',p(t,"type","button"),p(t,"class","btn btn-sm btn-circle btn-transparent btn-hint m-l-auto"),p(e,"class","actions nonintrusive")},m(o,r){y(o,e,r),w(e,t),i||(l=[Ee(He.call(null,t,"Edit")),W(t,"keydown",Cn(n[27])),W(t,"click",Cn(s))],i=!0)},p(o,r){n=o},d(o){o&&v(e),i=!1,Ie(l)}}}function hg(n,e){let t,i,l,s,o,r,a,u;function f(g,k){return g[6]?IA:DA}let c=f(e),d=c(e);s=new Ur({props:{record:e[50]}});let m=!e[11]&&mg(e);function h(){return e[33](e[50])}function _(...g){return e[34](e[50],...g)}return{key:n,first:null,c(){t=b("div"),d.c(),i=C(),l=b("div"),j(s.$$.fragment),o=C(),m&&m.c(),p(l,"class","content"),p(t,"tabindex","0"),p(t,"class","list-item handle"),ee(t,"selected",e[6]),ee(t,"disabled",!e[6]&&e[4]>1&&!e[10]),this.first=t},m(g,k){y(g,t,k),d.m(t,null),w(t,i),w(t,l),q(s,l,null),w(t,o),m&&m.m(t,null),r=!0,a||(u=[W(t,"click",h),W(t,"keydown",_)],a=!0)},p(g,k){e=g,c!==(c=f(e))&&(d.d(1),d=c(e),d&&(d.c(),d.m(t,i)));const S={};k[0]&256&&(S.record=e[50]),s.$set(S),e[11]?m&&(m.d(1),m=null):m?m.p(e,k):(m=mg(e),m.c(),m.m(t,null)),(!r||k[0]&768)&&ee(t,"selected",e[6]),(!r||k[0]&1808)&&ee(t,"disabled",!e[6]&&e[4]>1&&!e[10])},i(g){r||(E(s.$$.fragment,g),r=!0)},o(g){D(s.$$.fragment,g),r=!1},d(g){g&&v(t),d.d(),H(s),m&&m.d(),a=!1,Ie(u)}}}function _g(n){let e;return{c(){e=b("div"),e.innerHTML='<div class="block txt-center"><span class="loader loader-sm active"></span></div>',p(e,"class","list-item")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function gg(n){let e,t=n[6].length+"",i,l,s,o;return{c(){e=B("("),i=B(t),l=B(" of MAX "),s=B(n[4]),o=B(")")},m(r,a){y(r,e,a),y(r,i,a),y(r,l,a),y(r,s,a),y(r,o,a)},p(r,a){a[0]&64&&t!==(t=r[6].length+"")&&re(i,t),a[0]&16&&re(s,r[4])},d(r){r&&(v(e),v(i),v(l),v(s),v(o))}}}function LA(n){let e;return{c(){e=b("p"),e.textContent="No selected records.",p(e,"class","txt-hint")},m(t,i){y(t,e,i)},p:te,i:te,o:te,d(t){t&&v(e)}}}function AA(n){let e,t,i=ce(n[6]),l=[];for(let o=0;o<i.length;o+=1)l[o]=bg(ag(n,i,o));const s=o=>D(l[o],1,1,()=>{l[o]=null});return{c(){e=b("div");for(let o=0;o<l.length;o+=1)l[o].c();p(e,"class","selected-list svelte-1u8jhky")},m(o,r){y(o,e,r);for(let a=0;a<l.length;a+=1)l[a]&&l[a].m(e,null);t=!0},p(o,r){if(r[0]&65600|r[1]&12582912){i=ce(o[6]);let a;for(a=0;a<i.length;a+=1){const u=ag(o,i,a);l[a]?(l[a].p(u,r),E(l[a],1)):(l[a]=bg(u),l[a].c(),E(l[a],1),l[a].m(e,null))}for(ae(),a=i.length;a<l.length;a+=1)s(a);ue()}},i(o){if(!t){for(let r=0;r<i.length;r+=1)E(l[r]);t=!0}},o(o){l=l.filter(Boolean);for(let r=0;r<l.length;r+=1)D(l[r]);t=!1},d(o){o&&v(e),dt(l,o)}}}function PA(n){let e,t,i,l,s,o,r,a;t=new Ur({props:{record:n[50]}});function u(){return n[37](n[50])}return{c(){e=b("span"),j(t.$$.fragment),i=C(),l=b("button"),l.innerHTML='<i class="ri-close-line"></i>',s=C(),p(l,"type","button"),p(l,"title","Remove"),p(l,"class","btn btn-circle btn-transparent btn-hint btn-xs"),p(e,"class","label"),ee(e,"label-danger",n[53]),ee(e,"label-warning",n[54])},m(f,c){y(f,e,c),q(t,e,null),w(e,i),w(e,l),y(f,s,c),o=!0,r||(a=W(l,"click",u),r=!0)},p(f,c){n=f;const d={};c[0]&64&&(d.record=n[50]),t.$set(d),(!o||c[1]&4194304)&&ee(e,"label-danger",n[53]),(!o||c[1]&8388608)&&ee(e,"label-warning",n[54])},i(f){o||(E(t.$$.fragment,f),o=!0)},o(f){D(t.$$.fragment,f),o=!1},d(f){f&&(v(e),v(s)),H(t),r=!1,a()}}}function bg(n){let e,t,i;function l(o){n[38](o)}let s={index:n[52],$$slots:{default:[PA,({dragging:o,dragover:r})=>({53:o,54:r}),({dragging:o,dragover:r})=>[0,(o?4194304:0)|(r?8388608:0)]]},$$scope:{ctx:n}};return n[6]!==void 0&&(s.list=n[6]),e=new ho({props:s}),ie.push(()=>ge(e,"list",l)),{c(){j(e.$$.fragment)},m(o,r){q(e,o,r),i=!0},p(o,r){const a={};r[0]&64|r[1]&79691776&&(a.$$scope={dirty:r,ctx:o}),!t&&r[0]&64&&(t=!0,a.list=o[6],Te(()=>t=!1)),e.$set(a)},i(o){i||(E(e.$$.fragment,o),i=!0)},o(o){D(e.$$.fragment,o),i=!1},d(o){H(e,o)}}}function NA(n){let e,t,i,l,s,o=[],r=new Map,a,u,f,c,d,m,h,_,g,k,S,$;t=new Hr({props:{value:n[2],autocompleteCollection:n[5]}}),t.$on("submit",n[30]);let T=!n[11]&&fg(n),O=ce(n[8]);const M=z=>z[50].id;for(let z=0;z<O.length;z+=1){let F=ug(n,O,z),U=M(F);r.set(U,o[z]=hg(U,F))}let L=null;O.length||(L=cg(n));let I=n[13]&&_g(),A=n[4]>1&&gg(n);const P=[AA,LA],N=[];function R(z,F){return z[6].length?0:1}return h=R(n),_=N[h]=P[h](n),{c(){e=b("div"),j(t.$$.fragment),i=C(),T&&T.c(),l=C(),s=b("div");for(let z=0;z<o.length;z+=1)o[z].c();L&&L.c(),a=C(),I&&I.c(),f=C(),c=b("h5"),d=B(`Selected
         `),A&&A.c(),m=C(),_.c(),g=ye(),p(e,"class","flex m-b-base flex-gap-10"),p(s,"class","list picker-list m-b-base svelte-1u8jhky"),p(c,"class","section-title")},m(z,F){y(z,e,F),q(t,e,null),w(e,i),T&&T.m(e,null),y(z,l,F),y(z,s,F);for(let U=0;U<o.length;U+=1)o[U]&&o[U].m(s,null);L&&L.m(s,null),w(s,a),I&&I.m(s,null),y(z,f,F),y(z,c,F),w(c,d),A&&A.m(c,null),y(z,m,F),N[h].m(z,F),y(z,g,F),k=!0,S||($=Ee(u=MA.call(null,s,n[36])),S=!0)},p(z,F){const U={};F[0]&4&&(U.value=z[2]),F[0]&32&&(U.autocompleteCollection=z[5]),t.$set(U),z[11]?T&&(T.d(1),T=null):T?T.p(z,F):(T=fg(z),T.c(),T.m(e,null)),F[0]&143252&&(O=ce(z[8]),ae(),o=yt(o,F,M,1,z,O,r,s,Ut,hg,a,ug),ue(),!O.length&&L?L.p(z,F):O.length?L&&(L.d(1),L=null):(L=cg(z),L.c(),L.m(s,a))),z[13]?I||(I=_g(),I.c(),I.m(s,null)):I&&(I.d(1),I=null),u&&It(u.update)&&F[0]&4104&&u.update.call(null,z[36]),z[4]>1?A?A.p(z,F):(A=gg(z),A.c(),A.m(c,null)):A&&(A.d(1),A=null);let J=h;h=R(z),h===J?N[h].p(z,F):(ae(),D(N[J],1,1,()=>{N[J]=null}),ue(),_=N[h],_?_.p(z,F):(_=N[h]=P[h](z),_.c()),E(_,1),_.m(g.parentNode,g))},i(z){if(!k){E(t.$$.fragment,z);for(let F=0;F<O.length;F+=1)E(o[F]);E(_),k=!0}},o(z){D(t.$$.fragment,z);for(let F=0;F<o.length;F+=1)D(o[F]);D(_),k=!1},d(z){z&&(v(e),v(l),v(s),v(f),v(c),v(m),v(g)),H(t),T&&T.d();for(let F=0;F<o.length;F+=1)o[F].d();L&&L.d(),I&&I.d(),A&&A.d(),N[h].d(z),S=!1,$()}}}function RA(n){var r;let e,t,i,l=(((r=n[5])==null?void 0:r.name)||"")+"",s,o;return{c(){e=b("h4"),t=B("Select "),i=b("strong"),s=B(l),o=B(" records")},m(a,u){y(a,e,u),w(e,t),w(e,i),w(i,s),w(e,o)},p(a,u){var f;u[0]&32&&l!==(l=(((f=a[5])==null?void 0:f.name)||"")+"")&&re(s,l)},d(a){a&&v(e)}}}function FA(n){let e,t,i,l,s;return{c(){e=b("button"),e.innerHTML='<span class="txt">Cancel</span>',t=C(),i=b("button"),i.innerHTML='<span class="txt">Set selection</span>',p(e,"type","button"),p(e,"class","btn btn-transparent"),p(i,"type","button"),p(i,"class","btn")},m(o,r){y(o,e,r),y(o,t,r),y(o,i,r),l||(s=[W(e,"click",n[28]),W(i,"click",n[29])],l=!0)},p:te,d(o){o&&(v(e),v(t),v(i)),l=!1,Ie(s)}}}function qA(n){let e,t,i,l;const s=[{popup:!0},{class:"overlay-panel-xl"},n[19]];let o={$$slots:{footer:[FA],header:[RA],default:[NA]},$$scope:{ctx:n}};for(let a=0;a<s.length;a+=1)o=ze(o,s[a]);e=new Xt({props:o}),n[39](e),e.$on("hide",n[40]),e.$on("show",n[41]);let r={collection:n[5]};return i=new of({props:r}),n[42](i),i.$on("save",n[43]),i.$on("delete",n[44]),{c(){j(e.$$.fragment),t=C(),j(i.$$.fragment)},m(a,u){q(e,a,u),y(a,t,u),q(i,a,u),l=!0},p(a,u){const f=u[0]&524288?wt(s,[s[0],s[1],Rt(a[19])]):{};u[0]&16380|u[1]&67108864&&(f.$$scope={dirty:u,ctx:a}),e.$set(f);const c={};u[0]&32&&(c.collection=a[5]),i.$set(c)},i(a){l||(E(e.$$.fragment,a),E(i.$$.fragment,a),l=!0)},o(a){D(e.$$.fragment,a),D(i.$$.fragment,a),l=!1},d(a){a&&v(t),n[39](null),H(e,a),n[42](null),H(i,a)}}}const Zo=50;function HA(n,e,t){let i,l,s,o,r,a,u,f;const c=["value","field","show","hide"];let d=lt(e,c),m;Qe(n,On,Ce=>t(26,m=Ce));const h=kt(),_="picker_"+V.randomString(5);let{value:g}=e,{field:k}=e,S,$,T="",O=[],M=[],L=1,I=0,A=!1,P=!1;function N(){return t(2,T=""),t(8,O=[]),t(6,M=[]),F(),U(!0),S==null?void 0:S.show()}function R(){return S==null?void 0:S.hide()}function z(){var qt;let Ce="";const ut=(qt=s==null?void 0:s.fields)==null?void 0:qt.filter(Le=>!Le.hidden&&Le.presentable&&Le.type=="relation");for(const Le of ut){const rt=V.getExpandPresentableRelField(Le,m,2);rt&&(Ce!=""&&(Ce+=","),Ce+=rt)}return Ce}async function F(){const Ce=V.toArray(g);if(!l||!Ce.length)return;t(24,P=!0);let ut=[];const qt=Ce.slice(),Le=[];for(;qt.length>0;){const rt=[];for(const sn of qt.splice(0,Zo))rt.push(`id="${sn}"`);Le.push(he.collection(l).getFullList({batch:Zo,filter:rt.join("||"),fields:"*:excerpt(200)",expand:z(),requestKey:null}))}try{await Promise.all(Le).then(rt=>{ut=ut.concat(...rt)}),t(6,M=[]);for(const rt of Ce){const sn=V.findByKey(ut,"id",rt);sn&&M.push(sn)}T.trim()||t(8,O=V.filterDuplicatesByKey(M.concat(O))),t(24,P=!1)}catch(rt){rt.isAbort||(he.error(rt),t(24,P=!1))}}async function U(Ce=!1){if(l){t(3,A=!0),Ce&&(T.trim()?t(8,O=[]):t(8,O=V.toArray(M).slice()));try{const ut=Ce?1:L+1,qt=V.getAllCollectionIdentifiers(s);let Le="";o||(Le="-@rowid");const rt=await he.collection(l).getList(ut,Zo,{filter:V.normalizeSearchFilter(T,qt),sort:Le,fields:"*:excerpt(200)",skipTotal:1,expand:z(),requestKey:_+"loadList"});t(8,O=V.filterDuplicatesByKey(O.concat(rt.items))),L=rt.page,t(23,I=rt.items.length),t(3,A=!1)}catch(ut){ut.isAbort||(he.error(ut),t(3,A=!1))}}}function J(Ce){i==1?t(6,M=[Ce]):u&&(V.pushOrReplaceByKey(M,Ce),t(6,M))}function K(Ce){V.removeByKey(M,"id",Ce.id),t(6,M)}function Q(Ce){f(Ce)?K(Ce):J(Ce)}function X(){var Ce;i!=1?t(20,g=M.map(ut=>ut.id)):t(20,g=((Ce=M==null?void 0:M[0])==null?void 0:Ce.id)||""),h("save",M),R()}function oe(Ce){Ne.call(this,n,Ce)}const ke=()=>R(),me=()=>X(),$e=Ce=>t(2,T=Ce.detail),We=()=>$==null?void 0:$.show(),nt=Ce=>$==null?void 0:$.show(Ce.id),st=Ce=>Q(Ce),Be=(Ce,ut)=>{(ut.code==="Enter"||ut.code==="Space")&&(ut.preventDefault(),ut.stopPropagation(),Q(Ce))},xe=()=>t(2,T=""),Ze=()=>{a&&!A&&U()},at=Ce=>K(Ce);function Ht(Ce){M=Ce,t(6,M)}function Ve(Ce){ie[Ce?"unshift":"push"](()=>{S=Ce,t(1,S)})}function Me(Ce){Ne.call(this,n,Ce)}function ot(Ce){Ne.call(this,n,Ce)}function De(Ce){ie[Ce?"unshift":"push"](()=>{$=Ce,t(7,$)})}const Ye=Ce=>{V.removeByKey(O,"id",Ce.detail.record.id),O.unshift(Ce.detail.record),t(8,O),J(Ce.detail.record)},ve=Ce=>{V.removeByKey(O,"id",Ce.detail.id),t(8,O),K(Ce.detail)};return n.$$set=Ce=>{e=ze(ze({},e),Vt(Ce)),t(19,d=lt(e,c)),"value"in Ce&&t(20,g=Ce.value),"field"in Ce&&t(21,k=Ce.field)},n.$$.update=()=>{n.$$.dirty[0]&2097152&&t(4,i=(k==null?void 0:k.maxSelect)||null),n.$$.dirty[0]&2097152&&t(25,l=k==null?void 0:k.collectionId),n.$$.dirty[0]&100663296&&t(5,s=m.find(Ce=>Ce.id==l)||null),n.$$.dirty[0]&6&&typeof T<"u"&&S!=null&&S.isActive()&&U(!0),n.$$.dirty[0]&32&&t(11,o=(s==null?void 0:s.type)==="view"),n.$$.dirty[0]&16777224&&t(13,r=A||P),n.$$.dirty[0]&8388608&&t(12,a=I==Zo),n.$$.dirty[0]&80&&t(10,u=i<=0||i>M.length),n.$$.dirty[0]&64&&t(9,f=function(Ce){return V.findByKey(M,"id",Ce.id)})},[R,S,T,A,i,s,M,$,O,f,u,o,a,r,U,J,K,Q,X,d,g,k,N,I,P,l,m,oe,ke,me,$e,We,nt,st,Be,xe,Ze,at,Ht,Ve,Me,ot,De,Ye,ve]}class jA extends Se{constructor(e){super(),we(this,e,HA,qA,be,{value:20,field:21,show:22,hide:0},null,[-1,-1])}get show(){return this.$$.ctx[22]}get hide(){return this.$$.ctx[0]}}function kg(n,e,t){const i=n.slice();return i[22]=e[t],i[24]=t,i}function vg(n,e,t){const i=n.slice();return i[27]=e[t],i}function yg(n){let e,t,i,l;return{c(){e=b("i"),p(e,"class","ri-error-warning-line link-hint m-l-auto flex-order-10")},m(s,o){y(s,e,o),i||(l=Ee(t=He.call(null,e,{position:"left",text:"The following relation ids were removed from the list because they are missing or invalid: "+n[6].join(", ")})),i=!0)},p(s,o){t&&It(t.update)&&o&64&&t.update.call(null,{position:"left",text:"The following relation ids were removed from the list because they are missing or invalid: "+s[6].join(", ")})},d(s){s&&v(e),i=!1,l()}}}function zA(n){let e,t=n[6].length&&yg(n);return{c(){t&&t.c(),e=ye()},m(i,l){t&&t.m(i,l),y(i,e,l)},p(i,l){i[6].length?t?t.p(i,l):(t=yg(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(i){i&&v(e),t&&t.d(i)}}}function wg(n){let e,t=n[5]&&Sg(n);return{c(){t&&t.c(),e=ye()},m(i,l){t&&t.m(i,l),y(i,e,l)},p(i,l){i[5]?t?t.p(i,l):(t=Sg(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(i){i&&v(e),t&&t.d(i)}}}function Sg(n){let e,t=ce(V.toArray(n[0]).slice(0,10)),i=[];for(let l=0;l<t.length;l+=1)i[l]=Tg(vg(n,t,l));return{c(){for(let l=0;l<i.length;l+=1)i[l].c();e=ye()},m(l,s){for(let o=0;o<i.length;o+=1)i[o]&&i[o].m(l,s);y(l,e,s)},p(l,s){if(s&1){t=ce(V.toArray(l[0]).slice(0,10));let o;for(o=0;o<t.length;o+=1){const r=vg(l,t,o);i[o]?i[o].p(r,s):(i[o]=Tg(),i[o].c(),i[o].m(e.parentNode,e))}for(;o<i.length;o+=1)i[o].d(1);i.length=t.length}},d(l){l&&v(e),dt(i,l)}}}function Tg(n){let e;return{c(){e=b("div"),e.innerHTML='<div class="skeleton-loader"></div> ',p(e,"class","list-item")},m(t,i){y(t,e,i)},p:te,d(t){t&&v(e)}}}function UA(n){let e,t,i,l,s,o,r,a,u,f;i=new Ur({props:{record:n[22]}});function c(){return n[11](n[22])}return{c(){e=b("div"),t=b("div"),j(i.$$.fragment),l=C(),s=b("div"),o=b("button"),o.innerHTML='<i class="ri-close-line"></i>',r=C(),p(t,"class","content"),p(o,"type","button"),p(o,"class","btn btn-transparent btn-hint btn-sm btn-circle btn-remove"),p(s,"class","actions"),p(e,"class","list-item"),ee(e,"dragging",n[25]),ee(e,"dragover",n[26])},m(d,m){y(d,e,m),w(e,t),q(i,t,null),w(e,l),w(e,s),w(s,o),y(d,r,m),a=!0,u||(f=[Ee(He.call(null,o,"Remove")),W(o,"click",c)],u=!0)},p(d,m){n=d;const h={};m&16&&(h.record=n[22]),i.$set(h),(!a||m&33554432)&&ee(e,"dragging",n[25]),(!a||m&67108864)&&ee(e,"dragover",n[26])},i(d){a||(E(i.$$.fragment,d),a=!0)},o(d){D(i.$$.fragment,d),a=!1},d(d){d&&(v(e),v(r)),H(i),u=!1,Ie(f)}}}function $g(n,e){let t,i,l,s;function o(a){e[12](a)}let r={group:e[2].name+"_relation",index:e[24],disabled:!e[7],$$slots:{default:[UA,({dragging:a,dragover:u})=>({25:a,26:u}),({dragging:a,dragover:u})=>(a?33554432:0)|(u?67108864:0)]},$$scope:{ctx:e}};return e[4]!==void 0&&(r.list=e[4]),i=new ho({props:r}),ie.push(()=>ge(i,"list",o)),i.$on("sort",e[13]),{key:n,first:null,c(){t=ye(),j(i.$$.fragment),this.first=t},m(a,u){y(a,t,u),q(i,a,u),s=!0},p(a,u){e=a;const f={};u&4&&(f.group=e[2].name+"_relation"),u&16&&(f.index=e[24]),u&128&&(f.disabled=!e[7]),u&1174405136&&(f.$$scope={dirty:u,ctx:e}),!l&&u&16&&(l=!0,f.list=e[4],Te(()=>l=!1)),i.$set(f)},i(a){s||(E(i.$$.fragment,a),s=!0)},o(a){D(i.$$.fragment,a),s=!1},d(a){a&&v(t),H(i,a)}}}function VA(n){let e,t,i,l,s=[],o=new Map,r,a,u,f,c,d;e=new ni({props:{uniqueId:n[21],field:n[2],$$slots:{default:[zA]},$$scope:{ctx:n}}});let m=ce(n[4]);const h=g=>g[22].id;for(let g=0;g<m.length;g+=1){let k=kg(n,m,g),S=h(k);o.set(S,s[g]=$g(S,k))}let _=null;return m.length||(_=wg(n)),{c(){j(e.$$.fragment),t=C(),i=b("div"),l=b("div");for(let g=0;g<s.length;g+=1)s[g].c();_&&_.c(),r=C(),a=b("div"),u=b("button"),u.innerHTML='<i class="ri-magic-line"></i> <span class="txt">Open picker</span>',p(l,"class","relations-list svelte-1ynw0pc"),p(u,"type","button"),p(u,"class","btn btn-transparent btn-sm btn-block"),p(a,"class","list-item list-item-btn"),p(i,"class","list")},m(g,k){q(e,g,k),y(g,t,k),y(g,i,k),w(i,l);for(let S=0;S<s.length;S+=1)s[S]&&s[S].m(l,null);_&&_.m(l,null),w(i,r),w(i,a),w(a,u),f=!0,c||(d=W(u,"click",n[14]),c=!0)},p(g,k){const S={};k&2097152&&(S.uniqueId=g[21]),k&4&&(S.field=g[2]),k&1073741888&&(S.$$scope={dirty:k,ctx:g}),e.$set(S),k&100664245&&(m=ce(g[4]),ae(),s=yt(s,k,h,1,g,m,o,l,Ut,$g,null,kg),ue(),!m.length&&_?_.p(g,k):m.length?_&&(_.d(1),_=null):(_=wg(g),_.c(),_.m(l,null)))},i(g){if(!f){E(e.$$.fragment,g);for(let k=0;k<m.length;k+=1)E(s[k]);f=!0}},o(g){D(e.$$.fragment,g);for(let k=0;k<s.length;k+=1)D(s[k]);f=!1},d(g){g&&(v(t),v(i)),H(e,g);for(let k=0;k<s.length;k+=1)s[k].d();_&&_.d(),c=!1,d()}}}function BA(n){let e,t,i,l,s={class:"form-field form-field-list "+(n[2].required?"required":""),name:n[2].name,$$slots:{default:[VA,({uniqueId:r})=>({21:r}),({uniqueId:r})=>r?2097152:0]},$$scope:{ctx:n}};e=new fe({props:s}),n[15](e);let o={value:n[0],field:n[2]};return i=new jA({props:o}),n[16](i),i.$on("save",n[17]),{c(){j(e.$$.fragment),t=C(),j(i.$$.fragment)},m(r,a){q(e,r,a),y(r,t,a),q(i,r,a),l=!0},p(r,[a]){const u={};a&4&&(u.class="form-field form-field-list "+(r[2].required?"required":"")),a&4&&(u.name=r[2].name),a&1075839223&&(u.$$scope={dirty:a,ctx:r}),e.$set(u);const f={};a&1&&(f.value=r[0]),a&4&&(f.field=r[2]),i.$set(f)},i(r){l||(E(e.$$.fragment,r),E(i.$$.fragment,r),l=!0)},o(r){D(e.$$.fragment,r),D(i.$$.fragment,r),l=!1},d(r){r&&v(t),n[15](null),H(e,r),n[16](null),H(i,r)}}}const Cg=100;function WA(n,e,t){let i,l;Qe(n,On,I=>t(18,l=I));let{field:s}=e,{value:o}=e,{picker:r}=e,a,u=[],f=!1,c,d=[];function m(){if(f)return!1;const I=V.toArray(o);return t(4,u=u.filter(A=>I.includes(A.id))),I.length!=u.length}async function h(){var z,F;const I=V.toArray(o);if(t(4,u=[]),t(6,d=[]),!(s!=null&&s.collectionId)||!I.length){t(5,f=!1);return}t(5,f=!0);let A="";const P=(F=(z=l.find(U=>U.id==s.collectionId))==null?void 0:z.fields)==null?void 0:F.filter(U=>!U.hidden&&U.presentable&&U.type=="relation");for(const U of P){const J=V.getExpandPresentableRelField(U,l,2);J&&(A!=""&&(A+=","),A+=J)}const N=I.slice(),R=[];for(;N.length>0;){const U=[];for(const J of N.splice(0,Cg))U.push(`id="${J}"`);R.push(he.collection(s.collectionId).getFullList(Cg,{filter:U.join("||"),fields:"*:excerpt(200)",expand:A,requestKey:null}))}try{let U=[];await Promise.all(R).then(J=>{U=U.concat(...J)});for(const J of I){const K=V.findByKey(U,"id",J);K?u.push(K):d.push(J)}t(4,u),g()}catch(U){he.error(U)}t(5,f=!1)}function _(I){V.removeByKey(u,"id",I.id),t(4,u),g()}function g(){var I;i?t(0,o=u.map(A=>A.id)):t(0,o=((I=u[0])==null?void 0:I.id)||"")}so(()=>{clearTimeout(c)});const k=I=>_(I);function S(I){u=I,t(4,u)}const $=()=>{g()},T=()=>r==null?void 0:r.show();function O(I){ie[I?"unshift":"push"](()=>{a=I,t(3,a)})}function M(I){ie[I?"unshift":"push"](()=>{r=I,t(1,r)})}const L=I=>{var A;t(4,u=I.detail||[]),t(0,o=i?u.map(P=>P.id):((A=u[0])==null?void 0:A.id)||"")};return n.$$set=I=>{"field"in I&&t(2,s=I.field),"value"in I&&t(0,o=I.value),"picker"in I&&t(1,r=I.picker)},n.$$.update=()=>{n.$$.dirty&4&&t(7,i=s.maxSelect>1),n.$$.dirty&9&&typeof o<"u"&&(a==null||a.changed()),n.$$.dirty&1041&&m()&&(t(5,f=!0),clearTimeout(c),t(10,c=setTimeout(h,0)))},[o,r,s,a,u,f,d,i,_,g,c,k,S,$,T,O,M,L]}class YA extends Se{constructor(e){super(),we(this,e,WA,BA,be,{field:2,value:0,picker:1})}}function Og(n){let e,t,i,l;return{c(){e=b("div"),t=B("Select up to "),i=B(n[2]),l=B(" items."),p(e,"class","help-block")},m(s,o){y(s,e,o),w(e,t),w(e,i),w(e,l)},p(s,o){o&4&&re(i,s[2])},d(s){s&&v(e)}}}function KA(n){var c,d;let e,t,i,l,s,o,r;e=new ni({props:{uniqueId:n[5],field:n[1]}});function a(m){n[4](m)}let u={id:n[5],toggle:!n[1].required||n[3],multiple:n[3],closable:!n[3]||((c=n[0])==null?void 0:c.length)>=n[1].maxSelect,items:n[1].values,searchable:((d=n[1].values)==null?void 0:d.length)>5};n[0]!==void 0&&(u.selected=n[0]),i=new cs({props:u}),ie.push(()=>ge(i,"selected",a));let f=n[3]&&Og(n);return{c(){j(e.$$.fragment),t=C(),j(i.$$.fragment),s=C(),f&&f.c(),o=ye()},m(m,h){q(e,m,h),y(m,t,h),q(i,m,h),y(m,s,h),f&&f.m(m,h),y(m,o,h),r=!0},p(m,h){var k,S;const _={};h&32&&(_.uniqueId=m[5]),h&2&&(_.field=m[1]),e.$set(_);const g={};h&32&&(g.id=m[5]),h&10&&(g.toggle=!m[1].required||m[3]),h&8&&(g.multiple=m[3]),h&11&&(g.closable=!m[3]||((k=m[0])==null?void 0:k.length)>=m[1].maxSelect),h&2&&(g.items=m[1].values),h&2&&(g.searchable=((S=m[1].values)==null?void 0:S.length)>5),!l&&h&1&&(l=!0,g.selected=m[0],Te(()=>l=!1)),i.$set(g),m[3]?f?f.p(m,h):(f=Og(m),f.c(),f.m(o.parentNode,o)):f&&(f.d(1),f=null)},i(m){r||(E(e.$$.fragment,m),E(i.$$.fragment,m),r=!0)},o(m){D(e.$$.fragment,m),D(i.$$.fragment,m),r=!1},d(m){m&&(v(t),v(s),v(o)),H(e,m),H(i,m),f&&f.d(m)}}}function JA(n){let e,t;return e=new fe({props:{class:"form-field "+(n[1].required?"required":""),name:n[1].name,$$slots:{default:[KA,({uniqueId:i})=>({5:i}),({uniqueId:i})=>i?32:0]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,[l]){const s={};l&2&&(s.class="form-field "+(i[1].required?"required":"")),l&2&&(s.name=i[1].name),l&111&&(s.$$scope={dirty:l,ctx:i}),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function ZA(n,e,t){let i,l,{field:s}=e,{value:o=void 0}=e;function r(a){o=a,t(0,o),t(3,i),t(1,s),t(2,l)}return n.$$set=a=>{"field"in a&&t(1,s=a.field),"value"in a&&t(0,o=a.value)},n.$$.update=()=>{n.$$.dirty&2&&t(3,i=s.maxSelect>1),n.$$.dirty&9&&typeof o>"u"&&t(0,o=i?[]:""),n.$$.dirty&2&&t(2,l=s.maxSelect||s.values.length),n.$$.dirty&15&&i&&Array.isArray(o)&&(t(0,o=o.filter(a=>s.values.includes(a))),o.length>l&&t(0,o=o.slice(o.length-l)))},[o,s,l,i,r]}class GA extends Se{constructor(e){super(),we(this,e,ZA,JA,be,{field:1,value:0})}}function XA(n){let e,t,i,l=[n[3]],s={};for(let o=0;o<l.length;o+=1)s=ze(s,l[o]);return{c(){e=b("textarea"),xn(e,s),ee(e,"svelte-1x1pbts",!0)},m(o,r){y(o,e,r),e.autofocus&&e.focus(),n[5](e),pe(e,n[0]),t||(i=[W(e,"input",n[6]),W(e,"keydown",n[2])],t=!0)},p(o,[r]){xn(e,s=wt(l,[r&8&&o[3]])),r&1&&pe(e,o[0]),ee(e,"svelte-1x1pbts",!0)},i:te,o:te,d(o){o&&v(e),n[5](null),t=!1,Ie(i)}}}function QA(n,e,t){const i=["value","maxHeight"];let l=lt(e,i),{value:s=""}=e,{maxHeight:o=200}=e,r,a;function u(){clearTimeout(a),a=setTimeout(()=>{r&&(t(1,r.style.height="",r),t(1,r.style.height=Math.min(r.scrollHeight,o)+"px",r))},0)}function f(m){if((m==null?void 0:m.code)==="Enter"&&!(m!=null&&m.shiftKey)&&!(m!=null&&m.isComposing)){m.preventDefault();const h=r.closest("form");h!=null&&h.requestSubmit&&h.requestSubmit()}}Gt(()=>(u(),()=>clearTimeout(a)));function c(m){ie[m?"unshift":"push"](()=>{r=m,t(1,r)})}function d(){s=this.value,t(0,s)}return n.$$set=m=>{e=ze(ze({},e),Vt(m)),t(3,l=lt(e,i)),"value"in m&&t(0,s=m.value),"maxHeight"in m&&t(4,o=m.maxHeight)},n.$$.update=()=>{n.$$.dirty&1&&typeof s!==void 0&&u()},[s,r,f,l,o,c,d]}class xA extends Se{constructor(e){super(),we(this,e,QA,XA,be,{value:0,maxHeight:4})}}function eP(n){let e,t,i,l,s;e=new ni({props:{uniqueId:n[6],field:n[1]}});function o(a){n[5](a)}let r={id:n[6],required:n[3],placeholder:n[2]?"Leave empty to autogenerate...":""};return n[0]!==void 0&&(r.value=n[0]),i=new xA({props:r}),ie.push(()=>ge(i,"value",o)),{c(){j(e.$$.fragment),t=C(),j(i.$$.fragment)},m(a,u){q(e,a,u),y(a,t,u),q(i,a,u),s=!0},p(a,u){const f={};u&64&&(f.uniqueId=a[6]),u&2&&(f.field=a[1]),e.$set(f);const c={};u&64&&(c.id=a[6]),u&8&&(c.required=a[3]),u&4&&(c.placeholder=a[2]?"Leave empty to autogenerate...":""),!l&&u&1&&(l=!0,c.value=a[0],Te(()=>l=!1)),i.$set(c)},i(a){s||(E(e.$$.fragment,a),E(i.$$.fragment,a),s=!0)},o(a){D(e.$$.fragment,a),D(i.$$.fragment,a),s=!1},d(a){a&&v(t),H(e,a),H(i,a)}}}function tP(n){let e,t;return e=new fe({props:{class:"form-field "+(n[3]?"required":""),name:n[1].name,$$slots:{default:[eP,({uniqueId:i})=>({6:i}),({uniqueId:i})=>i?64:0]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,[l]){const s={};l&8&&(s.class="form-field "+(i[3]?"required":"")),l&2&&(s.name=i[1].name),l&207&&(s.$$scope={dirty:l,ctx:i}),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function nP(n,e,t){let i,l,{original:s}=e,{field:o}=e,{value:r=void 0}=e;function a(u){r=u,t(0,r)}return n.$$set=u=>{"original"in u&&t(4,s=u.original),"field"in u&&t(1,o=u.field),"value"in u&&t(0,r=u.value)},n.$$.update=()=>{n.$$.dirty&18&&t(2,i=!V.isEmpty(o.autogeneratePattern)&&!(s!=null&&s.id)),n.$$.dirty&6&&t(3,l=o.required&&!i)},[r,o,i,l,s,a]}class iP extends Se{constructor(e){super(),we(this,e,nP,tP,be,{original:4,field:1,value:0})}}function lP(n){let e,t,i,l,s,o,r,a;return e=new ni({props:{uniqueId:n[3],field:n[1]}}),{c(){j(e.$$.fragment),t=C(),i=b("input"),p(i,"type","url"),p(i,"id",l=n[3]),i.required=s=n[1].required},m(u,f){q(e,u,f),y(u,t,f),y(u,i,f),pe(i,n[0]),o=!0,r||(a=W(i,"input",n[2]),r=!0)},p(u,f){const c={};f&8&&(c.uniqueId=u[3]),f&2&&(c.field=u[1]),e.$set(c),(!o||f&8&&l!==(l=u[3]))&&p(i,"id",l),(!o||f&2&&s!==(s=u[1].required))&&(i.required=s),f&1&&i.value!==u[0]&&pe(i,u[0])},i(u){o||(E(e.$$.fragment,u),o=!0)},o(u){D(e.$$.fragment,u),o=!1},d(u){u&&(v(t),v(i)),H(e,u),r=!1,a()}}}function sP(n){let e,t;return e=new fe({props:{class:"form-field "+(n[1].required?"required":""),name:n[1].name,$$slots:{default:[lP,({uniqueId:i})=>({3:i}),({uniqueId:i})=>i?8:0]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,[l]){const s={};l&2&&(s.class="form-field "+(i[1].required?"required":"")),l&2&&(s.name=i[1].name),l&27&&(s.$$scope={dirty:l,ctx:i}),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function oP(n,e,t){let{field:i}=e,{value:l=void 0}=e;function s(){l=this.value,t(0,l)}return n.$$set=o=>{"field"in o&&t(1,i=o.field),"value"in o&&t(0,l=o.value)},[l,i,s]}class rP extends Se{constructor(e){super(),we(this,e,oP,sP,be,{field:1,value:0})}}function Eg(n,e,t){const i=n.slice();return i[6]=e[t],i}function Mg(n,e,t){const i=n.slice();return i[6]=e[t],i}function Dg(n,e){let t,i,l=e[6].title+"",s,o,r,a;function u(){return e[5](e[6])}return{key:n,first:null,c(){t=b("button"),i=b("div"),s=B(l),o=C(),p(i,"class","txt"),p(t,"class","tab-item svelte-1maocj6"),ee(t,"active",e[1]===e[6].language),this.first=t},m(f,c){y(f,t,c),w(t,i),w(i,s),w(t,o),r||(a=W(t,"click",u),r=!0)},p(f,c){e=f,c&4&&l!==(l=e[6].title+"")&&re(s,l),c&6&&ee(t,"active",e[1]===e[6].language)},d(f){f&&v(t),r=!1,a()}}}function Ig(n,e){let t,i,l,s,o,r,a=e[6].title+"",u,f,c,d,m;return i=new Xu({props:{language:e[6].language,content:e[6].content}}),{key:n,first:null,c(){t=b("div"),j(i.$$.fragment),l=C(),s=b("div"),o=b("em"),r=b("a"),u=B(a),f=B(" SDK"),d=C(),p(r,"href",c=e[6].url),p(r,"target","_blank"),p(r,"rel","noopener noreferrer"),p(o,"class","txt-sm txt-hint"),p(s,"class","txt-right"),p(t,"class","tab-item svelte-1maocj6"),ee(t,"active",e[1]===e[6].language),this.first=t},m(h,_){y(h,t,_),q(i,t,null),w(t,l),w(t,s),w(s,o),w(o,r),w(r,u),w(r,f),w(t,d),m=!0},p(h,_){e=h;const g={};_&4&&(g.language=e[6].language),_&4&&(g.content=e[6].content),i.$set(g),(!m||_&4)&&a!==(a=e[6].title+"")&&re(u,a),(!m||_&4&&c!==(c=e[6].url))&&p(r,"href",c),(!m||_&6)&&ee(t,"active",e[1]===e[6].language)},i(h){m||(E(i.$$.fragment,h),m=!0)},o(h){D(i.$$.fragment,h),m=!1},d(h){h&&v(t),H(i)}}}function aP(n){let e,t,i=[],l=new Map,s,o,r=[],a=new Map,u,f,c=ce(n[2]);const d=_=>_[6].language;for(let _=0;_<c.length;_+=1){let g=Mg(n,c,_),k=d(g);l.set(k,i[_]=Dg(k,g))}let m=ce(n[2]);const h=_=>_[6].language;for(let _=0;_<m.length;_+=1){let g=Eg(n,m,_),k=h(g);a.set(k,r[_]=Ig(k,g))}return{c(){e=b("div"),t=b("div");for(let _=0;_<i.length;_+=1)i[_].c();s=C(),o=b("div");for(let _=0;_<r.length;_+=1)r[_].c();p(t,"class","tabs-header compact combined left"),p(o,"class","tabs-content"),p(e,"class",u="tabs sdk-tabs "+n[0]+" svelte-1maocj6")},m(_,g){y(_,e,g),w(e,t);for(let k=0;k<i.length;k+=1)i[k]&&i[k].m(t,null);w(e,s),w(e,o);for(let k=0;k<r.length;k+=1)r[k]&&r[k].m(o,null);f=!0},p(_,[g]){g&6&&(c=ce(_[2]),i=yt(i,g,d,1,_,c,l,t,di,Dg,null,Mg)),g&6&&(m=ce(_[2]),ae(),r=yt(r,g,h,1,_,m,a,o,Ut,Ig,null,Eg),ue()),(!f||g&1&&u!==(u="tabs sdk-tabs "+_[0]+" svelte-1maocj6"))&&p(e,"class",u)},i(_){if(!f){for(let g=0;g<m.length;g+=1)E(r[g]);f=!0}},o(_){for(let g=0;g<r.length;g+=1)D(r[g]);f=!1},d(_){_&&v(e);for(let g=0;g<i.length;g+=1)i[g].d();for(let g=0;g<r.length;g+=1)r[g].d()}}}const Lg="pb_sdk_preference";function uP(n,e,t){let i,{class:l="m-b-sm"}=e,{js:s=""}=e,{dart:o=""}=e,r=localStorage.getItem(Lg)||"javascript";const a=u=>t(1,r=u.language);return n.$$set=u=>{"class"in u&&t(0,l=u.class),"js"in u&&t(3,s=u.js),"dart"in u&&t(4,o=u.dart)},n.$$.update=()=>{n.$$.dirty&2&&r&&localStorage.setItem(Lg,r),n.$$.dirty&24&&t(2,i=[{title:"JavaScript",language:"javascript",content:s,url:"https://github.com/pocketbase/js-sdk"},{title:"Dart",language:"dart",content:o,url:"https://github.com/pocketbase/dart-sdk"}])},[l,r,i,s,o,a]}class fP extends Se{constructor(e){super(),we(this,e,uP,aP,be,{class:0,js:3,dart:4})}}function cP(n){let e,t,i,l,s,o=V.displayValue(n[1])+"",r,a,u,f,c,d,m;return f=new fe({props:{class:"form-field m-b-xs m-t-sm",name:"duration",$$slots:{default:[pP,({uniqueId:h})=>({20:h}),({uniqueId:h})=>h?1048576:0]},$$scope:{ctx:n}}}),{c(){e=b("form"),t=b("div"),i=b("p"),l=B(`Generate a non-refreshable auth token for
                     `),s=b("strong"),r=B(o),a=B(":"),u=C(),j(f.$$.fragment),p(t,"class","content"),p(e,"id",n[8])},m(h,_){y(h,e,_),w(e,t),w(t,i),w(i,l),w(i,s),w(s,r),w(s,a),w(e,u),q(f,e,null),c=!0,d||(m=W(e,"submit",tt(n[9])),d=!0)},p(h,_){(!c||_&2)&&o!==(o=V.displayValue(h[1])+"")&&re(r,o);const g={};_&3145761&&(g.$$scope={dirty:_,ctx:h}),f.$set(g)},i(h){c||(E(f.$$.fragment,h),c=!0)},o(h){D(f.$$.fragment,h),c=!1},d(h){h&&v(e),H(f),d=!1,m()}}}function dP(n){let e,t,i,l=n[3].authStore.token+"",s,o,r,a,u,f;return r=new fi({props:{value:n[3].authStore.token}}),u=new fP({props:{class:"m-b-0",js:`
                 import PocketBase from 'pocketbase';
@@ -216,4 +216,4 @@ Do you really want to upload "${m.name}"?`,()=>{u(m)},()=>{r()})}async function
                                     `),$=b("a"),$.textContent=`s5cmd
                                     `,T=B(", etc."),O=C(),M=b("div"),p(i,"class","icon"),p(k,"href","https://github.com/rclone/rclone"),p(k,"target","_blank"),p(k,"rel","noopener noreferrer"),p(k,"class","txt-bold"),p($,"href","https://github.com/peak/s5cmd"),p($,"target","_blank"),p($,"rel","noopener noreferrer"),p($,"class","txt-bold"),p(s,"class","content"),p(t,"class","alert alert-warning m-0"),p(M,"class","clearfix m-t-base")},m(P,N){y(P,e,N),w(e,t),w(t,i),w(t,l),w(t,s),w(s,o),w(s,r),w(r,u),w(s,f),w(s,c),w(c,m),w(s,h),w(s,_),w(s,g),w(s,k),w(s,S),w(s,$),w(s,T),w(e,O),w(e,M),I=!0},p(P,N){var R;(!I||N&1)&&a!==(a=(R=P[0].s3)!=null&&R.enabled?"S3 storage":"local file system")&&re(u,a),(!I||N&2)&&d!==(d=P[1].s3.enabled?"S3 storage":"local file system")&&re(m,d)},i(P){I||(P&&et(()=>{I&&(L||(L=je(e,mt,{duration:150},!0)),L.run(1))}),I=!0)},o(P){P&&(L||(L=je(e,mt,{duration:150},!1)),L.run(0)),I=!1},d(P){P&&v(e),P&&L&&L.end()}}}function fF(n){var i;let e,t=((i=n[0].s3)==null?void 0:i.enabled)!=n[1].s3.enabled&&Tb(n);return{c(){t&&t.c(),e=ye()},m(l,s){t&&t.m(l,s),y(l,e,s)},p(l,s){var o;((o=l[0].s3)==null?void 0:o.enabled)!=l[1].s3.enabled?t?(t.p(l,s),s&3&&E(t,1)):(t=Tb(l),t.c(),E(t,1),t.m(e.parentNode,e)):t&&(ae(),D(t,1,1,()=>{t=null}),ue())},d(l){l&&v(e),t&&t.d(l)}}}function $b(n){let e;function t(s,o){return s[4]?pF:s[5]?dF:cF}let i=t(n),l=i(n);return{c(){l.c(),e=ye()},m(s,o){l.m(s,o),y(s,e,o)},p(s,o){i===(i=t(s))&&l?l.p(s,o):(l.d(1),l=i(s),l&&(l.c(),l.m(e.parentNode,e)))},d(s){s&&v(e),l.d(s)}}}function cF(n){let e;return{c(){e=b("div"),e.innerHTML='<i class="ri-checkbox-circle-line txt-success"></i> <span class="txt">S3 connected successfully</span>',p(e,"class","label label-sm label-success entrance-right")},m(t,i){y(t,e,i)},p:te,d(t){t&&v(e)}}}function dF(n){let e,t,i,l;return{c(){e=b("div"),e.innerHTML='<i class="ri-error-warning-line txt-warning"></i> <span class="txt">Failed to establish S3 connection</span>',p(e,"class","label label-sm label-warning entrance-right")},m(s,o){var r;y(s,e,o),i||(l=Ee(t=He.call(null,e,(r=n[5].data)==null?void 0:r.message)),i=!0)},p(s,o){var r;t&&It(t.update)&&o&32&&t.update.call(null,(r=s[5].data)==null?void 0:r.message)},d(s){s&&v(e),i=!1,l()}}}function pF(n){let e;return{c(){e=b("span"),p(e,"class","loader loader-sm")},m(t,i){y(t,e,i)},p:te,d(t){t&&v(e)}}}function Cb(n){let e,t,i,l;return{c(){e=b("button"),t=b("span"),t.textContent="Reset",p(t,"class","txt"),p(e,"type","button"),p(e,"class","btn btn-transparent btn-hint"),e.disabled=n[3]},m(s,o){y(s,e,o),w(e,t),i||(l=W(e,"click",n[14]),i=!0)},p(s,o){o&8&&(e.disabled=s[3])},d(s){s&&v(e),i=!1,l()}}}function mF(n){let e,t,i,l,s,o,r,a,u,f,c,d,m,h,_,g;const k=[uF,aF],S=[];function $(T,O){return T[2]?0:1}return d=$(n),m=S[d]=k[d](n),{c(){e=b("header"),t=b("nav"),i=b("div"),i.textContent="Settings",l=C(),s=b("div"),o=B(n[7]),r=C(),a=b("div"),u=b("form"),f=b("div"),f.innerHTML="<p>By default PocketBase uses the local file system to store uploaded files.</p> <p>If you have limited disk space, you could optionally connect to an S3 compatible storage.</p>",c=C(),m.c(),p(i,"class","breadcrumb-item"),p(s,"class","breadcrumb-item"),p(t,"class","breadcrumbs"),p(e,"class","page-header"),p(f,"class","content txt-xl m-b-base"),p(u,"class","panel"),p(u,"autocomplete","off"),p(a,"class","wrapper")},m(T,O){y(T,e,O),w(e,t),w(t,i),w(t,l),w(t,s),w(s,o),y(T,r,O),y(T,a,O),w(a,u),w(u,f),w(u,c),S[d].m(u,null),h=!0,_||(g=W(u,"submit",tt(n[16])),_=!0)},p(T,O){(!h||O&128)&&re(o,T[7]);let M=d;d=$(T),d===M?S[d].p(T,O):(ae(),D(S[M],1,1,()=>{S[M]=null}),ue(),m=S[d],m?m.p(T,O):(m=S[d]=k[d](T),m.c()),E(m,1),m.m(u,null))},i(T){h||(E(m),h=!0)},o(T){D(m),h=!1},d(T){T&&(v(e),v(r),v(a)),S[d].d(),_=!1,g()}}}function hF(n){let e,t,i,l;return e=new ps({}),i=new pi({props:{$$slots:{default:[mF]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment),t=C(),j(i.$$.fragment)},m(s,o){q(e,s,o),y(s,t,o),q(i,s,o),l=!0},p(s,[o]){const r={};o&524543&&(r.$$scope={dirty:o,ctx:s}),i.$set(r)},i(s){l||(E(e.$$.fragment,s),E(i.$$.fragment,s),l=!0)},o(s){D(e.$$.fragment,s),D(i.$$.fragment,s),l=!1},d(s){s&&v(t),H(e,s),H(i,s)}}}const _F="s3_test_request";function gF(n,e,t){let i,l,s;Qe(n,an,M=>t(7,s=M)),Nn(an,s="Files storage",s);let o={},r={},a=!1,u=!1,f=!1,c=null;d();async function d(){t(2,a=!0);try{const M=await he.settings.getAll()||{};h(M)}catch(M){he.error(M)}t(2,a=!1)}async function m(){if(!(u||!l)){t(3,u=!0);try{he.cancelRequest(_F);const M=await he.settings.update(V.filterRedactedProps(r));zt({}),await h(M),Ds(),c?aw("Successfully saved but failed to establish S3 connection."):tn("Successfully saved files storage settings.")}catch(M){he.error(M)}t(3,u=!1)}}async function h(M={}){t(1,r={s3:(M==null?void 0:M.s3)||{}}),t(0,o=JSON.parse(JSON.stringify(r)))}async function _(){t(1,r=JSON.parse(JSON.stringify(o||{})))}function g(M){n.$$.not_equal(r.s3,M)&&(r.s3=M,t(1,r))}function k(M){f=M,t(4,f)}function S(M){c=M,t(5,c)}const $=()=>_(),T=()=>m(),O=()=>m();return n.$$.update=()=>{n.$$.dirty&1&&t(10,i=JSON.stringify(o)),n.$$.dirty&1026&&t(6,l=i!=JSON.stringify(r))},[o,r,a,u,f,c,l,s,m,_,i,g,k,S,$,T,O]}class bF extends Se{constructor(e){super(),we(this,e,gF,hF,be,{})}}function Ob(n){let e,t,i;return{c(){e=b("div"),e.innerHTML='<figure class="logo"><img src="./images/logo.svg" alt="PocketBase logo" width="40" height="40"/> <span class="txt">Pocket<strong>Base</strong></span></figure>',t=C(),i=b("div"),p(e,"class","block txt-center m-b-lg"),p(i,"class","clearfix")},m(l,s){y(l,e,s),y(l,t,s),y(l,i,s)},d(l){l&&(v(e),v(t),v(i))}}}function kF(n){let e,t,i,l=!n[0]&&Ob();const s=n[1].default,o=Lt(s,n,n[2],null);return{c(){e=b("div"),l&&l.c(),t=C(),o&&o.c(),p(e,"class","wrapper wrapper-sm m-b-xl panel-wrapper svelte-lxxzfu")},m(r,a){y(r,e,a),l&&l.m(e,null),w(e,t),o&&o.m(e,null),i=!0},p(r,a){r[0]?l&&(l.d(1),l=null):l||(l=Ob(),l.c(),l.m(e,t)),o&&o.p&&(!i||a&4)&&Pt(o,s,r,r[2],i?At(s,r[2],a,null):Nt(r[2]),null)},i(r){i||(E(o,r),i=!0)},o(r){D(o,r),i=!1},d(r){r&&v(e),l&&l.d(),o&&o.d(r)}}}function vF(n){let e,t;return e=new pi({props:{class:"full-page",center:!0,$$slots:{default:[kF]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,[l]){const s={};l&5&&(s.$$scope={dirty:l,ctx:i}),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function yF(n,e,t){let{$$slots:i={},$$scope:l}=e,{nobranding:s=!1}=e;return n.$$set=o=>{"nobranding"in o&&t(0,s=o.nobranding),"$$scope"in o&&t(2,l=o.$$scope)},[s,i,l]}class wF extends Se{constructor(e){super(),we(this,e,yF,vF,be,{nobranding:0})}}function Eb(n){let e,t,i,l,s;return{c(){e=B("("),t=B(n[1]),i=B("/"),l=B(n[2]),s=B(")")},m(o,r){y(o,e,r),y(o,t,r),y(o,i,r),y(o,l,r),y(o,s,r)},p(o,r){r&2&&re(t,o[1]),r&4&&re(l,o[2])},d(o){o&&(v(e),v(t),v(i),v(l),v(s))}}}function SF(n){let e,t,i,l;const s=[OF,CF],o=[];function r(a,u){return a[4]?1:0}return e=r(n),t=o[e]=s[e](n),{c(){t.c(),i=ye()},m(a,u){o[e].m(a,u),y(a,i,u),l=!0},p(a,u){let f=e;e=r(a),e===f?o[e].p(a,u):(ae(),D(o[f],1,1,()=>{o[f]=null}),ue(),t=o[e],t?t.p(a,u):(t=o[e]=s[e](a),t.c()),E(t,1),t.m(i.parentNode,i))},i(a){l||(E(t),l=!0)},o(a){D(t),l=!1},d(a){a&&v(i),o[e].d(a)}}}function TF(n){let e,t,i,l,s,o,r,a=n[2]>1?"Next":"Login",u,f,c,d,m,h;return t=new fe({props:{class:"form-field required",name:"identity",$$slots:{default:[DF,({uniqueId:_})=>({25:_}),({uniqueId:_})=>_?33554432:0]},$$scope:{ctx:n}}}),l=new fe({props:{class:"form-field required",name:"password",$$slots:{default:[IF,({uniqueId:_})=>({25:_}),({uniqueId:_})=>_?33554432:0]},$$scope:{ctx:n}}}),{c(){e=b("form"),j(t.$$.fragment),i=C(),j(l.$$.fragment),s=C(),o=b("button"),r=b("span"),u=B(a),f=C(),c=b("i"),p(r,"class","txt"),p(c,"class","ri-arrow-right-line"),p(o,"type","submit"),p(o,"class","btn btn-lg btn-block btn-next"),ee(o,"btn-disabled",n[7]),ee(o,"btn-loading",n[7]),p(e,"class","block")},m(_,g){y(_,e,g),q(t,e,null),w(e,i),q(l,e,null),w(e,s),w(e,o),w(o,r),w(r,u),w(o,f),w(o,c),d=!0,m||(h=W(e,"submit",tt(n[13])),m=!0)},p(_,g){const k={};g&100663329&&(k.$$scope={dirty:g,ctx:_}),t.$set(k);const S={};g&100663360&&(S.$$scope={dirty:g,ctx:_}),l.$set(S),(!d||g&4)&&a!==(a=_[2]>1?"Next":"Login")&&re(u,a),(!d||g&128)&&ee(o,"btn-disabled",_[7]),(!d||g&128)&&ee(o,"btn-loading",_[7])},i(_){d||(E(t.$$.fragment,_),E(l.$$.fragment,_),d=!0)},o(_){D(t.$$.fragment,_),D(l.$$.fragment,_),d=!1},d(_){_&&v(e),H(t),H(l),m=!1,h()}}}function $F(n){let e;return{c(){e=b("div"),e.innerHTML='<span class="loader"></span>',p(e,"class","block txt-center")},m(t,i){y(t,e,i)},p:te,i:te,o:te,d(t){t&&v(e)}}}function CF(n){let e,t,i,l,s,o,r,a,u,f,c,d,m=n[11]&&Mb(n);return i=new fe({props:{class:"form-field required",name:"password",$$slots:{default:[EF,({uniqueId:h})=>({25:h}),({uniqueId:h})=>h?33554432:0]},$$scope:{ctx:n}}}),{c(){m&&m.c(),e=C(),t=b("form"),j(i.$$.fragment),l=C(),s=b("button"),s.innerHTML='<span class="txt">Login</span> <i class="ri-arrow-right-line"></i>',o=C(),r=b("div"),a=b("button"),u=B("Request another OTP"),p(s,"type","submit"),p(s,"class","btn btn-lg btn-block btn-next"),ee(s,"btn-disabled",n[9]),ee(s,"btn-loading",n[9]),p(t,"class","block"),p(a,"type","button"),p(a,"class","link-hint"),a.disabled=n[9],p(r,"class","content txt-center m-t-sm")},m(h,_){m&&m.m(h,_),y(h,e,_),y(h,t,_),q(i,t,null),w(t,l),w(t,s),y(h,o,_),y(h,r,_),w(r,a),w(a,u),f=!0,c||(d=[W(t,"submit",tt(n[15])),W(a,"click",n[20])],c=!0)},p(h,_){h[11]?m?m.p(h,_):(m=Mb(h),m.c(),m.m(e.parentNode,e)):m&&(m.d(1),m=null);const g={};_&100667392&&(g.$$scope={dirty:_,ctx:h}),i.$set(g),(!f||_&512)&&ee(s,"btn-disabled",h[9]),(!f||_&512)&&ee(s,"btn-loading",h[9]),(!f||_&512)&&(a.disabled=h[9])},i(h){f||(E(i.$$.fragment,h),f=!0)},o(h){D(i.$$.fragment,h),f=!1},d(h){h&&(v(e),v(t),v(o),v(r)),m&&m.d(h),H(i),c=!1,Ie(d)}}}function OF(n){let e,t,i,l,s,o,r;return t=new fe({props:{class:"form-field required",name:"email",$$slots:{default:[MF,({uniqueId:a})=>({25:a}),({uniqueId:a})=>a?33554432:0]},$$scope:{ctx:n}}}),{c(){e=b("form"),j(t.$$.fragment),i=C(),l=b("button"),l.innerHTML='<i class="ri-mail-send-line"></i> <span class="txt">Send OTP</span>',p(l,"type","submit"),p(l,"class","btn btn-lg btn-block btn-next"),ee(l,"btn-disabled",n[8]),ee(l,"btn-loading",n[8]),p(e,"class","block")},m(a,u){y(a,e,u),q(t,e,null),w(e,i),w(e,l),s=!0,o||(r=W(e,"submit",tt(n[14])),o=!0)},p(a,u){const f={};u&100665344&&(f.$$scope={dirty:u,ctx:a}),t.$set(f),(!s||u&256)&&ee(l,"btn-disabled",a[8]),(!s||u&256)&&ee(l,"btn-loading",a[8])},i(a){s||(E(t.$$.fragment,a),s=!0)},o(a){D(t.$$.fragment,a),s=!1},d(a){a&&v(e),H(t),o=!1,r()}}}function Mb(n){let e,t,i,l,s,o;return{c(){e=b("div"),t=b("p"),i=B("Check your "),l=b("strong"),s=B(n[11]),o=B(` inbox and enter in the input below the received
                         One-time password (OTP).`),p(e,"class","content txt-center m-b-sm")},m(r,a){y(r,e,a),w(e,t),w(t,i),w(t,l),w(l,s),w(t,o)},p(r,a){a&2048&&re(s,r[11])},d(r){r&&v(e)}}}function EF(n){let e,t,i,l,s,o,r,a;return{c(){e=b("label"),t=B("One-time password"),l=C(),s=b("input"),p(e,"for",i=n[25]),p(s,"type","password"),p(s,"id",o=n[25]),s.required=!0},m(u,f){y(u,e,f),w(e,t),y(u,l,f),y(u,s,f),pe(s,n[12]),r||(a=W(s,"input",n[19]),r=!0)},p(u,f){f&33554432&&i!==(i=u[25])&&p(e,"for",i),f&33554432&&o!==(o=u[25])&&p(s,"id",o),f&4096&&s.value!==u[12]&&pe(s,u[12])},d(u){u&&(v(e),v(l),v(s)),r=!1,a()}}}function MF(n){let e,t,i,l,s,o,r,a;return{c(){e=b("label"),t=B("Email"),l=C(),s=b("input"),p(e,"for",i=n[25]),p(s,"type","email"),p(s,"id",o=n[25]),s.required=!0},m(u,f){y(u,e,f),w(e,t),y(u,l,f),y(u,s,f),pe(s,n[11]),r||(a=W(s,"input",n[18]),r=!0)},p(u,f){f&33554432&&i!==(i=u[25])&&p(e,"for",i),f&33554432&&o!==(o=u[25])&&p(s,"id",o),f&2048&&s.value!==u[11]&&pe(s,u[11])},d(u){u&&(v(e),v(l),v(s)),r=!1,a()}}}function DF(n){let e,t=V.sentenize(n[0].password.identityFields.join(" or "),!1)+"",i,l,s,o,r,a,u,f;return{c(){e=b("label"),i=B(t),s=C(),o=b("input"),p(e,"for",l=n[25]),p(o,"id",r=n[25]),p(o,"type",a=n[0].password.identityFields.length==1&&n[0].password.identityFields[0]=="email"?"email":"text"),o.value=n[5],o.required=!0,o.autofocus=!0},m(c,d){y(c,e,d),w(e,i),y(c,s,d),y(c,o,d),o.focus(),u||(f=W(o,"input",n[16]),u=!0)},p(c,d){d&1&&t!==(t=V.sentenize(c[0].password.identityFields.join(" or "),!1)+"")&&re(i,t),d&33554432&&l!==(l=c[25])&&p(e,"for",l),d&33554432&&r!==(r=c[25])&&p(o,"id",r),d&1&&a!==(a=c[0].password.identityFields.length==1&&c[0].password.identityFields[0]=="email"?"email":"text")&&p(o,"type",a),d&32&&o.value!==c[5]&&(o.value=c[5])},d(c){c&&(v(e),v(s),v(o)),u=!1,f()}}}function IF(n){let e,t,i,l,s,o,r,a,u,f,c;return{c(){e=b("label"),t=B("Password"),l=C(),s=b("input"),r=C(),a=b("div"),u=b("a"),u.textContent="Forgotten password?",p(e,"for",i=n[25]),p(s,"type","password"),p(s,"id",o=n[25]),s.required=!0,p(u,"href","/request-password-reset"),p(u,"class","link-hint"),p(a,"class","help-block")},m(d,m){y(d,e,m),w(e,t),y(d,l,m),y(d,s,m),pe(s,n[6]),y(d,r,m),y(d,a,m),w(a,u),f||(c=[W(s,"input",n[17]),Ee(Vn.call(null,u))],f=!0)},p(d,m){m&33554432&&i!==(i=d[25])&&p(e,"for",i),m&33554432&&o!==(o=d[25])&&p(s,"id",o),m&64&&s.value!==d[6]&&pe(s,d[6])},d(d){d&&(v(e),v(l),v(s),v(r),v(a)),f=!1,Ie(c)}}}function LF(n){let e,t,i,l,s,o,r,a,u=n[2]>1&&Eb(n);const f=[$F,TF,SF],c=[];function d(m,h){return m[10]?0:m[0].password.enabled&&!m[3]?1:m[0].otp.enabled?2:-1}return~(s=d(n))&&(o=c[s]=f[s](n)),{c(){e=b("div"),t=b("h4"),i=B(`Superuser login
-            `),u&&u.c(),l=C(),o&&o.c(),r=ye(),p(e,"class","content txt-center m-b-base")},m(m,h){y(m,e,h),w(e,t),w(t,i),u&&u.m(t,null),y(m,l,h),~s&&c[s].m(m,h),y(m,r,h),a=!0},p(m,h){m[2]>1?u?u.p(m,h):(u=Eb(m),u.c(),u.m(t,null)):u&&(u.d(1),u=null);let _=s;s=d(m),s===_?~s&&c[s].p(m,h):(o&&(ae(),D(c[_],1,1,()=>{c[_]=null}),ue()),~s?(o=c[s],o?o.p(m,h):(o=c[s]=f[s](m),o.c()),E(o,1),o.m(r.parentNode,r)):o=null)},i(m){a||(E(o),a=!0)},o(m){D(o),a=!1},d(m){m&&(v(e),v(l),v(r)),u&&u.d(),~s&&c[s].d(m)}}}function AF(n){let e,t;return e=new wF({props:{$$slots:{default:[LF]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,[l]){const s={};l&67117055&&(s.$$scope={dirty:l,ctx:i}),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function PF(n,e,t){let i;Qe(n,Iu,R=>t(22,i=R));const l=new URLSearchParams(i);let s=l.get("demoEmail")||"",o=l.get("demoPassword")||"",r={},a=1,u=1,f=!1,c=!1,d=!1,m=!1,h="",_="",g="",k="",S="";$();async function $(){if(!m){t(10,m=!0);try{t(0,r=await he.collection("_superusers").listAuthMethods())}catch(R){he.error(R)}t(10,m=!1)}}async function T(){var R,z;if(!f){t(7,f=!0);try{await he.collection("_superusers").authWithPassword(s,o),Ds(),zt({}),ts("/")}catch(F){F.status==401?(t(3,h=F.response.mfaId),((z=(R=r==null?void 0:r.password)==null?void 0:R.identityFields)==null?void 0:z.length)==1&&r.password.identityFields[0]=="email"?(t(11,k=s),await O()):/^[^@\s]+@[^@\s]+$/.test(s)&&t(11,k=s)):F.status!=400?he.error(F):$i("Invalid login credentials.")}t(7,f=!1)}}async function O(){if(!c){t(8,c=!0);try{const R=await he.collection("_superusers").requestOTP(k);t(4,_=R.otpId),g=_,Ds(),zt({})}catch(R){R.status==429&&t(4,_=g),he.error(R)}t(8,c=!1)}}async function M(){if(!d){t(9,d=!0);try{await he.collection("_superusers").authWithOTP(_,S,{mfaId:h}),Ds(),zt({}),ts("/")}catch(R){he.error(R)}t(9,d=!1)}}const L=R=>{t(5,s=R.target.value)};function I(){o=this.value,t(6,o)}function A(){k=this.value,t(11,k)}function P(){S=this.value,t(12,S)}const N=()=>{t(4,_="")};return n.$$.update=()=>{var R,z;n.$$.dirty&31&&(t(2,u=1),t(1,a=1),(R=r==null?void 0:r.mfa)!=null&&R.enabled&&t(2,u++,u),(z=r==null?void 0:r.otp)!=null&&z.enabled&&t(2,u++,u),h!=""&&t(1,a++,a),_!=""&&t(1,a++,a))},[r,a,u,h,_,s,o,f,c,d,m,k,S,T,O,M,L,I,A,P,N]}class NF extends Se{constructor(e){super(),we(this,e,PF,AF,be,{})}}function Kt(n){if(!n)throw Error("Parameter args is required");if(!n.component==!n.asyncComponent)throw Error("One and only one of component and asyncComponent is required");if(n.component&&(n.asyncComponent=()=>Promise.resolve(n.component)),typeof n.asyncComponent!="function")throw Error("Parameter asyncComponent must be a function");if(n.conditions){Array.isArray(n.conditions)||(n.conditions=[n.conditions]);for(let t=0;t<n.conditions.length;t++)if(!n.conditions[t]||typeof n.conditions[t]!="function")throw Error("Invalid parameter conditions["+t+"]")}return n.loadingComponent&&(n.asyncComponent.loading=n.loadingComponent,n.asyncComponent.loadingParams=n.loadingParams||void 0),{component:n.asyncComponent,userData:n.userData,conditions:n.conditions&&n.conditions.length?n.conditions:void 0,props:n.props&&Object.keys(n.props).length?n.props:{},_sveltesparouter:!0}}const RF={"/pbinstal/:token":Kt({asyncComponent:()=>Tt(()=>import("./PageInstaller-B_fgTpbw.js"),[],import.meta.url),conditions:[n=>n.params.token&&!Fr(n.params.token)],userData:{showAppSidebar:!1}}),"/login":Kt({component:NF,conditions:[n=>!he.authStore.isValid],userData:{showAppSidebar:!1}}),"/request-password-reset":Kt({asyncComponent:()=>Tt(()=>import("./PageSuperuserRequestPasswordReset-D8ve17kT.js"),[],import.meta.url),conditions:[n=>!he.authStore.isValid],userData:{showAppSidebar:!1}}),"/confirm-password-reset/:token":Kt({asyncComponent:()=>Tt(()=>import("./PageSuperuserConfirmPasswordReset-vTV8h3Ka.js"),[],import.meta.url),conditions:[n=>!he.authStore.isValid],userData:{showAppSidebar:!1}}),"/collections":Kt({component:yN,conditions:[n=>he.authStore.isValid],userData:{showAppSidebar:!0}}),"/logs":Kt({component:f5,conditions:[n=>he.authStore.isValid],userData:{showAppSidebar:!0}}),"/settings":Kt({component:v7,conditions:[n=>he.authStore.isValid],userData:{showAppSidebar:!0}}),"/settings/mail":Kt({component:rF,conditions:[n=>he.authStore.isValid],userData:{showAppSidebar:!0}}),"/settings/storage":Kt({component:bF,conditions:[n=>he.authStore.isValid],userData:{showAppSidebar:!0}}),"/settings/export-collections":Kt({component:yR,conditions:[n=>he.authStore.isValid],userData:{showAppSidebar:!0}}),"/settings/import-collections":Kt({component:zR,conditions:[n=>he.authStore.isValid],userData:{showAppSidebar:!0}}),"/settings/backups":Kt({component:pR,conditions:[n=>he.authStore.isValid],userData:{showAppSidebar:!0}}),"/users/confirm-password-reset/:token":Kt({asyncComponent:()=>Tt(()=>import("./PageRecordConfirmPasswordReset-CyUwaOlm.js"),[],import.meta.url),userData:{showAppSidebar:!1}}),"/auth/confirm-password-reset/:token":Kt({asyncComponent:()=>Tt(()=>import("./PageRecordConfirmPasswordReset-CyUwaOlm.js"),[],import.meta.url),userData:{showAppSidebar:!1}}),"/users/confirm-verification/:token":Kt({asyncComponent:()=>Tt(()=>import("./PageRecordConfirmVerification-BJLVAeG2.js"),[],import.meta.url),userData:{showAppSidebar:!1}}),"/auth/confirm-verification/:token":Kt({asyncComponent:()=>Tt(()=>import("./PageRecordConfirmVerification-BJLVAeG2.js"),[],import.meta.url),userData:{showAppSidebar:!1}}),"/users/confirm-email-change/:token":Kt({asyncComponent:()=>Tt(()=>import("./PageRecordConfirmEmailChange-BK2d5uSN.js"),[],import.meta.url),userData:{showAppSidebar:!1}}),"/auth/confirm-email-change/:token":Kt({asyncComponent:()=>Tt(()=>import("./PageRecordConfirmEmailChange-BK2d5uSN.js"),[],import.meta.url),userData:{showAppSidebar:!1}}),"/auth/oauth2-redirect-success":Kt({asyncComponent:()=>Tt(()=>import("./PageOAuth2RedirectSuccess-BWa5jmVD.js"),[],import.meta.url),userData:{showAppSidebar:!1}}),"/auth/oauth2-redirect-failure":Kt({asyncComponent:()=>Tt(()=>import("./PageOAuth2RedirectFailure-CsSjlH_-.js"),[],import.meta.url),userData:{showAppSidebar:!1}}),"*":Kt({component:Yw,userData:{showAppSidebar:!1}})};function FF(n){let e;return{c(){e=b("link"),p(e,"rel","shortcut icon"),p(e,"type","image/png"),p(e,"href","./images/favicon/favicon_prod.png")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function Db(n){let e,t,i,l,s,o,r,a,u,f,c,d,m=V.getInitials(n[0].email)+"",h,_,g,k,S,$,T;return g=new Hn({props:{class:"dropdown dropdown-nowrap dropdown-upside dropdown-left",$$slots:{default:[qF]},$$scope:{ctx:n}}}),{c(){e=b("aside"),t=b("a"),t.innerHTML='<img src="./images/logo.svg" alt="PocketBase logo" width="40" height="40"/>',i=C(),l=b("nav"),s=b("a"),s.innerHTML='<i class="ri-database-2-line"></i>',o=C(),r=b("a"),r.innerHTML='<i class="ri-line-chart-line"></i>',a=C(),u=b("a"),u.innerHTML='<i class="ri-tools-line"></i>',f=C(),c=b("div"),d=b("span"),h=B(m),_=C(),j(g.$$.fragment),p(t,"href","/"),p(t,"class","logo logo-sm"),p(s,"href","/collections"),p(s,"class","menu-item"),p(s,"aria-label","Collections"),p(r,"href","/logs"),p(r,"class","menu-item"),p(r,"aria-label","Logs"),p(u,"href","/settings"),p(u,"class","menu-item"),p(u,"aria-label","Settings"),p(l,"class","main-menu"),p(d,"class","initials"),p(c,"tabindex","0"),p(c,"role","button"),p(c,"aria-label","Logged superuser menu"),p(c,"class","thumb thumb-circle link-hint"),p(c,"title",k=n[0].email),p(e,"class","app-sidebar")},m(O,M){y(O,e,M),w(e,t),w(e,i),w(e,l),w(l,s),w(l,o),w(l,r),w(l,a),w(l,u),w(e,f),w(e,c),w(c,d),w(d,h),w(c,_),q(g,c,null),S=!0,$||(T=[Ee(Vn.call(null,t)),Ee(Vn.call(null,s)),Ee(Fi.call(null,s,{path:"/collections/?.*",className:"current-route"})),Ee(He.call(null,s,{text:"Collections",position:"right"})),Ee(Vn.call(null,r)),Ee(Fi.call(null,r,{path:"/logs/?.*",className:"current-route"})),Ee(He.call(null,r,{text:"Logs",position:"right"})),Ee(Vn.call(null,u)),Ee(Fi.call(null,u,{path:"/settings/?.*",className:"current-route"})),Ee(He.call(null,u,{text:"Settings",position:"right"}))],$=!0)},p(O,M){(!S||M&1)&&m!==(m=V.getInitials(O[0].email)+"")&&re(h,m);const L={};M&4097&&(L.$$scope={dirty:M,ctx:O}),g.$set(L),(!S||M&1&&k!==(k=O[0].email))&&p(c,"title",k)},i(O){S||(E(g.$$.fragment,O),S=!0)},o(O){D(g.$$.fragment,O),S=!1},d(O){O&&v(e),H(g),$=!1,Ie(T)}}}function qF(n){let e,t=n[0].email+"",i,l,s,o,r,a,u,f,c,d;return{c(){e=b("div"),i=B(t),s=C(),o=b("hr"),r=C(),a=b("a"),a.innerHTML='<i class="ri-shield-user-line" aria-hidden="true"></i> <span class="txt">Manage superusers</span>',u=C(),f=b("button"),f.innerHTML='<i class="ri-logout-circle-line" aria-hidden="true"></i> <span class="txt">Logout</span>',p(e,"class","txt-ellipsis current-superuser svelte-1ahgi3o"),p(e,"title",l=n[0].email),p(a,"href","/collections?collection=_superusers"),p(a,"class","dropdown-item closable"),p(a,"role","menuitem"),p(f,"type","button"),p(f,"class","dropdown-item closable"),p(f,"role","menuitem")},m(m,h){y(m,e,h),w(e,i),y(m,s,h),y(m,o,h),y(m,r,h),y(m,a,h),y(m,u,h),y(m,f,h),c||(d=[Ee(Vn.call(null,a)),W(f,"click",n[7])],c=!0)},p(m,h){h&1&&t!==(t=m[0].email+"")&&re(i,t),h&1&&l!==(l=m[0].email)&&p(e,"title",l)},d(m){m&&(v(e),v(s),v(o),v(r),v(a),v(u),v(f)),c=!1,Ie(d)}}}function Ib(n){let e,t,i;return t=new Tu({props:{conf:V.defaultEditorOptions()}}),t.$on("init",n[8]),{c(){e=b("div"),j(t.$$.fragment),p(e,"class","tinymce-preloader hidden")},m(l,s){y(l,e,s),q(t,e,null),i=!0},p:te,i(l){i||(E(t.$$.fragment,l),i=!0)},o(l){D(t.$$.fragment,l),i=!1},d(l){l&&v(e),H(t)}}}function HF(n){var S;let e,t,i,l,s,o,r,a,u,f,c,d,m,h;document.title=e=V.joinNonEmpty([n[4],n[3],"PocketBase"]," - ");let _=window.location.protocol=="https:"&&FF(),g=((S=n[0])==null?void 0:S.id)&&n[1]&&Db(n);r=new zw({props:{routes:RF}}),r.$on("routeLoading",n[5]),r.$on("conditionsFailed",n[6]),u=new hw({}),c=new ew({});let k=n[1]&&!n[2]&&Ib(n);return{c(){_&&_.c(),t=ye(),i=C(),l=b("div"),g&&g.c(),s=C(),o=b("div"),j(r.$$.fragment),a=C(),j(u.$$.fragment),f=C(),j(c.$$.fragment),d=C(),k&&k.c(),m=ye(),p(o,"class","app-body"),p(l,"class","app-layout")},m($,T){_&&_.m(document.head,null),w(document.head,t),y($,i,T),y($,l,T),g&&g.m(l,null),w(l,s),w(l,o),q(r,o,null),w(o,a),q(u,o,null),y($,f,T),q(c,$,T),y($,d,T),k&&k.m($,T),y($,m,T),h=!0},p($,[T]){var O;(!h||T&24)&&e!==(e=V.joinNonEmpty([$[4],$[3],"PocketBase"]," - "))&&(document.title=e),(O=$[0])!=null&&O.id&&$[1]?g?(g.p($,T),T&3&&E(g,1)):(g=Db($),g.c(),E(g,1),g.m(l,s)):g&&(ae(),D(g,1,1,()=>{g=null}),ue()),$[1]&&!$[2]?k?(k.p($,T),T&6&&E(k,1)):(k=Ib($),k.c(),E(k,1),k.m(m.parentNode,m)):k&&(ae(),D(k,1,1,()=>{k=null}),ue())},i($){h||(E(g),E(r.$$.fragment,$),E(u.$$.fragment,$),E(c.$$.fragment,$),E(k),h=!0)},o($){D(g),D(r.$$.fragment,$),D(u.$$.fragment,$),D(c.$$.fragment,$),D(k),h=!1},d($){$&&(v(i),v(l),v(f),v(d),v(m)),_&&_.d($),v(t),g&&g.d(),H(r),H(u),H(c,$),k&&k.d($)}}}function jF(n,e,t){let i,l,s,o;Qe(n,Ml,_=>t(10,i=_)),Qe(n,_r,_=>t(3,l=_)),Qe(n,Rr,_=>t(0,s=_)),Qe(n,an,_=>t(4,o=_));let r,a=!1,u=!1;function f(_){var g,k,S,$;((g=_==null?void 0:_.detail)==null?void 0:g.location)!==r&&(t(1,a=!!((S=(k=_==null?void 0:_.detail)==null?void 0:k.userData)!=null&&S.showAppSidebar)),r=($=_==null?void 0:_.detail)==null?void 0:$.location,Nn(an,o="",o),zt({}),J0())}function c(){ts("/")}async function d(){var _,g;if(s!=null&&s.id)try{const k=await he.settings.getAll({$cancelKey:"initialAppSettings"});Nn(_r,l=((_=k==null?void 0:k.meta)==null?void 0:_.appName)||"",l),Nn(Ml,i=!!((g=k==null?void 0:k.meta)!=null&&g.hideControls),i)}catch(k){k!=null&&k.isAbort||console.warn("Failed to load app settings.",k)}}function m(){he.logout()}const h=()=>{t(2,u=!0)};return n.$$.update=()=>{n.$$.dirty&1&&s!=null&&s.id&&d()},[s,a,u,l,o,f,c,m,h]}class zF extends Se{constructor(e){super(),we(this,e,jF,HF,be,{})}}new zF({target:document.getElementById("app")});export{jt as $,hr as A,Ee as B,Vn as C,ae as D,ue as E,wF as F,re as G,te as H,V as I,tn as J,ye as K,fo as L,Fr as M,Qe as N,Nn as O,Gt as P,an as Q,On as R,Se as S,kt as T,fP as U,Xu as V,ce as W,yt as X,di as Y,Ut as Z,dt as _,D as a,Ov as a0,$i as b,j as c,H as d,fe as e,b as f,Xl as g,C as h,we as i,p as j,ee as k,y as l,q as m,w as n,W as o,he as p,tt as q,ts as r,be as s,E as t,v as u,Ie as v,_n as w,ie as x,B as y,pe as z};
+            `),u&&u.c(),l=C(),o&&o.c(),r=ye(),p(e,"class","content txt-center m-b-base")},m(m,h){y(m,e,h),w(e,t),w(t,i),u&&u.m(t,null),y(m,l,h),~s&&c[s].m(m,h),y(m,r,h),a=!0},p(m,h){m[2]>1?u?u.p(m,h):(u=Eb(m),u.c(),u.m(t,null)):u&&(u.d(1),u=null);let _=s;s=d(m),s===_?~s&&c[s].p(m,h):(o&&(ae(),D(c[_],1,1,()=>{c[_]=null}),ue()),~s?(o=c[s],o?o.p(m,h):(o=c[s]=f[s](m),o.c()),E(o,1),o.m(r.parentNode,r)):o=null)},i(m){a||(E(o),a=!0)},o(m){D(o),a=!1},d(m){m&&(v(e),v(l),v(r)),u&&u.d(),~s&&c[s].d(m)}}}function AF(n){let e,t;return e=new wF({props:{$$slots:{default:[LF]},$$scope:{ctx:n}}}),{c(){j(e.$$.fragment)},m(i,l){q(e,i,l),t=!0},p(i,[l]){const s={};l&67117055&&(s.$$scope={dirty:l,ctx:i}),e.$set(s)},i(i){t||(E(e.$$.fragment,i),t=!0)},o(i){D(e.$$.fragment,i),t=!1},d(i){H(e,i)}}}function PF(n,e,t){let i;Qe(n,Iu,R=>t(22,i=R));const l=new URLSearchParams(i);let s=l.get("demoEmail")||"",o=l.get("demoPassword")||"",r={},a=1,u=1,f=!1,c=!1,d=!1,m=!1,h="",_="",g="",k="",S="";$();async function $(){if(!m){t(10,m=!0);try{t(0,r=await he.collection("_superusers").listAuthMethods())}catch(R){he.error(R)}t(10,m=!1)}}async function T(){var R,z;if(!f){t(7,f=!0);try{await he.collection("_superusers").authWithPassword(s,o),Ds(),zt({}),ts("/")}catch(F){F.status==401?(t(3,h=F.response.mfaId),((z=(R=r==null?void 0:r.password)==null?void 0:R.identityFields)==null?void 0:z.length)==1&&r.password.identityFields[0]=="email"?(t(11,k=s),await O()):/^[^@\s]+@[^@\s]+$/.test(s)&&t(11,k=s)):F.status!=400?he.error(F):$i("Invalid login credentials.")}t(7,f=!1)}}async function O(){if(!c){t(8,c=!0);try{const R=await he.collection("_superusers").requestOTP(k);t(4,_=R.otpId),g=_,Ds(),zt({})}catch(R){R.status==429&&t(4,_=g),he.error(R)}t(8,c=!1)}}async function M(){if(!d){t(9,d=!0);try{await he.collection("_superusers").authWithOTP(_,S,{mfaId:h}),Ds(),zt({}),ts("/")}catch(R){he.error(R)}t(9,d=!1)}}const L=R=>{t(5,s=R.target.value)};function I(){o=this.value,t(6,o)}function A(){k=this.value,t(11,k)}function P(){S=this.value,t(12,S)}const N=()=>{t(4,_="")};return n.$$.update=()=>{var R,z;n.$$.dirty&31&&(t(2,u=1),t(1,a=1),(R=r==null?void 0:r.mfa)!=null&&R.enabled&&t(2,u++,u),(z=r==null?void 0:r.otp)!=null&&z.enabled&&t(2,u++,u),h!=""&&t(1,a++,a),_!=""&&t(1,a++,a))},[r,a,u,h,_,s,o,f,c,d,m,k,S,T,O,M,L,I,A,P,N]}class NF extends Se{constructor(e){super(),we(this,e,PF,AF,be,{})}}function Kt(n){if(!n)throw Error("Parameter args is required");if(!n.component==!n.asyncComponent)throw Error("One and only one of component and asyncComponent is required");if(n.component&&(n.asyncComponent=()=>Promise.resolve(n.component)),typeof n.asyncComponent!="function")throw Error("Parameter asyncComponent must be a function");if(n.conditions){Array.isArray(n.conditions)||(n.conditions=[n.conditions]);for(let t=0;t<n.conditions.length;t++)if(!n.conditions[t]||typeof n.conditions[t]!="function")throw Error("Invalid parameter conditions["+t+"]")}return n.loadingComponent&&(n.asyncComponent.loading=n.loadingComponent,n.asyncComponent.loadingParams=n.loadingParams||void 0),{component:n.asyncComponent,userData:n.userData,conditions:n.conditions&&n.conditions.length?n.conditions:void 0,props:n.props&&Object.keys(n.props).length?n.props:{},_sveltesparouter:!0}}const RF={"/pbinstal/:token":Kt({asyncComponent:()=>Tt(()=>import("./PageInstaller-D8GlaVLM.js"),[],import.meta.url),conditions:[n=>n.params.token&&!Fr(n.params.token)],userData:{showAppSidebar:!1}}),"/login":Kt({component:NF,conditions:[n=>!he.authStore.isValid],userData:{showAppSidebar:!1}}),"/request-password-reset":Kt({asyncComponent:()=>Tt(()=>import("./PageSuperuserRequestPasswordReset-BHBWKlnx.js"),[],import.meta.url),conditions:[n=>!he.authStore.isValid],userData:{showAppSidebar:!1}}),"/confirm-password-reset/:token":Kt({asyncComponent:()=>Tt(()=>import("./PageSuperuserConfirmPasswordReset-BUXxyBas.js"),[],import.meta.url),conditions:[n=>!he.authStore.isValid],userData:{showAppSidebar:!1}}),"/collections":Kt({component:yN,conditions:[n=>he.authStore.isValid],userData:{showAppSidebar:!0}}),"/logs":Kt({component:f5,conditions:[n=>he.authStore.isValid],userData:{showAppSidebar:!0}}),"/settings":Kt({component:v7,conditions:[n=>he.authStore.isValid],userData:{showAppSidebar:!0}}),"/settings/mail":Kt({component:rF,conditions:[n=>he.authStore.isValid],userData:{showAppSidebar:!0}}),"/settings/storage":Kt({component:bF,conditions:[n=>he.authStore.isValid],userData:{showAppSidebar:!0}}),"/settings/export-collections":Kt({component:yR,conditions:[n=>he.authStore.isValid],userData:{showAppSidebar:!0}}),"/settings/import-collections":Kt({component:zR,conditions:[n=>he.authStore.isValid],userData:{showAppSidebar:!0}}),"/settings/backups":Kt({component:pR,conditions:[n=>he.authStore.isValid],userData:{showAppSidebar:!0}}),"/users/confirm-password-reset/:token":Kt({asyncComponent:()=>Tt(()=>import("./PageRecordConfirmPasswordReset-BgK7OeNS.js"),[],import.meta.url),userData:{showAppSidebar:!1}}),"/auth/confirm-password-reset/:token":Kt({asyncComponent:()=>Tt(()=>import("./PageRecordConfirmPasswordReset-BgK7OeNS.js"),[],import.meta.url),userData:{showAppSidebar:!1}}),"/users/confirm-verification/:token":Kt({asyncComponent:()=>Tt(()=>import("./PageRecordConfirmVerification-0DoMfsaQ.js"),[],import.meta.url),userData:{showAppSidebar:!1}}),"/auth/confirm-verification/:token":Kt({asyncComponent:()=>Tt(()=>import("./PageRecordConfirmVerification-0DoMfsaQ.js"),[],import.meta.url),userData:{showAppSidebar:!1}}),"/users/confirm-email-change/:token":Kt({asyncComponent:()=>Tt(()=>import("./PageRecordConfirmEmailChange-CRN7SPCn.js"),[],import.meta.url),userData:{showAppSidebar:!1}}),"/auth/confirm-email-change/:token":Kt({asyncComponent:()=>Tt(()=>import("./PageRecordConfirmEmailChange-CRN7SPCn.js"),[],import.meta.url),userData:{showAppSidebar:!1}}),"/auth/oauth2-redirect-success":Kt({asyncComponent:()=>Tt(()=>import("./PageOAuth2RedirectSuccess-BWY7TQLu.js"),[],import.meta.url),userData:{showAppSidebar:!1}}),"/auth/oauth2-redirect-failure":Kt({asyncComponent:()=>Tt(()=>import("./PageOAuth2RedirectFailure-B2Kl5IoI.js"),[],import.meta.url),userData:{showAppSidebar:!1}}),"*":Kt({component:Yw,userData:{showAppSidebar:!1}})};function FF(n){let e;return{c(){e=b("link"),p(e,"rel","shortcut icon"),p(e,"type","image/png"),p(e,"href","./images/favicon/favicon_prod.png")},m(t,i){y(t,e,i)},d(t){t&&v(e)}}}function Db(n){let e,t,i,l,s,o,r,a,u,f,c,d,m=V.getInitials(n[0].email)+"",h,_,g,k,S,$,T;return g=new Hn({props:{class:"dropdown dropdown-nowrap dropdown-upside dropdown-left",$$slots:{default:[qF]},$$scope:{ctx:n}}}),{c(){e=b("aside"),t=b("a"),t.innerHTML='<img src="./images/logo.svg" alt="PocketBase logo" width="40" height="40"/>',i=C(),l=b("nav"),s=b("a"),s.innerHTML='<i class="ri-database-2-line"></i>',o=C(),r=b("a"),r.innerHTML='<i class="ri-line-chart-line"></i>',a=C(),u=b("a"),u.innerHTML='<i class="ri-tools-line"></i>',f=C(),c=b("div"),d=b("span"),h=B(m),_=C(),j(g.$$.fragment),p(t,"href","/"),p(t,"class","logo logo-sm"),p(s,"href","/collections"),p(s,"class","menu-item"),p(s,"aria-label","Collections"),p(r,"href","/logs"),p(r,"class","menu-item"),p(r,"aria-label","Logs"),p(u,"href","/settings"),p(u,"class","menu-item"),p(u,"aria-label","Settings"),p(l,"class","main-menu"),p(d,"class","initials"),p(c,"tabindex","0"),p(c,"role","button"),p(c,"aria-label","Logged superuser menu"),p(c,"class","thumb thumb-circle link-hint"),p(c,"title",k=n[0].email),p(e,"class","app-sidebar")},m(O,M){y(O,e,M),w(e,t),w(e,i),w(e,l),w(l,s),w(l,o),w(l,r),w(l,a),w(l,u),w(e,f),w(e,c),w(c,d),w(d,h),w(c,_),q(g,c,null),S=!0,$||(T=[Ee(Vn.call(null,t)),Ee(Vn.call(null,s)),Ee(Fi.call(null,s,{path:"/collections/?.*",className:"current-route"})),Ee(He.call(null,s,{text:"Collections",position:"right"})),Ee(Vn.call(null,r)),Ee(Fi.call(null,r,{path:"/logs/?.*",className:"current-route"})),Ee(He.call(null,r,{text:"Logs",position:"right"})),Ee(Vn.call(null,u)),Ee(Fi.call(null,u,{path:"/settings/?.*",className:"current-route"})),Ee(He.call(null,u,{text:"Settings",position:"right"}))],$=!0)},p(O,M){(!S||M&1)&&m!==(m=V.getInitials(O[0].email)+"")&&re(h,m);const L={};M&4097&&(L.$$scope={dirty:M,ctx:O}),g.$set(L),(!S||M&1&&k!==(k=O[0].email))&&p(c,"title",k)},i(O){S||(E(g.$$.fragment,O),S=!0)},o(O){D(g.$$.fragment,O),S=!1},d(O){O&&v(e),H(g),$=!1,Ie(T)}}}function qF(n){let e,t=n[0].email+"",i,l,s,o,r,a,u,f,c,d;return{c(){e=b("div"),i=B(t),s=C(),o=b("hr"),r=C(),a=b("a"),a.innerHTML='<i class="ri-shield-user-line" aria-hidden="true"></i> <span class="txt">Manage superusers</span>',u=C(),f=b("button"),f.innerHTML='<i class="ri-logout-circle-line" aria-hidden="true"></i> <span class="txt">Logout</span>',p(e,"class","txt-ellipsis current-superuser svelte-1ahgi3o"),p(e,"title",l=n[0].email),p(a,"href","/collections?collection=_superusers"),p(a,"class","dropdown-item closable"),p(a,"role","menuitem"),p(f,"type","button"),p(f,"class","dropdown-item closable"),p(f,"role","menuitem")},m(m,h){y(m,e,h),w(e,i),y(m,s,h),y(m,o,h),y(m,r,h),y(m,a,h),y(m,u,h),y(m,f,h),c||(d=[Ee(Vn.call(null,a)),W(f,"click",n[7])],c=!0)},p(m,h){h&1&&t!==(t=m[0].email+"")&&re(i,t),h&1&&l!==(l=m[0].email)&&p(e,"title",l)},d(m){m&&(v(e),v(s),v(o),v(r),v(a),v(u),v(f)),c=!1,Ie(d)}}}function Ib(n){let e,t,i;return t=new Tu({props:{conf:V.defaultEditorOptions()}}),t.$on("init",n[8]),{c(){e=b("div"),j(t.$$.fragment),p(e,"class","tinymce-preloader hidden")},m(l,s){y(l,e,s),q(t,e,null),i=!0},p:te,i(l){i||(E(t.$$.fragment,l),i=!0)},o(l){D(t.$$.fragment,l),i=!1},d(l){l&&v(e),H(t)}}}function HF(n){var S;let e,t,i,l,s,o,r,a,u,f,c,d,m,h;document.title=e=V.joinNonEmpty([n[4],n[3],"PocketBase"]," - ");let _=window.location.protocol=="https:"&&FF(),g=((S=n[0])==null?void 0:S.id)&&n[1]&&Db(n);r=new zw({props:{routes:RF}}),r.$on("routeLoading",n[5]),r.$on("conditionsFailed",n[6]),u=new hw({}),c=new ew({});let k=n[1]&&!n[2]&&Ib(n);return{c(){_&&_.c(),t=ye(),i=C(),l=b("div"),g&&g.c(),s=C(),o=b("div"),j(r.$$.fragment),a=C(),j(u.$$.fragment),f=C(),j(c.$$.fragment),d=C(),k&&k.c(),m=ye(),p(o,"class","app-body"),p(l,"class","app-layout")},m($,T){_&&_.m(document.head,null),w(document.head,t),y($,i,T),y($,l,T),g&&g.m(l,null),w(l,s),w(l,o),q(r,o,null),w(o,a),q(u,o,null),y($,f,T),q(c,$,T),y($,d,T),k&&k.m($,T),y($,m,T),h=!0},p($,[T]){var O;(!h||T&24)&&e!==(e=V.joinNonEmpty([$[4],$[3],"PocketBase"]," - "))&&(document.title=e),(O=$[0])!=null&&O.id&&$[1]?g?(g.p($,T),T&3&&E(g,1)):(g=Db($),g.c(),E(g,1),g.m(l,s)):g&&(ae(),D(g,1,1,()=>{g=null}),ue()),$[1]&&!$[2]?k?(k.p($,T),T&6&&E(k,1)):(k=Ib($),k.c(),E(k,1),k.m(m.parentNode,m)):k&&(ae(),D(k,1,1,()=>{k=null}),ue())},i($){h||(E(g),E(r.$$.fragment,$),E(u.$$.fragment,$),E(c.$$.fragment,$),E(k),h=!0)},o($){D(g),D(r.$$.fragment,$),D(u.$$.fragment,$),D(c.$$.fragment,$),D(k),h=!1},d($){$&&(v(i),v(l),v(f),v(d),v(m)),_&&_.d($),v(t),g&&g.d(),H(r),H(u),H(c,$),k&&k.d($)}}}function jF(n,e,t){let i,l,s,o;Qe(n,Ml,_=>t(10,i=_)),Qe(n,_r,_=>t(3,l=_)),Qe(n,Rr,_=>t(0,s=_)),Qe(n,an,_=>t(4,o=_));let r,a=!1,u=!1;function f(_){var g,k,S,$;((g=_==null?void 0:_.detail)==null?void 0:g.location)!==r&&(t(1,a=!!((S=(k=_==null?void 0:_.detail)==null?void 0:k.userData)!=null&&S.showAppSidebar)),r=($=_==null?void 0:_.detail)==null?void 0:$.location,Nn(an,o="",o),zt({}),J0())}function c(){ts("/")}async function d(){var _,g;if(s!=null&&s.id)try{const k=await he.settings.getAll({$cancelKey:"initialAppSettings"});Nn(_r,l=((_=k==null?void 0:k.meta)==null?void 0:_.appName)||"",l),Nn(Ml,i=!!((g=k==null?void 0:k.meta)!=null&&g.hideControls),i)}catch(k){k!=null&&k.isAbort||console.warn("Failed to load app settings.",k)}}function m(){he.logout()}const h=()=>{t(2,u=!0)};return n.$$.update=()=>{n.$$.dirty&1&&s!=null&&s.id&&d()},[s,a,u,l,o,f,c,m,h]}class zF extends Se{constructor(e){super(),we(this,e,jF,HF,be,{})}}new zF({target:document.getElementById("app")});export{jt as $,hr as A,Ee as B,Vn as C,ae as D,ue as E,wF as F,re as G,te as H,V as I,tn as J,ye as K,fo as L,Fr as M,Qe as N,Nn as O,Gt as P,an as Q,On as R,Se as S,kt as T,fP as U,Xu as V,ce as W,yt as X,di as Y,Ut as Z,dt as _,D as a,Ov as a0,$i as b,j as c,H as d,fe as e,b as f,Xl as g,C as h,we as i,p as j,ee as k,y as l,q as m,w as n,W as o,he as p,tt as q,ts as r,be as s,E as t,v as u,Ie as v,_n as w,ie as x,B as y,pe as z};
diff --git a/ui/dist/images/oauth2/wakatime.svg b/ui/dist/images/oauth2/wakatime.svg
new file mode 100644
index 00000000..6880ed8a
--- /dev/null
+++ b/ui/dist/images/oauth2/wakatime.svg
@@ -0,0 +1,4 @@
+<svg width="340" height="340" viewBox="0 0 340 340" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M170 20C87.156 20 20 87.156 20 170C20 252.844 87.156 320 170 320C252.844 320 320 252.844 320 170C320 87.156 252.844 20 170 20V20V20Z" stroke="black" stroke-width="40"/>
+<path d="M190.183 213.541C188.74 215.443 186.576 216.667 184.151 216.667C183.913 216.667 183.677 216.651 183.443 216.627C183.042 216.579 182.823 216.545 182.606 216.497C182.337 216.434 182.137 216.375 181.94 216.308C181.561 216.176 181.392 216.109 181.228 216.035C180.843 215.849 180.707 215.778 180.572 215.701C180.205 215.478 180.109 215.412 180.014 215.345C179.856 215.233 179.698 215.117 179.547 214.992C179.251 214.746 179.147 214.65 179.044 214.552C178.731 214.241 178.531 214.018 178.341 213.785C177.982 213.331 177.69 212.888 177.438 212.415L168.6 198.214L159.766 212.415C158.38 214.939 155.874 216.667 152.995 216.667C150.106 216.667 147.588 214.926 146.243 212.346L107.607 156.061C106.337 154.529 105.556 152.499 105.556 150.258C105.556 145.514 109.043 141.665 113.344 141.665C116.127 141.665 118.564 143.282 119.942 145.708L152.555 193.9L161.735 178.952C163.058 176.288 165.626 174.478 168.575 174.478C171.273 174.478 173.652 175.996 175.049 178.298L184.517 193.839L235.684 120.583C237.075 118.226 239.475 116.667 242.213 116.667C246.514 116.667 250 120.514 250 125.258C250 127.332 249.337 129.232 248.23 130.715L190.183 213.541Z" fill="black" stroke="black" stroke-width="10"/>
+</svg>
diff --git a/ui/dist/index.html b/ui/dist/index.html
index 66d72e29..9ffc0b56 100644
--- a/ui/dist/index.html
+++ b/ui/dist/index.html
@@ -41,7 +41,7 @@
         window.Prism = window.Prism || {};
         window.Prism.manual = true;
     </script>
-  <script type="module" crossorigin src="./assets/index-DF0EYp3m.js"></script>
+  <script type="module" crossorigin src="./assets/index-zTV3nJbA.js"></script>
   <link rel="stylesheet" crossorigin href="./assets/index-DzNvszjJ.css">
 </head>
 <body>
diff --git a/ui/public/images/oauth2/wakatime.svg b/ui/public/images/oauth2/wakatime.svg
new file mode 100644
index 00000000..6880ed8a
--- /dev/null
+++ b/ui/public/images/oauth2/wakatime.svg
@@ -0,0 +1,4 @@
+<svg width="340" height="340" viewBox="0 0 340 340" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M170 20C87.156 20 20 87.156 20 170C20 252.844 87.156 320 170 320C252.844 320 320 252.844 320 170C320 87.156 252.844 20 170 20V20V20Z" stroke="black" stroke-width="40"/>
+<path d="M190.183 213.541C188.74 215.443 186.576 216.667 184.151 216.667C183.913 216.667 183.677 216.651 183.443 216.627C183.042 216.579 182.823 216.545 182.606 216.497C182.337 216.434 182.137 216.375 181.94 216.308C181.561 216.176 181.392 216.109 181.228 216.035C180.843 215.849 180.707 215.778 180.572 215.701C180.205 215.478 180.109 215.412 180.014 215.345C179.856 215.233 179.698 215.117 179.547 214.992C179.251 214.746 179.147 214.65 179.044 214.552C178.731 214.241 178.531 214.018 178.341 213.785C177.982 213.331 177.69 212.888 177.438 212.415L168.6 198.214L159.766 212.415C158.38 214.939 155.874 216.667 152.995 216.667C150.106 216.667 147.588 214.926 146.243 212.346L107.607 156.061C106.337 154.529 105.556 152.499 105.556 150.258C105.556 145.514 109.043 141.665 113.344 141.665C116.127 141.665 118.564 143.282 119.942 145.708L152.555 193.9L161.735 178.952C163.058 176.288 165.626 174.478 168.575 174.478C171.273 174.478 173.652 175.996 175.049 178.298L184.517 193.839L235.684 120.583C237.075 118.226 239.475 116.667 242.213 116.667C246.514 116.667 250 120.514 250 125.258C250 127.332 249.337 129.232 248.23 130.715L190.183 213.541Z" fill="black" stroke="black" stroke-width="10"/>
+</svg>
diff --git a/ui/src/providers.js b/ui/src/providers.js
index 6ba72b24..e6f329ff 100644
--- a/ui/src/providers.js
+++ b/ui/src/providers.js
@@ -128,6 +128,11 @@ export default [
         title: "Strava",
         logo: "strava.svg",
     },
+    {
+        key: "wakatime",
+        title: "WakaTime",
+        logo: "wakatime.svg",
+    },
     {
         key: "livechat",
         title: "LiveChat",